void BtnTraCuuQuyetDinhClick(object sender, EventArgs e)
        {
            frmQuyetDinhCapGCNDatNN frm = new frmQuyetDinhCapGCNDatNN();

            frm.ReLoad();
            frm.ShowDialog();
            MaQuyetDinh             = frm.MaQuyetDinh;
            txtSoQuyetDinh.Text     = frm.SoQuyetDinh;
            txtCoQuanQuyetDinh.Text = frm.CoQuanQuyetDinh;
            string d = frm.NgayQuyetDinh;

            if (d != "")
            {
                dtpNgayQuyetDinh.Value = Convert.ToDateTime(d.ToString());
            }
        }
예제 #2
0
        private void btnThemQD_Click(object sender, EventArgs e)
        {
            frmQuyetDinhCapGCNDatNN frm = new frmQuyetDinhCapGCNDatNN();

            frm.ReLoad();
            frm.ShowDialog();
            MaQuyetDinh             = frm.MaQuyetDinh;
            txtSoQuyetDinh.Text     = frm.SoQuyetDinh;
            txtCoQuanQuyetDinh.Text = frm.CoQuanQuyetDinh;
            string d = frm.NgayQuyetDinh;

            if (d != "")
            {
                dtpNgayQuyetDinh.Value = Convert.ToDateTime(d.ToString());
            }
            ExecuteProcedure_BDDatNN(1, true);


            MaQuyetDinh = 0;
        }