open new Screen

radimradim Czech republic
Hi,
 

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

Comments

Sign In or Register to comment.