示例#1
0
        private void btnTaoHoGiaDinh_Click(object sender, EventArgs e)
        {
            frmGiaDinh frm = new frmGiaDinh();

            this.Hide();
            frm.ShowDialog();
            ((frmHOSO)this.ParentForm).Status(clsConfig.TrangThaiHoSo);// goị hàm satus từ form chứa nó.
            ((frmHOSO)this.ParentForm).KiemTraCheckDone(2);
            this.Show();
            LoadThongTinChu(clsConfig.MaGiaDinh);
        }
示例#2
0
 private void btnHoGiaDinh_Click(object sender, EventArgs e)
 {
     if (clsConfig.MaHoSo == 0)
     {
         MessageBox.Show("Cần tạo hồ sơ trước!");
     }
     else
     {
         frmGiaDinh frm = new frmGiaDinh();
         this.Hide();
         frm.ShowDialog();
         //  ShowInfo();
         Status(clsConfig.TrangThaiHoSo);
         KiemTraCheckDone(2);
         this.Show();
     }
 }
示例#3
0
 private void btnHoGiaDinh_Click(object sender, EventArgs e)
 {
     if (clsConfig.MaHoSo == 0)
     {
         MessageBox.Show("Cần tạo hồ sơ trước!");
     }
     else
     {
         frmGiaDinh frm = new frmGiaDinh();
         frm.OnTHTT += new frmGiaDinh.UpdateTongHopThongTinHandler(TongHopThongTin);
         this.Hide();
         frm.ShowDialog();
         //  ShowInfo();
         HienThiThongTinGiaDinh_HoSo(clsConfig.MaHoSo);
         Status(clsConfig.TrangThaiHoSo);
         KiemTraCheckDone(2);
         this.Show();
     }
 }