Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
GeneralRe: int.Parse() and Converter.toInt() Pin
Seraph_summer9-Jun-09 0:02
Seraph_summer9-Jun-09 0:02 
AnswerRe: int.Parse() and Converter.toInt() Pin
Christian Graus8-Jun-09 23:55
protectorChristian Graus8-Jun-09 23:55 
AnswerRe: int.Parse() and Converter.toInt() Pin
saanj9-Jun-09 0:01
saanj9-Jun-09 0:01 
GeneralRe: int.Parse() and Converter.toInt() Pin
Seraph_summer9-Jun-09 0:03
Seraph_summer9-Jun-09 0:03 
GeneralRe: int.Parse() and Converter.toInt() Pin
saanj9-Jun-09 0:11
saanj9-Jun-09 0:11 
QuestionTimer in C# Pin
Håkan Axheim8-Jun-09 23:11
Håkan Axheim8-Jun-09 23:11 
AnswerRe: Timer in C# Pin
Christian Graus8-Jun-09 23:26
protectorChristian Graus8-Jun-09 23:26 
AnswerRe: Timer in C# Pin
Mirko19808-Jun-09 23:29
Mirko19808-Jun-09 23:29 
Look at the System.Threading.Timer class.
You can specify an interval before the first execution and an interval between subsequent execution.

Keep in mind that the Timer class uses TimeSpans and not DateTimes. If you want to use specific times, you can do something like that:

DateTime startDate = DateTime.Today;
startDate.Hour = startHour;
startDate.Minute = startMinute;

TimeSpan interval = new TimeSpan(intervalHour, intervalMinute, 0);

Timer timer = new Timer(MyTimerCallback, null, startDate - DateTime.Now, interval);

QuestionMultiple bitmaps into one final image. Pin
E3pO8-Jun-09 23:01
E3pO8-Jun-09 23:01 
GeneralRe: Multiple bitmaps into one final image. Pin
harold aptroot8-Jun-09 23:09
harold aptroot8-Jun-09 23:09 
GeneralRe: Multiple bitmaps into one final image. Pin
E3pO8-Jun-09 23:15
E3pO8-Jun-09 23:15 
AnswerRe: Multiple bitmaps into one final image. Pin
Christian Graus8-Jun-09 23:25
protectorChristian Graus8-Jun-09 23:25 
QuestionTarget machine Pin
arkiboys8-Jun-09 22:24
arkiboys8-Jun-09 22:24 
QuestionSuggest me Datagrid view event Pin
deepseeindeepsy8-Jun-09 21:39
deepseeindeepsy8-Jun-09 21:39 
AnswerRe: Suggest me Datagrid view event Pin
Mycroft Holmes8-Jun-09 21:56
professionalMycroft Holmes8-Jun-09 21:56 
GeneralRe: Suggest me Datagrid view event Pin
deepseeindeepsy8-Jun-09 22:01
deepseeindeepsy8-Jun-09 22:01 
GeneralRe: Suggest me Datagrid view event Pin
Mycroft Holmes8-Jun-09 22:10
professionalMycroft Holmes8-Jun-09 22:10 
GeneralRe: Suggest me Datagrid view event Pin
Nagy Vilmos8-Jun-09 22:11
professionalNagy Vilmos8-Jun-09 22:11 
GeneralRe: Suggest me Datagrid view event Pin
Mycroft Holmes8-Jun-09 22:14
professionalMycroft Holmes8-Jun-09 22:14 
GeneralRe: Suggest me Datagrid view event Pin
Luc Pattyn9-Jun-09 1:41
sitebuilderLuc Pattyn9-Jun-09 1:41 
GeneralRe: Suggest me Datagrid view event Pin
deepseeindeepsy8-Jun-09 22:17
deepseeindeepsy8-Jun-09 22:17 
GeneralRe: Suggest me Datagrid view event Pin
Nagy Vilmos8-Jun-09 22:11
professionalNagy Vilmos8-Jun-09 22:11 
Questionremoting and client devices that switch network cards on the fly Pin
Martijn van Kleef8-Jun-09 21:24
Martijn van Kleef8-Jun-09 21:24 
QuestionCall OnPaint from other form Pin
Ankata8-Jun-09 21:05
Ankata8-Jun-09 21:05 
AnswerRe: Call OnPaint from other form Pin
Nagy Vilmos8-Jun-09 21:36
professionalNagy Vilmos8-Jun-09 21:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.