open new Screen
radim
✭
Hi,
private void btRollDoors_Click(object sender, EventArgs e)
{
TpsRollDoors windowTpsRollDoors = new TpsRollDoors();
windowTpsRollDoors.Show();
}
I created 4 screens for Flexpendant in Visual Studio 2008. I created button. I want to open by buton new window. I download the files to Home directory and tested. But it did not open new window. I close the main window but did not open new window. Could you write me program code C#. How to open new window from Event method for button.
Here is my program code for Event method:
private void btRollDoors_Click(object sender, EventArgs e)
{
TpsRollDoors windowTpsRollDoors = new TpsRollDoors();
windowTpsRollDoors.Show();
}
Thank you for answer.
Radim
0
Comments
-
Hi,You have to use the method ShowMe. Examples are available in the RAB Help ..BRCarlos Martinez
ABB0 -
Hi,i've installed visualstudio 2008 and sdk 6.08.I've tried to open a new view called "TpsControl1", but I do not have a "showme" method.Does anyone know why?Tnx
0 -
Ok, the empty view isn't a form, so it's normal that "showme" method doesn't exist.But for empty view.. how can I change page? the show method doesn't work.0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings