![]() ![]() Only by then the Hours value experience a change if (Mins = ' 0') To reduce lines of execution // Control enters the below IF block only if the absolute Minutes value is 0. Only by then the 1st Digit of the Minutes value experience a change if (Mins = ' 0') To reduce lines of execution // Control enters the below IF block only // if the 2nd Digit of the Minutes value reaches 0. Only by then the Minutes value experience a change if (Secs = ' 0') To reduce lines of execution // Control enters the below IF block only if the absolute Seconds value is 0. Only by then the 1st Digit of the Seconds value experience a change if (Secs = ' 0') ![]() To reduce lines of execution // Control enters the below IF block only if the 2nd Digit of the Seconds value reaches 0. ( new TimeSpan( 0, 0, 0, 1), DispatcherPriority.Normal, delegate if the Minutes value is less than 9, initiating first Seconds digit to '0'ĭispatcher_Timer - Like initiate methods, this method also sends the values to the PassControls() method every second.ĭispatcherTimer Sys_timer = new DispatcherTimer if the Minutes value is less than 9, initiating first Minutes digit to '0' if the Minutes value is less than 9, initiating first Hours digit to '0' Hours = ( int.Parse(Hours) - 12).ToString() Converting time from 24 hours format to 12 hours format if ( int.Parse(Hours) > 12) Set_StartUP_Location - Contains the code to specify the startup location of the application ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |