[Mono-winforms-list] Blank windows

Natalia Portillo claunia at claunia.com
Sun Dec 13 12:27:21 EST 2009


Ok, I solved this.

The problem was the following:

        private void startNatiBot()
        {
            frmMain main = new frmMain();
            main.Show();
            this.Dispose();
        }

However in .NET Framework that does not happen so it may be a bug in garbage
collection?

Changed the form containing that lines to a showdialog() and that three
lines now are:

Program.Authenticated(true);
this.Close();

Program.Authenticated is the one now showing the main form.
-- 
View this message in context: http://old.nabble.com/Blank-windows-tp26762208p26767952.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list