I just want to make sure that at a minimum my digits are displaying with 2. So 1 should display as 01.
I need this for time display XX:XX.XX
Formats I have tried but all of them seem to throw an error "D2", "D5", "00" (Custom )
display_T35.SimpleGraphics.DisplayText(
String.Concat(timeParts.Minutes.ToString(),
":",
timeParts.Seconds.ToString(),
".",
timeParts.Milliseconds.ToString()),
font,
color,
TimerCoordinates.X,
TimerCoordinates.Y
);
Minutes, Seconds and Milliseconds are uint.
I just get a Exception for any of them:
An unhandled exception of type 'System.ArgumentException' occured in mscorlib
I am not sure if the format string is supported but it is showing it to me through intellisense.
Thoughts?
Thanks