示例#1
0
        public frmMain()
        {
            var LangDlg = new frmLanguageSelection();

            LangDlg.ShowDialog();
            LanguageSupport.Language = LangDlg.UseDefault ? LanguageSupport.GetNativeLanguage() : LangDlg.SelectedLanguage == 0 ? "Turkish" : "English";
            this.InitializeComponent();
        }
示例#2
0
        public frmMain()
        {
            DialogResult Chooise   = DialogResult.None;
            string       WantToUse = "";

            frmLanguageSelection LangDlg = new frmLanguageSelection();

            LangDlg.ShowDialog();

            if (LangDlg.UseDefault)
            {
                LanguageSupport.Language = LanguageSupport.GetNativeLanguage();
            }
            else
            {
                LanguageSupport.Language = LangDlg.SelectedLanguage == 0 ? "Turkish" : "English";
            }



            InitializeComponent();
        }