Not c oming in line properly aligning text in textbox with s tring.format,how can we achieve three text with different char length in orde

  • Thread starter Thread starter vivek_kumar9
  • Start date Start date
V

vivek_kumar9

Guest
int initialtime = -10;

for (int i = 0; i < 422; i = i + 2)
{
// sb.AppendLine();
sb.AppendLine(
(initialtime.ToString() + " ms")
+
((Convert.ToInt32(ByteValues.ToString() + ByteValues[i + 1].ToString(), 16).ToString() + " g "))

+ " Acceleration Lateral, Central");
initialtime = initialtime + 1;
}

rchTextBox.Text = sb.ToString();

Continue reading...
 
Back
Top