예제 #1
0
        private void btnPhieuXuat_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmPhieuXuat PX = null;

            if (PX == null || PX.IsDisposed)
            {
                PX = new frmPhieuXuat();
            }
            PX.ShowDialog();
        }
예제 #2
0
        private void barButtonItem6_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.checkExist(typeof(frmPhieuXuat));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frmPhieuXuat f = new frmPhieuXuat();
                f.MdiParent = this;
                f.Show();
            }
        }