コード例 #1
0
        /// <summary>
        /// 입력 컨트롤 전체 초기화
        /// </summary>
        private void ClearInputBox()
        {
            try
            {
                SetEnabled(true);
                SetReadOnly(false);

                mtxtID.txtText.Text = CommonFuction.DurableIdCreator();
                mtxtName.txtText.ResetText();
                mtxtCode.txtText.ResetText();

                mtxtVenderName.txtText.ResetText();
                mtxtVenderCode.txtText.ResetText();

                mtxtCreator.ucValue = Program.CurrentUserName;
                mtxtDesc.txtText.ResetText();

                mcbmbInputResult.cboCombo.SelectedIndex = -1;
                mcbmRack.cboCombo.SelectedIndex         = -1;
                mcmbModelCode.cboCombo.SelectedIndex    = -1;


                txtCreateDate.ResetText();

                GetProductInfo = false;
            }

            catch (Exception ee)
            {
                LogFactory.Log(ee);
            }
        }