/// <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); }