I don't think so.
It's my code:
// Trace string
public static string FormatWithStringFormat( DateTime time )
{
TimeSpan ts = time - LastTraceTime;
LastTraceTime = time;
return String.Format(\"{0:D2}:{1:D2}:{2:D2}.{3:D3} {4:D2}:{5:D2}:{6:D2}.{7:D3} \",
time.Hour, time.Minute, time.Second, time.Millisecond,
ts.Hours, ts.Minutes, ts.Seconds, ts.Milliseconds );
}
// Test code
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) + \" begin \" );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) );
fg = new FlyGrid();
Trace.Write(\"Flygrid \" + FormatWithStringFormat(DateTime.Now) + \" end \" );
Times form debuger
Flygrid 08:32:32.651 00:00:00.440
Flygrid 08:32:32.861 00:00:00.210
Flygrid 08:32:33.031 00:00:00.170
Flygrid 08:32:33.182 00:00:00.150
Flygrid 08:32:33.292 00:00:00.110
Flygrid 08:32:33.402 00:00:00.110
Flygrid 08:32:33.612 00:00:00.210
Flygrid 08:32:33.762 00:00:00.150
Flygrid 08:32:34.193 00:00:00.430
Flygrid 08:32:34.503 00:00:00.310
Flygrid 08:32:34.503 00:00:00.310
Flygrid 08:32:34.734 00:00:00.230
Flygrid 08:32:34.864 00:00:00.130
Flygrid 08:32:35.004 00:00:00.140
Flygrid 08:32:35.184 00:00:00.180
Flygrid 08:32:35.365 00:00:00.180
I think times excess 0,5 s are too big.
If you put any command getween FlyGrid constructors time are growing.
Can you check this?
Robert