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

            frm.grdList   = grdSurveys;
            frm.em_Action = action.Insert;
            frm.ShowDialog();
            ModifyCommand();
        }
示例#2
0
        private void cmdEdit_Click(object sender, EventArgs e)
        {
            frm_themmoi_diachinh frm = new frm_themmoi_diachinh();

            frm.em_Action             = action.Update;
            frm.grdList               = grdSurveys;
            frm.txtSurveyCode.Text    = v_Survey_code.ToString();
            frm.txtSurveyCode.Enabled = false;
            frm.ShowDialog();
            ModifyCommand();
        }
示例#3
0
 private void cmdNew_Click(object sender, EventArgs e)
 {
     frm_themmoi_diachinh frm = new frm_themmoi_diachinh();
     frm.grdList = grdSurveys;
     frm.em_Action = action.Insert;
     frm.ShowDialog();
     ModifyCommand();
 }
示例#4
0
        private void cmdEdit_Click(object sender, EventArgs e)
        {
            frm_themmoi_diachinh frm = new frm_themmoi_diachinh();

            frm.em_Action = action.Update;
            frm.grdList = grdSurveys;
            frm.txtSurveyCode.Text = v_Survey_code.ToString();
            frm.txtSurveyCode.Enabled = false;
            frm.ShowDialog();
            ModifyCommand();
        }