示例#1
0
        private void btnTraPhong_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmCheckOut f = new frmCheckOut();

            IsMdiContainer = true;
            f.MdiParent    = this;
            f.Show();
        }
示例#2
0
        private void btnThanhToanPhong_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form frm = KiemTraTonTai(typeof(frmCheckOut));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frmCheckOut f = new frmCheckOut();
                IsMdiContainer = true;
                f.MdiParent    = this;
                f.Show();
            }
        }
        private void thanhToánToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCheckOut frmCheckOut = new frmCheckOut();

            frmCheckOut.ShowDialog();
        }