예제 #1
0
        /// <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();
            }
        }
예제 #2
0
        /// <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);
        }
예제 #3
0
        /// <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);
        }