Exemple #1
0
        //시스템 설정
        private void _btLoginSetting_Click(object sender, EventArgs e)
        {
            //위에 환경설정 관리자부분 추가가 될경우 하단 showdialog 지우기
            frmPOPSetting pSetting = new frmPOPSetting(_txtAccount.Text.ToString());

            pSetting.ShowDialog();

            //환경설정이 저장(변경)이 되었으면, 다시 로드
            if (frmPOPSetting.SAVE_YN)
            {
                //

                string myCultureInfo = "";//

                switch (Properties.Settings.Default.MULTI_LANGUAGE.ToString())
                {
                case "한국어":
                    myCultureInfo = "ko-KR";
                    break;

                case "English":
                    myCultureInfo = "en-US";
                    break;

                case "日本":
                    myCultureInfo = "ja-JP";
                    break;

                case "中国":
                    myCultureInfo = "zh-CN";
                    break;
                }


                Thread.CurrentThread.CurrentCulture   = new CultureInfo(myCultureInfo);
                Thread.CurrentThread.CurrentUICulture = new CultureInfo(myCultureInfo);

                Initialize();
                InitializeLanguage();
                InitializeCorporationCI();
                _txtAccount.Focus();
                InitializeControl();

                if (_ckUserIDSave.Checked && _txtAccount.Text.Trim().Length > 1)
                {
                    _txtPassword.Select();
                }
                else
                {
                    _txtAccount.Select();
                }
            }
            else
            {
                _txtAccount.Focus();
            }
        }
        //시스템 설정
        private void _btLoginSetting_Click(object sender, EventArgs e)
        {
            /*
             * //frmVerifyPermissions.USER_CODE = _pUSER_CODE;
             * frmVerifyPermissions.LANGUAGE_TYPE = pUserEntity.LANGUAGE_TYPE;
             * frmVerifyPermissions.FONT_TYPE = _font;
             * frmVerifyPermissions xfrmVerifyPermissions = new CORE.UserForm.frmVerifyPermissions(); //유저컨트롤러 설정 부분
             *
             * xfrmVerifyPermissions.ShowDialog();
             *
             * if (xfrmVerifyPermissions.isReturnGrant)
             * {
             *  frmPOPSetting pSetting = new frmPOPSetting(_txtAccount.Text.ToString());
             *
             *  pSetting.ShowDialog();
             * }
             *
             * xfrmVerifyPermissions.Dispose();
             */

            //위에 환경설정 관리자부분 추가가 될경우 하단 showdialog 지우기
            frmPOPSetting pSetting = new frmPOPSetting(_txtAccount.Text.ToString());

            pSetting.ShowDialog();

            //환경설정이 저장(변경)이 되었으면, 다시 로드
            if (frmPOPSetting.SAVE_YN)
            {
                //

                string myCultureInfo = "";//

                switch (Properties.Settings.Default.MULTI_LANGUAGE.ToString())
                {
                case "한국어":
                    myCultureInfo = "ko-KR";
                    break;

                case "English":
                    myCultureInfo = "en-US";
                    break;

                case "日本":
                    myCultureInfo = "ja-JP";
                    break;

                case "中国":
                    myCultureInfo = "zh-CN";
                    break;
                }


                Thread.CurrentThread.CurrentCulture   = new CultureInfo(myCultureInfo);
                Thread.CurrentThread.CurrentUICulture = new CultureInfo(myCultureInfo);

                Initialize();
                InitializeLanguage();
                InitializeCorporationCI();
                _txtAccount.Focus();
                InitializeControl();

                if (_ckUserIDSave.Checked && _txtAccount.Text.Trim().Length > 1)
                {
                    _txtPassword.Select();
                }
                else
                {
                    _txtAccount.Select();
                }
            }
            else
            {
                _txtAccount.Focus();
            }
        }
Exemple #3
0
        private void _btLoginSetting_Click(object sender, EventArgs e)
        {
            frmPOPSetting pPOPSetting = new frmPOPSetting("admin");

            pPOPSetting.ShowDialog();
        }
        //시스템 설정
        private void _btLoginSetting_Click(object sender, EventArgs e)
        {
            frmPOPSetting pPOPSetting = new frmPOPSetting(_txtAccount.Text.ToString());

            pPOPSetting.ShowDialog();
        }