private void button5_Click(object sender, EventArgs e) { using (FormColdChainFeatures form = new FormColdChainFeatures()) { form.tabControl1.SelectedIndex = 4; form.ShowDialog(); } }
private void button1_Click_1(object sender, EventArgs e) { if (Program.appSetting.tagGroup.selected != CSLibrary.Constants.Selected.ALL) { MessageBox.Show("Warning : MASK IS SET !!!"); } this.Hide(); using (FormColdChainFeatures Form = new FormColdChainFeatures()) { Form.ShowDialog(); } this.Show(); }