コード例 #1
0
 private void btnChiTietBuTru_Click(object sender, EventArgs e)
 {
     frmDanhSachTraNo phieuno = new frmDanhSachTraNo();
     phieuno.Show();
 }
コード例 #2
0
        private void chiTiếtTrảNợToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (Utilities.clsThamSoUtilities.isSectionLogin == true)
            {
                frmDanhSachTraNo frm = new frmDanhSachTraNo();
                frm.Name = "Danh sách trả nợ phiếu nhập  ";

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

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

            }
        }