/// <summary> /// load screen /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void AddLineMasterForm_Load(object sender, EventArgs e) { LineCode_txt.Select(); if (string.Equals(mode, CommonConstants.MODE_UPDATE)) { LoadLineData(updateData); LineCode_txt.Enabled = false; LineName_txt.Select(); } }
/// <summary> /// load screen /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void AddLineRestTimeForm_Load(object sender, EventArgs e) { LineCode_txt.Select(); int lineCd = 0; if (string.Equals(mode, CommonConstants.MODE_UPDATE)) { LoadLineData(updateData); lineCd = updateData.LineId; LineCode_txt.Enabled = false; LineName_txt.Select(); } LoadProcessWork(lineCd); }
/// <summary> /// load screen /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected virtual void AddLineMasterForm_Load(object sender, EventArgs e) { if (this.DesignMode) { return; } LineCode_txt.Select(); int lineCd = 0; if (string.Equals(mode, CommonConstants.MODE_UPDATE)) { LoadLineData(updateData); lineCd = updateData.LineId; LineCode_txt.Enabled = false; LineName_txt.Select(); } LoadProcessWork(lineCd); }
/// <summary> /// form load /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void LineRestTimeForm_Load(object sender, EventArgs e) { Save_btn.Enabled = Update_btn.Enabled = Delete_btn.Enabled = false; LineCode_txt.Select(); }
/// <summary> /// form load /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void LineMasterForm_Load(object sender, EventArgs e) { Update_btn.Enabled = Delete_btn.Enabled = false; LineCode_txt.Select(); }