[Mono-list] Forms

Rolf Bjarne Kvinge rolflists at ya.com
Tue Oct 30 04:47:48 EDT 2007



>From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of
kubota2550 at gmail.com
>Sent: martes, 30 de octubre de 2007 1:24
>To: mono-list at lists.ximian.com
>Subject: [Mono-list] Forms
>
>This is not a Mono specific question but rather a forms question.  I have
done some VB.net programming and know how to open and hide forms using
>
>form2.open ()
>me.hide()
>
>How is this done in C++.net 

I have no idea

> and in C#.net? 
>

form2 form = new form2 ();
form.Show ();
this.Hide ();

(which is the equivalent of the following VB code, since C# doesn't have
default instances, required for doing "form2.open ()")

Dim form As New form2
form.Show ()
Me.Hide ()


Rolf

>I know to hide in c++.net is This-- >Hide but don't know how to open
another form (Form2).
>
>Can someone show me the code to hide and open forms in c++ and c#



More information about the Mono-list mailing list