private void btnManageReceipt_Click(Object sender, EventArgs e) { if (GlobalClass.WindowStatusManageReceipt == true) { } else { frmManageReceipt fmManageReceipt = new frmManageReceipt(); fmManageReceipt.Show(this); fmManageReceipt.Location = new Point(50, 50); GlobalClass.WindowStatusManageReceipt = true; } }
private void btnManageReceipt_Click_1(object sender, EventArgs e) { if (GlobalClass.WindowStatusManageReceipt == true) { } else { frmManageReceipt fmManageReceipt = new frmManageReceipt(); fmManageReceipt.Show(this); GlobalClass.WindowStatusManageReceipt = true; } }