Example #1
0
 private void AddJigCauseMasterForm_Load(object sender, EventArgs e)
 {
     JigCauseCode_txt.Select();
     if (vo.JigCauseId > 0)
     {
         JigCauseCode_txt.Text = vo.JigCauseCode;
         JigCauseName_txt.Text = vo.JigCauseName;
     }
 }
Example #2
0
        private void Clear_btn_Click(object sender, EventArgs e)
        {
            JigCauseCode_txt.Text = string.Empty;

            JigCauseName_txt.Text = string.Empty;

            JigCause_dgv.DataSource = null;

            JigCauseCode_txt.Select();
        }