Пример #1
0
 private void ATextBox_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         BTextBox.Focus();
     }
 }
Пример #2
0
        private void btxtSpec_Validated(object sender, EventArgs e)
        {
            BTextBox btxtMst = (BTextBox)sender;

            if (btxtMst.Name.Equals(this.btxtAutoCalcCount.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.CALC_COUNT, btxtMst);
            }
        }
Пример #3
0
 /// <summary>
 /// Check for the required field, returns true if fail  else return false.
 /// </summary>
 /// <param name="control">TextBox ID</param>
 /// <returns></returns>
 public bool CheckRequiredField(BTextBox control)
 {
     if (string.IsNullOrEmpty(control.Text))
     {
         EP.SetError(control, Messages.Required);
         return(true);
     }
     else
     {
         return(false);
     }
 }
Пример #4
0
 private void SetConfigRow(string argColumn, BTextBox bTxtBox)
 {
     if (bTxtBox.Text.Length > 0)
     {
         try
         {
             _dtAutoCalc.Rows[0][argColumn] = double.Parse(bTxtBox.Text.Trim());
         }
         catch
         {
             _dtAutoCalc.Rows[0][argColumn] = DBNull.Value;
             bTxtBox.Text = null;
         }
     }
     else
     {
         _dtAutoCalc.Rows[0][argColumn] = DBNull.Value;
     }
 }
