Beispiel #1
0
        private void addDeviceButton1_Click(object sender, EventArgs e)
        {
            addDeviceForm addDeviceObj = new addDeviceForm();

            addDeviceObj.Show();
            this.Hide();
        }
Beispiel #2
0
 private void addDeviceButton1_Click(object sender, EventArgs e)
 {
     if (lgf.Eid != " ")
     {
         addDeviceForm addDeviceObj = new addDeviceForm();
         addDeviceObj.TopLevel = false;
         formPanel.Controls.Clear();
         formPanel.Controls.Add(addDeviceObj);
         addDeviceObj.Show();
     }
 }