Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do i learn c# programming fast Pin
Christian Graus3-Jun-09 10:31
protectorChristian Graus3-Jun-09 10:31 
AnswerRe: How do i learn c# programming fast Pin
Guffa3-Jun-09 18:58
Guffa3-Jun-09 18:58 
QuestionNeed help with this Excel sheet issue - sheet listed that is not in the Excel file. [modified] Pin
DeepToot3-Jun-09 6:31
DeepToot3-Jun-09 6:31 
AnswerRe: Need help with this Excel sheet issue - sheet listed that is not in the Excel file. Pin
Mycroft Holmes3-Jun-09 14:27
professionalMycroft Holmes3-Jun-09 14:27 
QuestionClasses, events and best practices Pin
Raybarg3-Jun-09 5:54
professionalRaybarg3-Jun-09 5:54 
AnswerRe: Classes, events and best practices Pin
S. Senthil Kumar3-Jun-09 10:41
S. Senthil Kumar3-Jun-09 10:41 
GeneralRe: Classes, events and best practices [modified] Pin
Raybarg3-Jun-09 20:28
professionalRaybarg3-Jun-09 20:28 
GeneralRe: Classes, events and best practices Pin
S. Senthil Kumar3-Jun-09 23:29
S. Senthil Kumar3-Jun-09 23:29 
Raybarg wrote:
So you mean my LoginInvalidated method will be running in different thread than my System.Windows.Form objec


Yes.

Raybarg wrote:
Guess if I keep my MDI parent form as the host and run System.Windows.Forms.Timer to tell me about the expiration, I will be running the timer in same message pump and am safe to touch UI elements in the MDI parent and its MDI childs as theyre shown using .Show method?


Yes.


Raybarg wrote:
And, uh, how would you store multiple forms in an array?


Form []forms = new Form[2];
forms[0] = FirstForm;
forms[1] = SecondForm;
...


or if the number of forms is not fixed, you could use a List <Form> instead.

Raybarg wrote:
I could use static class for running the timer and just read its properties to find out the status of login? It would be less fancy though

I'd rather do it the way you're doing right now - firing a TimerExpired event.

Regards
Senthil [MVP - Visual C#]
_____________________________
My Home Page |My Blog | My Articles | My Flickr | WinMacro

Questionmysql connector Pin
benjamin yap3-Jun-09 4:59
benjamin yap3-Jun-09 4:59 
AnswerRe: mysql connector Pin
Ennis Ray Lynch, Jr.3-Jun-09 5:03
Ennis Ray Lynch, Jr.3-Jun-09 5:03 
GeneralRe: mysql connector Pin
benjamin yap3-Jun-09 5:13
benjamin yap3-Jun-09 5:13 
GeneralRe: mysql connector Pin
Ennis Ray Lynch, Jr.3-Jun-09 5:14
Ennis Ray Lynch, Jr.3-Jun-09 5:14 
GeneralRe: mysql connector Pin
benjamin yap3-Jun-09 5:21
benjamin yap3-Jun-09 5:21 
AnswerRe: mysql connector Pin
Christian Graus3-Jun-09 10:32
protectorChristian Graus3-Jun-09 10:32 
QuestionArguments! C# Pin
Baeltazor3-Jun-09 3:51
Baeltazor3-Jun-09 3:51 
AnswerRe: Arguments! C# Pin
Pete O'Hanlon3-Jun-09 3:59
mvePete O'Hanlon3-Jun-09 3:59 
GeneralRe: Arguments! C# Pin
Baeltazor3-Jun-09 4:04
Baeltazor3-Jun-09 4:04 
GeneralRe: Arguments! C# Pin
Nagy Vilmos3-Jun-09 4:12
professionalNagy Vilmos3-Jun-09 4:12 
GeneralRe: Arguments! C# Pin
Pete O'Hanlon3-Jun-09 4:28
mvePete O'Hanlon3-Jun-09 4:28 
GeneralRe: Arguments! C# Pin
Nagy Vilmos3-Jun-09 4:37
professionalNagy Vilmos3-Jun-09 4:37 
GeneralRe: Arguments! C# Pin
Luc Pattyn3-Jun-09 6:09
sitebuilderLuc Pattyn3-Jun-09 6:09 
GeneralRe: Arguments! C# Pin
0x3c03-Jun-09 4:18
0x3c03-Jun-09 4:18 
AnswerRe: Arguments! C# [modified] Pin
Luc Pattyn3-Jun-09 4:06
sitebuilderLuc Pattyn3-Jun-09 4:06 
GeneralRe: Arguments! C# Pin
Nagy Vilmos3-Jun-09 4:14
professionalNagy Vilmos3-Jun-09 4:14 
GeneralRe: Arguments! C# Pin
Luc Pattyn3-Jun-09 4:16
sitebuilderLuc Pattyn3-Jun-09 4:16 

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.