Пример #5
0
        public static NumericValidation_Result CheckNumericRange(string ParameterName, NumericValidation_DataType dataType, BTextBox bTxtBox, NumericValidation_RangeOption minValueOption, double minValue, NumericValidation_RangeOption maxValueOption, double maxValue, bool ShowMessageBoxOnError)
        {
            MultiLanguageHandler ml = null;

            if (ShowMessageBoxOnError)
            {
                ml = MultiLanguageHandler.getInstance();
            }

            //Check the value is empty.
            if (bTxtBox == null || bTxtBox.Text == null || bTxtBox.Text.Trim() == "")
            {
                bTxtBox.SelectionStart  = 0;
                bTxtBox.SelectionLength = bTxtBox.Text.Length;
                bTxtBox.Focus();
                if (ShowMessageBoxOnError)
                {
                    MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_PRE_SET"), ParameterName));
                }
                return(NumericValidation_Result.Empty);
            }

            //Check the value is non-numeric.
            if (!IsNumeric(bTxtBox.Text))
            {
                bTxtBox.SelectionStart  = 0;
                bTxtBox.SelectionLength = bTxtBox.Text.Length;
                bTxtBox.Focus();
                if (ShowMessageBoxOnError)
                {
                    MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_075"), ParameterName));
                }
                return(NumericValidation_Result.NonNumeric);
            }

            try
            {
                //Check range of the value.
                if (dataType == NumericValidation_DataType.Double)
                {
                    double doubleValue = double.NaN;

                    try
                    {
                        doubleValue = double.Parse(bTxtBox.Text.Trim());
                    }
                    catch
                    {
                        bTxtBox.SelectionStart  = 0;
                        bTxtBox.SelectionLength = bTxtBox.Text.Length;
                        bTxtBox.Focus();
                        if (ShowMessageBoxOnError)
                        {
                            MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_075"), ParameterName));
                        }
                        return(NumericValidation_Result.InvalidDataType);
                    }

                    if (minValueOption != NumericValidation_RangeOption.NotInUse)
                    {
                        if (minValueOption == NumericValidation_RangeOption.IncludeValue)
                        {
                            if (doubleValue < minValue)
                            {
                                bTxtBox.SelectionStart  = 0;
                                bTxtBox.SelectionLength = bTxtBox.Text.Length;
                                bTxtBox.Focus();
                                if (ShowMessageBoxOnError)
                                {
                                    if (maxValueOption == NumericValidation_RangeOption.NotInUse)
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_069"), ParameterName, minValue.ToString()));
                                    }
                                    else
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_068"), ParameterName, minValue.ToString(), maxValue.ToString()));
                                    }
                                }
                                return(NumericValidation_Result.OutOfRange);
                            }
                        }
                        else
                        {
                            if (doubleValue <= minValue)
                            {
                                bTxtBox.SelectionStart  = 0;
                                bTxtBox.SelectionLength = bTxtBox.Text.Length;
                                bTxtBox.Focus();
                                if (ShowMessageBoxOnError)
                                {
                                    if (maxValueOption == NumericValidation_RangeOption.NotInUse)
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_069"), ParameterName, minValue.ToString()));
                                    }
                                    else
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_068"), ParameterName, minValue.ToString(), maxValue.ToString()));
                                    }
                                }
                                return(NumericValidation_Result.OutOfRange);
                            }
                        }
                    }

                    if (maxValueOption != NumericValidation_RangeOption.NotInUse)
                    {
                        if (maxValueOption == NumericValidation_RangeOption.IncludeValue)
                        {
                            if (doubleValue > maxValue)
                            {
                                bTxtBox.SelectionStart  = 0;
                                bTxtBox.SelectionLength = bTxtBox.Text.Length;
                                bTxtBox.Focus();
                                if (ShowMessageBoxOnError)
                                {
                                    if (minValueOption == NumericValidation_RangeOption.NotInUse)
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_077"), ParameterName, maxValue.ToString()));
                                    }
                                    else
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_068"), ParameterName, minValue.ToString(), maxValue.ToString()));
                                    }
                                }
                                return(NumericValidation_Result.OutOfRange);
                            }
                        }
                        else
                        {
                            if (doubleValue >= maxValue)
                            {
                                bTxtBox.SelectionStart  = 0;
                                bTxtBox.SelectionLength = bTxtBox.Text.Length;
                                bTxtBox.Focus();
                                if (ShowMessageBoxOnError)
                                {
                                    if (minValueOption == NumericValidation_RangeOption.NotInUse)
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_077"), ParameterName, maxValue.ToString()));
                                    }
                                    else
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_068"), ParameterName, minValue.ToString(), maxValue.ToString()));
                                    }
                                }
                                return(NumericValidation_Result.OutOfRange);
                            }
                        }
                    }
                }
                else
                {
                    int intValue = int.MinValue;

                    try
                    {
                        intValue = int.Parse(bTxtBox.Text.Trim());
                    }
                    catch
                    {
                        bTxtBox.SelectionStart  = 0;
                        bTxtBox.SelectionLength = bTxtBox.Text.Length;
                        bTxtBox.Focus();
                        if (ShowMessageBoxOnError)
                        {
                            if (minValueOption == NumericValidation_RangeOption.NotInUse && maxValueOption == NumericValidation_RangeOption.NotInUse)
                            {
                                MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_078"), ParameterName));
                            }
                            else if (minValueOption == NumericValidation_RangeOption.NotInUse)
                            {
                                MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_076"), ParameterName, maxValue.ToString()));
                            }
                            else if (maxValueOption == NumericValidation_RangeOption.NotInUse)
                            {
                                MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_070"), ParameterName, minValue.ToString()));
                            }
                            else
                            {
                                MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_074"), ParameterName, minValue.ToString(), maxValue.ToString()));
                            }
                        }
                        return(NumericValidation_Result.InvalidDataType);
                    }

                    if (minValueOption != NumericValidation_RangeOption.NotInUse)
                    {
                        if (minValueOption == NumericValidation_RangeOption.IncludeValue)
                        {
                            if (intValue < minValue)
                            {
                                bTxtBox.SelectionStart  = 0;
                                bTxtBox.SelectionLength = bTxtBox.Text.Length;
                                bTxtBox.Focus();
                                if (ShowMessageBoxOnError)
                                {
                                    if (maxValueOption == NumericValidation_RangeOption.NotInUse)
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_070"), ParameterName, minValue.ToString()));
                                    }
                                    else
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_074"), ParameterName, minValue.ToString(), maxValue.ToString()));
                                    }
                                }
                                return(NumericValidation_Result.OutOfRange);
                            }
                        }
                        else
                        {
                            if (intValue <= minValue)
                            {
                                bTxtBox.SelectionStart  = 0;
                                bTxtBox.SelectionLength = bTxtBox.Text.Length;
                                bTxtBox.Focus();
                                if (ShowMessageBoxOnError)
                                {
                                    if (maxValueOption == NumericValidation_RangeOption.NotInUse)
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_070"), ParameterName, minValue.ToString()));
                                    }
                                    else
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_074"), ParameterName, minValue.ToString(), maxValue.ToString()));
                                    }
                                }
                                return(NumericValidation_Result.OutOfRange);
                            }
                        }
                    }

                    if (maxValueOption != NumericValidation_RangeOption.NotInUse)
                    {
                        if (maxValueOption == NumericValidation_RangeOption.IncludeValue)
                        {
                            if (intValue > maxValue)
                            {
                                bTxtBox.SelectionStart  = 0;
                                bTxtBox.SelectionLength = bTxtBox.Text.Length;
                                bTxtBox.Focus();
                                if (ShowMessageBoxOnError)
                                {
                                    if (minValueOption == NumericValidation_RangeOption.NotInUse)
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_076"), ParameterName, maxValue.ToString()));
                                    }
                                    else
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_074"), ParameterName, minValue.ToString(), maxValue.ToString()));
                                    }
                                }
                                return(NumericValidation_Result.OutOfRange);
                            }
                        }
                        else
                        {
                            if (intValue >= maxValue)
                            {
                                bTxtBox.SelectionStart  = 0;
                                bTxtBox.SelectionLength = bTxtBox.Text.Length;
                                bTxtBox.Focus();
                                if (ShowMessageBoxOnError)
                                {
                                    if (minValueOption == NumericValidation_RangeOption.NotInUse)
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_076"), ParameterName, maxValue.ToString()));
                                    }
                                    else
                                    {
                                        MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_INFO_074"), ParameterName, minValue.ToString(), maxValue.ToString()));
                                    }
                                }
                                return(NumericValidation_Result.OutOfRange);
                            }
                        }
                    }
                }

                return(NumericValidation_Result.OK);
            }
            catch
            {
                bTxtBox.SelectionStart  = 0;
                bTxtBox.SelectionLength = bTxtBox.Text.Length;
                bTxtBox.Focus();
                if (ShowMessageBoxOnError)
                {
                    MSGHandler.DisplayMessage(MSGType.Warning, string.Format(ml.GetMessage("VMS_WRONG"), ParameterName));
                }
                return(NumericValidation_Result.Etc);
            }
        }
