Esempio n. 1
0
        private void btnTool_Click(object sender, EventArgs e)
        {
            frmTool frm = new frmTool(btnTool);

            System.Windows.Forms.Form f1 = System.Windows.Forms.Application.OpenForms["frmTool"];
            if (f1 == null)
            {
                frm.AfterJoinTable = new AfterJoinTable(this.CheckStatusTable);
                frm.Show();
            }
            else
            {
                f1.Close();
            }
        }
Esempio n. 2
0
        private void btnTool_Click(object sender, EventArgs e)
        {
            frmTool frm = new frmTool(btnTool);
            System.Windows.Forms.Form f1 = System.Windows.Forms.Application.OpenForms["frmTool"];
            if (f1 == null)
            {
                frm.AfterJoinTable = new AfterJoinTable(this.CheckStatusTable);
                frm.Show();

            }
            else
                f1.Close();
        }