private void button2_Click_1(object sender, EventArgs e) { if (Program.appSetting.tagGroup.selected != CSLibrary.Constants.Selected.ALL) { MessageBox.Show("Warning : MASK IS SET !!!"); } using (FormCoolLog coollog = new FormCoolLog()) { coollog.ShowDialog(); } }
private void button1_Click(object sender, EventArgs e) { this.Hide(); #if false using (FormCoolLog coollog = new FormCoolLog()) { coollog.ShowDialog(); } #else using (CoolLogForm CoolLog = new CoolLogForm()) { CoolLog.TargetEPC = TargetEPC; CoolLog.ShowDialog(); } #endif UpdatePower(); this.Show(); }