RobotStudio event

FlexPendant Application

Hi mates,

I building an application in Visual C# to control a real system and I'm having some troubles...

I have the first form (view.cs) and when I click on button1 I wanna go to a form name form1 (form1.cs).

My code is:

button1.Click ... {
Form1 form1 = new Form1();
form1.Enabled = true;
form1.Visible = true;
this.Visible = false;
}

The problem: Form1 has labels, buttons, etc... but nothing appears. I just see a blank screen when I click on button1.

What am I doing wrong?
--
Tiago Gaspar

Comments