Пример #6
0
        private void btxtSpec_Validated(object sender, EventArgs e)
        {
            BTextBox btxtMst = (BTextBox)sender;


            double iUpper = 0;
            double iLower = 0;

            if (btxtMst.Name.Equals(this.btxtPNUpperSpec.Name) || btxtMst.Name.Equals(this.btxtPNLowerSpec.Name))
            {
                if (btxtMst.Name.Equals(this.btxtPNUpperSpec.Name))
                {
                    this.SetConfigRow(BISTel.eSPC.Common.COLUMN.PN_UPPERSPEC, btxtMst);
                }
                else if (btxtMst.Name.Equals(this.btxtPNLowerSpec.Name))
                {
                    this.SetConfigRow(BISTel.eSPC.Common.COLUMN.PN_LOWERSPEC, btxtMst);
                }

                if (this.btxtPNUpperSpec.Text.Length > 0 && this.btxtPNLowerSpec.Text.Length > 0)
                {
                    iUpper = string.IsNullOrEmpty(this.btxtPNUpperSpec.Text) ? 0 : double.Parse(this.btxtPNUpperSpec.Text);
                    iLower = string.IsNullOrEmpty(this.btxtPNLowerSpec.Text) ? 0 : double.Parse(this.btxtPNLowerSpec.Text);

                    this.btxtPNTarget.Text = ((iUpper + iLower) / 2).ToString();
                    _dtConfig.Rows[0][BISTel.eSPC.Common.COLUMN.PN_TARGET] = double.Parse(this.btxtPNTarget.Text);
                }
                else
                {
                    _dtConfig.Rows[0][BISTel.eSPC.Common.COLUMN.PN_TARGET] = DBNull.Value;
                    this.btxtPNTarget.Text = null;
                }

                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.PN_TARGET);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.PN_UPPERSPEC);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.PN_LOWERSPEC);
            }
            else if (btxtMst.Name.Equals(this.btxtPUCL.Name) || btxtMst.Name.Equals(this.btxtPLCL.Name))
            {
                //추가된 부분(Create Model 한 뒤에 Rule Tab에서 Control Limit을 입력한 후 다른 작업을 하면 입력한 control limit 값이 사라지는 현상수정)
                if (btxtMst.Name.Equals(this.btxtPUCL.Name))
                {
                    this.SetConfigRow(BISTel.eSPC.Common.COLUMN.P_UCL, btxtMst);
                }
                else if (btxtMst.Name.Equals(this.btxtPLCL.Name))
                {
                    this.SetConfigRow(BISTel.eSPC.Common.COLUMN.P_LCL, btxtMst);
                }
                //추가 완료

                if (this.btxtPUCL.Text.Length > 0 && this.btxtPLCL.Text.Length > 0)
                {
                    iUpper = string.IsNullOrEmpty(this.btxtPUCL.Text) ? 0 : double.Parse(this.btxtPUCL.Text);
                    iLower = string.IsNullOrEmpty(this.btxtPLCL.Text) ? 0 : double.Parse(this.btxtPLCL.Text);
                    this.btxtPCenter.Text = ((iUpper + iLower) / 2).ToString();
                    _dtConfig.Rows[0][BISTel.eSPC.Common.COLUMN.P_CENTER_LINE] = double.Parse(this.btxtPCenter.Text);
                }
                else
                {
                    _dtConfig.Rows[0][BISTel.eSPC.Common.COLUMN.P_CENTER_LINE] = DBNull.Value;
                    this.btxtPCenter.Text = null;
                }


                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.P_CENTER_LINE);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.P_UCL);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.P_LCL);
            }
            else if (btxtMst.Name.Equals(this.btxtPNUCL.Name) || btxtMst.Name.Equals(this.btxtPNLCL.Name))
            {
                if (btxtMst.Name.Equals(this.btxtPNUCL.Name))
                {
                    this.SetConfigRow(BISTel.eSPC.Common.COLUMN.PN_UCL, btxtMst);
                }
                else if (btxtMst.Name.Equals(this.btxtPNLCL.Name))
                {
                    this.SetConfigRow(BISTel.eSPC.Common.COLUMN.PN_LCL, btxtMst);
                }

                if (this.btxtPNUCL.Text.Length > 0 && this.btxtPNLCL.Text.Length > 0)
                {
                    iUpper = string.IsNullOrEmpty(this.btxtPNUCL.Text) ? 0 : double.Parse(this.btxtPNUCL.Text);
                    iLower = string.IsNullOrEmpty(this.btxtPNLCL.Text) ? 0 : double.Parse(this.btxtPNLCL.Text);
                    this.btxtPNCenter.Text = ((iUpper + iLower) / 2).ToString();
                    _dtConfig.Rows[0][BISTel.eSPC.Common.COLUMN.PN_CENTER_LINE] = double.Parse(this.btxtPNCenter.Text);
                }
                else
                {
                    _dtConfig.Rows[0][BISTel.eSPC.Common.COLUMN.PN_CENTER_LINE] = DBNull.Value;
                    this.btxtPNCenter.Text = null;
                }


                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.PN_UCL);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.PN_LCL);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.PN_CENTER_LINE);
            }
            else if (btxtMst.Name.Equals(this.btxtCUSL.Name) || btxtMst.Name.Equals(this.btxtCLSL.Name))
            {
                if (btxtMst.Name.Equals(this.btxtCUSL.Name))
                {
                    this.SetConfigRow(BISTel.eSPC.Common.COLUMN.C_UPPERSPEC, btxtMst);
                }
                else if (btxtMst.Name.Equals(this.btxtCLSL.Name))
                {
                    this.SetConfigRow(BISTel.eSPC.Common.COLUMN.C_LOWERSPEC, btxtMst);
                }

                if (this.btxtCUSL.Text.Length > 0 && this.btxtCLSL.Text.Length > 0)
                {
                    iUpper = string.IsNullOrEmpty(this.btxtCUSL.Text) ? 0 : double.Parse(this.btxtCUSL.Text);
                    iLower = string.IsNullOrEmpty(this.btxtCLSL.Text) ? 0 : double.Parse(this.btxtCLSL.Text);
                    this.btxtCenterSTD.Text = ((iUpper + iLower) / 2).ToString();
                    _dtConfig.Rows[0][BISTel.eSPC.Common.COLUMN.C_TARGET] = double.Parse(this.btxtCenterSTD.Text);
                }
                else
                {
                    _dtConfig.Rows[0][BISTel.eSPC.Common.COLUMN.C_TARGET] = DBNull.Value;
                    this.btxtCenterSTD.Text = null;
                }


                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.C_UPPERSPEC);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.C_LOWERSPEC);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.C_TARGET);
            }
            else if (btxtMst.Name.Equals(this.btxtCUCL.Name) || btxtMst.Name.Equals(this.btxtCLCL.Name))
            {
                if (btxtMst.Name.Equals(this.btxtCUCL.Name))
                {
                    this.SetConfigRow(BISTel.eSPC.Common.COLUMN.C_UCL, btxtMst);
                }
                else if (btxtMst.Name.Equals(this.btxtCLCL.Name))
                {
                    this.SetConfigRow(BISTel.eSPC.Common.COLUMN.C_LCL, btxtMst);
                }

                if (this.btxtCUCL.Text.Length > 0 && this.btxtCLCL.Text.Length > 0)
                {
                    iUpper = string.IsNullOrEmpty(this.btxtCUCL.Text) ? 0 : double.Parse(this.btxtCUCL.Text);
                    iLower = string.IsNullOrEmpty(this.btxtCLCL.Text) ? 0 : double.Parse(this.btxtCLCL.Text);
                    this.btxtCenterRange.Text = ((iUpper + iLower) / 2).ToString();
                    _dtConfig.Rows[0][BISTel.eSPC.Common.COLUMN.C_CENTER_LINE] = double.Parse(this.btxtCenterRange.Text);
                }
                else
                {
                    _dtConfig.Rows[0][BISTel.eSPC.Common.COLUMN.C_CENTER_LINE] = DBNull.Value;
                    this.btxtCenterRange.Text = null;
                }


                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.C_UCL);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.C_LCL);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.C_CENTER_LINE);
            }
            else if (btxtMst.Name.Equals(this.btxtUUCL.Name) || btxtMst.Name.Equals(this.btxtULCL.Name))
            {
                if (btxtMst.Name.Equals(this.btxtUUCL.Name))
                {
                    this.SetConfigRow(BISTel.eSPC.Common.COLUMN.U_UCL, btxtMst);
                }
                else if (btxtMst.Name.Equals(this.btxtULCL.Name))
                {
                    this.SetConfigRow(BISTel.eSPC.Common.COLUMN.U_LCL, btxtMst);
                }

                if (this.btxtUUCL.Text.Length > 0 && this.btxtULCL.Text.Length > 0)
                {
                    iUpper = string.IsNullOrEmpty(this.btxtUUCL.Text) ? 0 : double.Parse(this.btxtUUCL.Text);
                    iLower = string.IsNullOrEmpty(this.btxtULCL.Text) ? 0 : double.Parse(this.btxtULCL.Text);
                    this.btxtUCenter.Text = ((iUpper + iLower) / 2).ToString();
                    _dtConfig.Rows[0][BISTel.eSPC.Common.COLUMN.U_CENTER_LINE] = double.Parse(this.btxtUCenter.Text);
                }
                else
                {
                    _dtConfig.Rows[0][BISTel.eSPC.Common.COLUMN.U_CENTER_LINE] = DBNull.Value;
                    this.btxtUCenter.Text = null;
                }


                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.U_UCL);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.U_LCL);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.U_CENTER_LINE);
            }

            else if (btxtMst.Name.Equals(this.btxtPNTarget.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.PN_TARGET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.PN_TARGET);
            }

            else if (btxtMst.Name.Equals(btxtPCenter.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.P_CENTER_LINE, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.P_CENTER_LINE);
            }


            else if (btxtMst.Name.Equals(btx_PNSpecUpperOffer.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.PN_USL_OFFSET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.PN_USL_OFFSET);
            }

            else if (btxtMst.Name.Equals(btx_PNSpecLowerOffer.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.PN_LSL_OFFSET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.PN_LSL_OFFSET);
            }

            else if (btxtMst.Name.Equals(btx_PNUCLOffset.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.PN_UCL_OFFSET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.PN_UCL_OFFSET);
            }

            else if (btxtMst.Name.Equals(btx_PNLCLOffset.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.PN_LCL_OFFSET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.PN_LCL_OFFSET);
            }

            else if (btxtMst.Name.Equals(btx_PUCLOffset.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.P_UCL_OFFSET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.P_UCL_OFFSET);
            }

            else if (btxtMst.Name.Equals(btx_PLCLOffset.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.P_LCL_OFFSET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.P_LCL_OFFSET);
            }

            else if (btxtMst.Name.Equals(btx_CUSLOffset.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.C_USL_OFFSET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.C_USL_OFFSET);
            }

            else if (btxtMst.Name.Equals(btx_CLSLOffset.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.C_LSL_OFFSET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.C_LSL_OFFSET);
            }

            else if (btxtMst.Name.Equals(btx_CUCLOffset.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.C_UCL_OFFSET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.C_UCL_OFFSET);
            }

            else if (btxtMst.Name.Equals(btx_CLCLOffset.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.C_LCL_OFFSET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.C_LCL_OFFSET);
            }

            else if (btxtMst.Name.Equals(btx_UUCLOffset.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.U_UCL_OFFSET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.U_UCL_OFFSET);
            }

            else if (btxtMst.Name.Equals(btx_ULCLOffset.Name))
            {
                this.SetConfigRow(BISTel.eSPC.Common.COLUMN.U_LCL_OFFSET, btxtMst);
                this.UpdateChangedLColumnList(BISTel.eSPC.Common.COLUMN.U_LCL_OFFSET);
            }
        }