Ejemplo n.º 1
0
 private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (tabControl1.SelectedTab.Text == "Super User")//your specific tabname
     {
         tabControl1.SelectedTab = prevtab;
         FormSuperUser lg = new FormSuperUser();
         lg.serverIP = this.serverIP;
         lg.login    = this.login;
         lg.ShowDialog();
     }
 }
Ejemplo n.º 2
0
 public FormMission(FormSuperUser callingForm)
 {
     mainForm = callingForm as FormSuperUser;
     InitializeComponent();
 }
Ejemplo n.º 3
0
 public MissionDetail(Form callingForm, Mission pt)
 {
     mainForm    = callingForm as FormSuperUser;
     passthrough = pt;
     InitializeComponent();
 }