Re: Blank windows

Natalia Portillo <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
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.

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.