Click here to Skip to main content
15,914,419 members
Home / Discussions / C#
   

C#

 
AnswerRe: Passing Structure Array to VB.NET from C# Class Pin
MidwestLimey12-Jun-07 9:50
professionalMidwestLimey12-Jun-07 9:50 
QuestionWindow doesn't stay hidden Pin
theFrenchHornet12-Jun-07 6:28
theFrenchHornet12-Jun-07 6:28 
AnswerRe: Window doesn't stay hidden Pin
Luc Pattyn12-Jun-07 6:48
sitebuilderLuc Pattyn12-Jun-07 6:48 
GeneralRe: Window doesn't stay hidden Pin
theFrenchHornet12-Jun-07 8:05
theFrenchHornet12-Jun-07 8:05 
GeneralRe: Window doesn't stay hidden Pin
Luc Pattyn12-Jun-07 8:33
sitebuilderLuc Pattyn12-Jun-07 8:33 
GeneralRe: Window doesn't stay hidden Pin
theFrenchHornet14-Jun-07 3:43
theFrenchHornet14-Jun-07 3:43 
AnswerRe: Window doesn't stay hidden Pin
Shy Agam12-Jun-07 9:11
Shy Agam12-Jun-07 9:11 
AnswerRe: Window doesn't stay hidden Pin
Guffa12-Jun-07 9:13
Guffa12-Jun-07 9:13 
Here's a theory:

If someone clicks twice in FormA fast enough for the second click to be queued before the form is hidden, it would open two instances of FormC. When closing one of the instances, FormA would be shown.

You can prevent multiple instances of FormC to be opened:

private void UserSelection_Click() {
   if (!m_ClassB.FormCIsOpen) {
      m_ClassB.method1();
      if (m_ClassB.FormCIsOpen) {
         Hide();
      }
   }
}


---
single minded; short sighted; long gone;

GeneralRe: Window doesn't stay hidden Pin
theFrenchHornet14-Jun-07 3:25
theFrenchHornet14-Jun-07 3:25 
GeneralRe: Window doesn't stay hidden Pin
theFrenchHornet1-Jul-07 7:29
theFrenchHornet1-Jul-07 7:29 
QuestionCaching data Pin
AndrusM12-Jun-07 5:51
AndrusM12-Jun-07 5:51 
AnswerRe: Caching data Pin
Colin Angus Mackay12-Jun-07 5:59
Colin Angus Mackay12-Jun-07 5:59 
GeneralRe: Caching data Pin
AndrusM12-Jun-07 6:41
AndrusM12-Jun-07 6:41 
QuestionHow to change the (DevExpress .NET v7.1) checkedit's ForeColor? Pin
sichensoft12-Jun-07 5:13
sichensoft12-Jun-07 5:13 
AnswerRe: How to change the (DevExpress .NET v7.1) checkedit's ForeColor? Pin
Colin Angus Mackay12-Jun-07 5:17
Colin Angus Mackay12-Jun-07 5:17 
Questionhow to cast string with characters to int Pin
Bahaa Hany12-Jun-07 4:22
Bahaa Hany12-Jun-07 4:22 
AnswerRe: how to cast string with characters to int Pin
Luc Pattyn12-Jun-07 4:25
sitebuilderLuc Pattyn12-Jun-07 4:25 
GeneralRe: how to cast string with characters to int Pin
Bahaa Hany12-Jun-07 4:36
Bahaa Hany12-Jun-07 4:36 
GeneralRe: how to cast string with characters to int Pin
Luc Pattyn12-Jun-07 4:59
sitebuilderLuc Pattyn12-Jun-07 4:59 
GeneralRe: how to cast string with characters to int Pin
Guffa14-Jun-07 11:27
Guffa14-Jun-07 11:27 
GeneralRe: how to cast string with characters to int Pin
Luc Pattyn14-Jun-07 12:07
sitebuilderLuc Pattyn14-Jun-07 12:07 
QuestionC# Member initialization question Pin
jayart12-Jun-07 4:12
jayart12-Jun-07 4:12 
AnswerRe: C# Member initialization question Pin
Luc Pattyn12-Jun-07 4:23
sitebuilderLuc Pattyn12-Jun-07 4:23 
GeneralRe: C# Member initialization question Pin
jayart12-Jun-07 4:43
jayart12-Jun-07 4:43 
GeneralRe: C# Member initialization question Pin
Luc Pattyn12-Jun-07 5:09
sitebuilderLuc Pattyn12-Jun-07 5:09 

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.