Пример #1
0
        private void InitControls()
        {
            TxtIdx.Clear();
            TxtNames.Clear();
            TxtAddr.Clear();
            TxtMobile.Clear();
            TxtEmail.Clear();
            CboLevels.SelectedIndex = 0;

            TxtIdx.Focus();

            baseMode = BaseMode.NONE;

            #region comboBox Dictionary

            /*Dictionary<string, string> dic = new Dictionary<string, string>
             * {
             *  { "선택", "00" },
             *  { "서울특별시", "11" },
             *  { "부산광역시", "21" },
             *  { "대구광역시", "22" },
             *  { "인천광역시", "23" },
             *  { "광주광역시", "24" },
             *  { "대전광역시", "25" }
             * };
             *
             * CboDivision.DataSource = new BindingSource(dic, null);
             * CboDivision.DisplayMember = "Key";
             * CboDivision.ValueMember = "Value";*/
            #endregion
        }
Пример #2
0
        private void InitControls()
        {
            TxtDivision.Clear();
            TxtDivision.ReadOnly = true;
            TxtNames.Clear();

            TxtDivision.Focus();
            baseMode = BaseMode.NONE;
        }