private void buttonItem19_Click(object sender, EventArgs e) { frmUser inv = new frmUser(); if (!MngFormOps.check_open_forms(inv.Name)) { inv.MdiParent = this; inv.Show(); } }
private void buttonItem18_Click(object sender, EventArgs e) { frmReportDailyWithImages inv = new frmReportDailyWithImages(); if (!MngFormOps.check_open_forms(inv.Name)) { inv.MdiParent = this; inv.Show(); } }
private void pbItem_Click(object sender, EventArgs e) { Form1 frm = new Form1(); if (!MngFormOps.check_open_forms(frm.Name)) { //this.Hide(); frm.Show(); } }
private void buttonItem21_Click(object sender, EventArgs e) { frmReportVisitsByVisitor inv = new frmReportVisitsByVisitor(); if (!MngFormOps.check_open_forms(inv.Name)) { inv.MdiParent = this; inv.Show(); } }
private void button1_Click(object sender, EventArgs e) { if (tbUser.Text == "wssp1" && tbPwd.Text == "wssp1") { frmMain frm = new frmMain(); if (!MngFormOps.check_open_forms(frm.Name)) { this.Hide(); frm.Show(); } } else { MessageBox.Show("Please Type Correct Username and Password"); } }