I have no idea why i get bombarded with Inferior Small irritating bugs....
uh... Please help this poor, Form struggling guy.
To simplify, i have 2 forms. FormA and FormB. At startup, FormA is displayed now i would like to go to FormB. I use this and it works.
FormB frmQseScorecard = new FormB();
this.Visible = false;
frmQseScorecard.ShowDialog();
this.Dispose();
Now from FormB i want to go back to FormA thus i use the same method
FormA frmQseScorecard = new FormA();
this.Visible = false;
frmQseScorecard.ShowDialog();
this.Dispose();
Now from FormA i want to exit. But when i click the close button "the X on the top right" It closes FormA, but opens It again. Then after another click of the close button in only closes. (Depending on how many times i jump from formA to FormB before closing is the amount of times i must click close to close it...)
No idea how to fix this bug, for i have created a simple program to test this, and it works fine. But in my project it does not want to work..
I attached a prototype so you can see what it does, and that im not starting to lose my mind... Coz i cant see anything wrong with the code..
Thanks for any help on this strange Bug
Ruan