Beispiel #1
0
        /// <summary>
        /// load screen
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void AddDefectiveCategoryForm_Load(object sender, EventArgs e)
        {
            DefectiveCategoryCode_txt.Select();
            if (string.Equals(mode, CommonConstants.MODE_UPDATE))
            {
                LoadDefectiveCategoryData(updateData);

                DefectiveCategoryCode_txt.Enabled = false;

                DefectiveCategoryName_txt.Select();
            }
        }
Beispiel #2
0
 /// <summary>
 /// form load
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void DefectiveCategoryForm_Load(object sender, EventArgs e)
 {
     Update_btn.Enabled = Delete_btn.Enabled = false;
     DefectiveCategoryCode_txt.Select();
 }