Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: Update/refresh Combobox in Form1 after doing an add from Form 2 Pin
Richard A Knox4-Dec-21 6:08
Richard A Knox4-Dec-21 6:08 
GeneralRe: Update/refresh Combobox in Form1 after doing an add from Form 2 Pin
Gerry Schmitz5-Dec-21 8:04
mveGerry Schmitz5-Dec-21 8:04 
QuestionReading username Pin
Luis M. Rojas1-Dec-21 4:45
Luis M. Rojas1-Dec-21 4:45 
AnswerRe: Reading username Pin
lmoelleb3-Dec-21 18:36
lmoelleb3-Dec-21 18:36 
QuestionHow can I make the timer stay active after the program is closed? Pin
Duke Jason30-Nov-21 19:34
Duke Jason30-Nov-21 19:34 
AnswerRe: How can I make the timer stay active after the program is closed? Pin
OriginalGriff30-Nov-21 20:09
mveOriginalGriff30-Nov-21 20:09 
AnswerRe: How can I make the timer stay active after the program is closed? Pin
Pete O'Hanlon30-Nov-21 21:24
mvePete O'Hanlon30-Nov-21 21:24 
AnswerRe: How can I make the timer stay active after the program is closed? Pin
Dave Kreskowiak1-Dec-21 1:20
mveDave Kreskowiak1-Dec-21 1:20 
If you're using one of the Timer classes in .NET, you have a serious misunderstanding of how timers work and a serious design flaw in your program.

Any of the Timers you use in the .NET Framework are objects in your code. When your application quits, it's no longer in memory and all of the objects you allocated are destroyed, including the Timer. It doesn't "reset to 0". It's destroyed entirely!

AnswerRe: How can I make the timer stay active after the program is closed? Pin
Gerry Schmitz1-Dec-21 18:09
mveGerry Schmitz1-Dec-21 18:09 
QuestionCode cast InvalidCastException when it "Shouldn't" Pin
Evilfish200029-Nov-21 19:28
Evilfish200029-Nov-21 19:28 
AnswerRe: Code cast InvalidCastException when it "Shouldn't" Pin
OriginalGriff29-Nov-21 21:24
mveOriginalGriff29-Nov-21 21:24 
GeneralRe: Code cast InvalidCastException when it "Shouldn't" Pin
Evilfish200030-Nov-21 2:24
Evilfish200030-Nov-21 2:24 
GeneralRe: Code cast InvalidCastException when it "Shouldn't" Pin
OriginalGriff30-Nov-21 2:50
mveOriginalGriff30-Nov-21 2:50 
GeneralRe: Code cast InvalidCastException when it "Shouldn't" Pin
Evilfish200030-Nov-21 22:05
Evilfish200030-Nov-21 22:05 
GeneralRe: Code cast InvalidCastException when it "Shouldn't" Pin
OriginalGriff30-Nov-21 22:19
mveOriginalGriff30-Nov-21 22:19 
GeneralRe: Code cast InvalidCastException when it "Shouldn't" Pin
Eddy Vluggen30-Nov-21 8:02
professionalEddy Vluggen30-Nov-21 8:02 
AnswerRe: Code cast InvalidCastException when it "Shouldn't" Pin
#realJSOP29-Nov-21 23:25
mve#realJSOP29-Nov-21 23:25 
Questionwhile run the code got no such element found exception seleniumc# Pin
Member 1407570327-Nov-21 20:01
Member 1407570327-Nov-21 20:01 
AnswerRe: while run the code got no such element found exception seleniumc# Pin
OriginalGriff27-Nov-21 20:17
mveOriginalGriff27-Nov-21 20:17 
QuestionList-box item of PropertyGrid in C# could showing only once Pin
wuxianzhong26-Nov-21 2:40
wuxianzhong26-Nov-21 2:40 
AnswerRe: List-box item of PropertyGrid in C# could showing only once Pin
OriginalGriff26-Nov-21 5:01
mveOriginalGriff26-Nov-21 5:01 
QuestionRe: List-box item of PropertyGrid in C# could showing only once Pin
Eddy Vluggen30-Nov-21 7:59
professionalEddy Vluggen30-Nov-21 7:59 
QuestionI want to make 2 Process Synchronization in C# with Mutex Pin
Bharat Bodage24-Nov-21 20:17
Bharat Bodage24-Nov-21 20:17 
AnswerRe: I want to make 2 Process Synchronization in C# with Mutex Pin
OriginalGriff24-Nov-21 21:04
mveOriginalGriff24-Nov-21 21:04 
AnswerRe: I want to make 2 Process Synchronization in C# with Mutex Pin
Richard Deeming24-Nov-21 21:31
mveRichard Deeming24-Nov-21 21:31 

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.