Example #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            FormTaoTaiKhoan f = new FormTaoTaiKhoan();

            f.Show();
            this.Hide();
        }
Example #2
0
        private void btnTaoTaiKhoan_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frmAction = CheckExists(typeof(FormTaoTaiKhoan));

            if (frmAction != null)
            {
                frmAction.Activate();
            }
            else
            {
                FormTaoTaiKhoan frmTaoTaiKhoan = new FormTaoTaiKhoan();
                frmTaoTaiKhoan.MdiParent = this;
                frmTaoTaiKhoan.Show();

                groupDoiTuong.Enabled = false;
                groupBaoCao.Enabled   = false;
            }
        }