Exemplo n.º 1
0
        private void khoNợVậtTưToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (Utilities.clsThamSoUtilities.isSectionLogin == true)
            {
                frmNoVatTu frm = new frmNoVatTu();
                frm.Name = "Nợ vật tư  ";

                foreach (Form f in this.MdiChildren)
                {
                    if (f.Name == frm.Name)
                    {
                        f.Activate();
                        return;
                    }
                }

                frm.MdiParent = this;
                frm.WindowState = FormWindowState.Maximized;
                frm.Show();

            }
        }