Пример #1
0
        private void buttonItem19_Click(object sender, EventArgs e)
        {
            frmUser inv = new frmUser();

            if (!MngFormOps.check_open_forms(inv.Name))
            {
                inv.MdiParent = this;
                inv.Show();
            }
        }
Пример #2
0
        private void buttonItem18_Click(object sender, EventArgs e)
        {
            frmReportDailyWithImages inv = new frmReportDailyWithImages();

            if (!MngFormOps.check_open_forms(inv.Name))
            {
                inv.MdiParent = this;
                inv.Show();
            }
        }
Пример #3
0
        private void pbItem_Click(object sender, EventArgs e)
        {
            Form1 frm = new Form1();

            if (!MngFormOps.check_open_forms(frm.Name))
            {
                //this.Hide();
                frm.Show();
            }
        }
Пример #4
0
        private void buttonItem21_Click(object sender, EventArgs e)
        {
            frmReportVisitsByVisitor inv = new frmReportVisitsByVisitor();

            if (!MngFormOps.check_open_forms(inv.Name))
            {
                inv.MdiParent = this;
                inv.Show();
            }
        }
Пример #5
0
 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");
     }
 }