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?
Moved to Developer Center.
Hi,
You are using oordinary windows forms in the Compact Framework environment of the FlexPendant.
Have you gone through the Application Manual on how to launch FlexPendant views?
http://developercenter.robotstudio.com/FPSDKAppManual/doc45.html
http://developercenter.robotstudio.com/FPSDKAppManual/doc33.html
There is also a step by step walkthrough.
http://developercenter.robotstudio.com/FPSDK/html/70bcd766-ef7c-430c-b423-c79b36087220.htm
If you liked/disliked those topics you can always use the Feedback function in the DevCenter
http://developercenter.robotstudio.com/Home.aspx