Summary description for LanguageSetup.
Inheritance: System.Windows.Forms.UserControl, IFWDisposable
		public void LoadList_query_notTooLong()
		{
			var query = "en";
			var tooLong = TimeSpan.FromMinutes(1);
			using (var languageSetup = new LanguageSetup())
			{
				var beginTime = DateTime.Now;
				ReflectionHelper.CallMethod(languageSetup, "LoadList", new string[] { query });
				var endTime = DateTime.Now;
				var timeElapsed = endTime - beginTime;
				Assert.That(timeElapsed, Is.Not.GreaterThan(tooLong));
			}
		}
        public void LoadList_query_notTooLong()
        {
            var query   = "en";
            var tooLong = TimeSpan.FromMinutes(1);

            using (var languageSetup = new LanguageSetup())
            {
                var beginTime = DateTime.Now;
                ReflectionHelper.CallMethod(languageSetup, "LoadList", new string[] { query });
                var endTime     = DateTime.Now;
                var timeElapsed = endTime - beginTime;
                Assert.That(timeElapsed, Is.Not.GreaterThan(tooLong));
            }
        }
		public void LanguageSubtag_newWS()
		{
			var wsManager = new PalasoWritingSystemManager();
			using (var langSetup = new LanguageSetup())
			{
				langSetup.WritingSystemManager = wsManager;
				langSetup.StartedInModifyState = false;
				langSetup.LanguageName = "Monkey";
				LanguageSubtag subtag = langSetup.LanguageSubtag;
				Assert.AreEqual("mon", subtag.Code);

				LanguageSubtag newSubtag = new LanguageSubtag("mon", "Moniker", true, null);
				IWritingSystem newWs = wsManager.Create(newSubtag, null, null, null);
				wsManager.Set(newWs);
				subtag = langSetup.LanguageSubtag;
				Assert.AreEqual("aaa", subtag.Code, "Language code 'mon' should already be in use");
			}
		}
        public void LanguageSubtag_newWS()
        {
            var wsManager = new PalasoWritingSystemManager();

            using (var langSetup = new LanguageSetup())
            {
                langSetup.WritingSystemManager = wsManager;
                langSetup.StartedInModifyState = false;
                langSetup.LanguageName         = "Monkey";
                LanguageSubtag subtag = langSetup.LanguageSubtag;
                Assert.AreEqual("mon", subtag.Code);

                LanguageSubtag newSubtag = new LanguageSubtag("mon", "Moniker", true, null);
                IWritingSystem newWs     = wsManager.Create(newSubtag, null, null, null);
                wsManager.Set(newWs);
                subtag = langSetup.LanguageSubtag;
                Assert.AreEqual("aaa", subtag.Code, "Language code 'mon' should already be in use");
            }
        }
Beispiel #5
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 ///
 /// </summary>
 /// <param name="parent"></param>
 /// ------------------------------------------------------------------------------------
 public TrapEnterFilter(LanguageSetup parent)
 {
     this.m_parent = parent;
 }
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Windows.Forms.Button m_btnCancel;
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LanguageSelectionDlg));
			System.Windows.Forms.Button m_btnHelp;
			this.m_languageSetup = new SIL.FieldWorks.Common.Controls.LanguageSetup();
			this.m_btnOK = new System.Windows.Forms.Button();
			this.m_helpProvider = new System.Windows.Forms.HelpProvider();
			m_btnCancel = new System.Windows.Forms.Button();
			m_btnHelp = new System.Windows.Forms.Button();
			this.SuspendLayout();
			//
			// m_btnCancel
			//
			m_btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			resources.ApplyResources(m_btnCancel, "m_btnCancel");
			m_btnCancel.Name = "m_btnCancel";
			this.m_helpProvider.SetShowHelp(m_btnCancel, ((bool)(resources.GetObject("m_btnCancel.ShowHelp"))));
			//
			// m_btnHelp
			//
			this.m_helpProvider.SetHelpString(m_btnHelp, resources.GetString("m_btnHelp.HelpString"));
			resources.ApplyResources(m_btnHelp, "m_btnHelp");
			m_btnHelp.Name = "m_btnHelp";
			this.m_helpProvider.SetShowHelp(m_btnHelp, ((bool)(resources.GetObject("m_btnHelp.ShowHelp"))));
			m_btnHelp.Click += new System.EventHandler(this.m_btnHelp_Click);
			//
			// m_languageSetup
			//
			this.m_languageSetup.EthnologueCode = global::SIL.FieldWorks.FwCoreDlgs.FwCoreDlgs.kstidOpen;
			this.m_languageSetup.LanguageName = "";
			resources.ApplyResources(this.m_languageSetup, "m_languageSetup");
			this.m_languageSetup.Name = "m_languageSetup";
			this.m_helpProvider.SetShowHelp(this.m_languageSetup, ((bool)(resources.GetObject("m_languageSetup.ShowHelp"))));
			this.m_languageSetup.StartedInModifyState = false;
			this.m_languageSetup.LanguageNameChanged += new System.EventHandler(this.m_languageSetup_LanguageNameChanged);
			//
			// m_btnOK
			//
			this.m_btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
			resources.ApplyResources(this.m_btnOK, "m_btnOK");
			this.m_btnOK.Name = "m_btnOK";
			this.m_helpProvider.SetShowHelp(this.m_btnOK, ((bool)(resources.GetObject("m_btnOK.ShowHelp"))));
			//
			// LanguageSelectionDlg
			//
			this.AcceptButton = this.m_btnOK;
			resources.ApplyResources(this, "$this");
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.CancelButton = m_btnCancel;
			this.Controls.Add(m_btnHelp);
			this.Controls.Add(this.m_btnOK);
			this.Controls.Add(m_btnCancel);
			this.Controls.Add(this.m_languageSetup);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "LanguageSelectionDlg";
			this.m_helpProvider.SetShowHelp(this, ((bool)(resources.GetObject("$this.ShowHelp"))));
			this.ShowInTaskbar = false;
			this.ResumeLayout(false);

		}
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		/// ------------------------------------------------------------------------------------
		private void InitializeComponent()
		{
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WritingSystemWizard));
			System.Windows.Forms.TabPage tabPage1;
			System.Windows.Forms.Label lblIdentifyLanguage;
			System.Windows.Forms.Label lblAbbrev;
			System.Windows.Forms.Label lblWsAbbrevInstructions;
			System.Windows.Forms.Label lblWritingSystemAbbrev;
			System.Windows.Forms.TabPage tabPage2;
			System.Windows.Forms.Label lblRegionVariantInfo;
			System.Windows.Forms.Label lblRegionVariantInfoDesc;
			System.Windows.Forms.TabPage tabPage4;
			System.Windows.Forms.Label label2;
			System.Windows.Forms.Label lblFinishOrBack;
			System.Windows.Forms.Label lblKeyboardDesc;
			System.Windows.Forms.Label lblKeyboard;
			System.Windows.Forms.Label lblDirectionDesc;
			System.Windows.Forms.Label lblDirection;
			System.Windows.Forms.Label lblDefaultFonts;
			System.Windows.Forms.Label lblSimilarWSDesc;
			System.Windows.Forms.Label lblSimilarWS;
			System.Windows.Forms.TabPage tabPage3;
			System.Windows.Forms.Label label1;
			System.Windows.Forms.Label lblFontDesc;
			this.languageSetup = new SIL.FieldWorks.Common.Controls.LanguageSetup();
			this.lblMoreInfoDesc = new System.Windows.Forms.Label();
			this.m_regionVariantControl = new SIL.FieldWorks.FwCoreDlgControls.RegionVariantControl();
			this.btnAdvanced = new System.Windows.Forms.Button();
			this.chkUsesIPA = new System.Windows.Forms.CheckBox();
			this.m_ShortWsName = new System.Windows.Forms.TextBox();
			this.lblConverterDesc = new System.Windows.Forms.Label();
			this.btnEncodingConverterNew = new System.Windows.Forms.Button();
			this.cbEncodingConverter = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.lblEncodingConverter = new System.Windows.Forms.Label();
			this.m_KeyboardControl = new SIL.FieldWorks.FwCoreDlgControls.KeyboardControl();
			this.m_defaultFontsControl = new SIL.FieldWorks.FwCoreDlgControls.DefaultFontsControl();
			this.radioRTL = new System.Windows.Forms.RadioButton();
			this.radioLTR = new System.Windows.Forms.RadioButton();
			this.m_localeMenuButton = new SIL.FieldWorks.FwCoreDlgControls.LocaleMenuButton();
			this.helpProvider1 = new System.Windows.Forms.HelpProvider();
			tabPage1 = new System.Windows.Forms.TabPage();
			lblIdentifyLanguage = new System.Windows.Forms.Label();
			lblAbbrev = new System.Windows.Forms.Label();
			lblWsAbbrevInstructions = new System.Windows.Forms.Label();
			lblWritingSystemAbbrev = new System.Windows.Forms.Label();
			tabPage2 = new System.Windows.Forms.TabPage();
			lblRegionVariantInfo = new System.Windows.Forms.Label();
			lblRegionVariantInfoDesc = new System.Windows.Forms.Label();
			tabPage4 = new System.Windows.Forms.TabPage();
			label2 = new System.Windows.Forms.Label();
			lblFinishOrBack = new System.Windows.Forms.Label();
			lblKeyboardDesc = new System.Windows.Forms.Label();
			lblKeyboard = new System.Windows.Forms.Label();
			lblDirectionDesc = new System.Windows.Forms.Label();
			lblDirection = new System.Windows.Forms.Label();
			lblDefaultFonts = new System.Windows.Forms.Label();
			lblSimilarWSDesc = new System.Windows.Forms.Label();
			lblSimilarWS = new System.Windows.Forms.Label();
			tabPage3 = new System.Windows.Forms.TabPage();
			label1 = new System.Windows.Forms.Label();
			lblFontDesc = new System.Windows.Forms.Label();
			this.tabSteps.SuspendLayout();
			tabPage1.SuspendLayout();
			tabPage2.SuspendLayout();
			tabPage4.SuspendLayout();
			tabPage3.SuspendLayout();
			this.SuspendLayout();
			//
			// panSteps
			//
			resources.ApplyResources(this.panSteps, "panSteps");
			//
			// lblSteps
			//
			resources.ApplyResources(this.lblSteps, "lblSteps");
			//
			// m_btnBack
			//
			this.helpProvider1.SetHelpString(this.m_btnBack, resources.GetString("m_btnBack.HelpString"));
			resources.ApplyResources(this.m_btnBack, "m_btnBack");
			this.helpProvider1.SetShowHelp(this.m_btnBack, ((bool)(resources.GetObject("m_btnBack.ShowHelp"))));
			//
			// m_btnCancel
			//
			this.helpProvider1.SetHelpString(this.m_btnCancel, resources.GetString("m_btnCancel.HelpString"));
			resources.ApplyResources(this.m_btnCancel, "m_btnCancel");
			this.helpProvider1.SetShowHelp(this.m_btnCancel, ((bool)(resources.GetObject("m_btnCancel.ShowHelp"))));
			//
			// m_btnNext
			//
			this.helpProvider1.SetHelpString(this.m_btnNext, resources.GetString("m_btnNext.HelpString"));
			resources.ApplyResources(this.m_btnNext, "m_btnNext");
			this.helpProvider1.SetShowHelp(this.m_btnNext, ((bool)(resources.GetObject("m_btnNext.ShowHelp"))));
			//
			// m_btnHelp
			//
			this.helpProvider1.SetHelpString(this.m_btnHelp, resources.GetString("m_btnHelp.HelpString"));
			resources.ApplyResources(this.m_btnHelp, "m_btnHelp");
			this.helpProvider1.SetShowHelp(this.m_btnHelp, ((bool)(resources.GetObject("m_btnHelp.ShowHelp"))));
			this.m_btnHelp.Click += new System.EventHandler(this.m_btnHelp_Click);
			//
			// tabSteps
			//
			this.tabSteps.Controls.Add(tabPage1);
			this.tabSteps.Controls.Add(tabPage2);
			this.tabSteps.Controls.Add(tabPage3);
			this.tabSteps.Controls.Add(tabPage4);
			resources.ApplyResources(this.tabSteps, "tabSteps");
			//
			// tabPage1
			//
			tabPage1.Controls.Add(this.languageSetup);
			tabPage1.Controls.Add(lblIdentifyLanguage);
			resources.ApplyResources(tabPage1, "tabPage1");
			tabPage1.Name = "tabPage1";
			this.helpProvider1.SetShowHelp(tabPage1, ((bool)(resources.GetObject("tabPage1.ShowHelp"))));
			//
			// languageSetup
			//
			this.languageSetup.EthnologueCode = "";
			this.languageSetup.LanguageName = "";
			resources.ApplyResources(this.languageSetup, "languageSetup");
			this.languageSetup.Name = "languageSetup";
			this.helpProvider1.SetShowHelp(this.languageSetup, ((bool)(resources.GetObject("languageSetup.ShowHelp"))));
			this.languageSetup.StartedInModifyState = false;
			this.languageSetup.LanguageNameChanged += new System.EventHandler(this.languageSetup_LanguageNameChanged);
			//
			// lblIdentifyLanguage
			//
			resources.ApplyResources(lblIdentifyLanguage, "lblIdentifyLanguage");
			lblIdentifyLanguage.Name = "lblIdentifyLanguage";
			this.helpProvider1.SetShowHelp(lblIdentifyLanguage, ((bool)(resources.GetObject("lblIdentifyLanguage.ShowHelp"))));
			//
			// lblAbbrev
			//
			resources.ApplyResources(lblAbbrev, "lblAbbrev");
			lblAbbrev.Name = "lblAbbrev";
			this.helpProvider1.SetShowHelp(lblAbbrev, ((bool)(resources.GetObject("lblAbbrev.ShowHelp"))));
			//
			// lblWsAbbrevInstructions
			//
			resources.ApplyResources(lblWsAbbrevInstructions, "lblWsAbbrevInstructions");
			lblWsAbbrevInstructions.Name = "lblWsAbbrevInstructions";
			this.helpProvider1.SetShowHelp(lblWsAbbrevInstructions, ((bool)(resources.GetObject("lblWsAbbrevInstructions.ShowHelp"))));
			//
			// lblWritingSystemAbbrev
			//
			resources.ApplyResources(lblWritingSystemAbbrev, "lblWritingSystemAbbrev");
			lblWritingSystemAbbrev.Name = "lblWritingSystemAbbrev";
			this.helpProvider1.SetShowHelp(lblWritingSystemAbbrev, ((bool)(resources.GetObject("lblWritingSystemAbbrev.ShowHelp"))));
			//
			// tabPage2
			//
			tabPage2.Controls.Add(lblRegionVariantInfo);
			tabPage2.Controls.Add(this.lblMoreInfoDesc);
			tabPage2.Controls.Add(this.m_regionVariantControl);
			tabPage2.Controls.Add(this.btnAdvanced);
			tabPage2.Controls.Add(this.chkUsesIPA);
			tabPage2.Controls.Add(lblRegionVariantInfoDesc);
			tabPage2.Controls.Add(this.m_ShortWsName);
			tabPage2.Controls.Add(lblAbbrev);
			tabPage2.Controls.Add(lblWsAbbrevInstructions);
			tabPage2.Controls.Add(lblWritingSystemAbbrev);
			resources.ApplyResources(tabPage2, "tabPage2");
			tabPage2.Name = "tabPage2";
			this.helpProvider1.SetShowHelp(tabPage2, ((bool)(resources.GetObject("tabPage2.ShowHelp"))));
			//
			// lblRegionVariantInfo
			//
			resources.ApplyResources(lblRegionVariantInfo, "lblRegionVariantInfo");
			lblRegionVariantInfo.Name = "lblRegionVariantInfo";
			this.helpProvider1.SetShowHelp(lblRegionVariantInfo, ((bool)(resources.GetObject("lblRegionVariantInfo.ShowHelp"))));
			//
			// lblMoreInfoDesc
			//
			resources.ApplyResources(this.lblMoreInfoDesc, "lblMoreInfoDesc");
			this.lblMoreInfoDesc.Name = "lblMoreInfoDesc";
			this.helpProvider1.SetShowHelp(this.lblMoreInfoDesc, ((bool)(resources.GetObject("lblMoreInfoDesc.ShowHelp"))));
			//
			// m_regionVariantControl
			//
			this.m_regionVariantControl.BackColor = System.Drawing.SystemColors.Control;
			this.m_regionVariantControl.LangDef = null;
			resources.ApplyResources(this.m_regionVariantControl, "m_regionVariantControl");
			this.m_regionVariantControl.Name = "m_regionVariantControl";
			this.m_regionVariantControl.PropDlg = false;
			this.helpProvider1.SetShowHelp(this.m_regionVariantControl, ((bool)(resources.GetObject("m_regionVariantControl.ShowHelp"))));
			this.m_regionVariantControl.VariantName = "";
			//
			// btnAdvanced
			//
			this.helpProvider1.SetHelpString(this.btnAdvanced, resources.GetString("btnAdvanced.HelpString"));
			resources.ApplyResources(this.btnAdvanced, "btnAdvanced");
			this.btnAdvanced.Name = "btnAdvanced";
			this.helpProvider1.SetShowHelp(this.btnAdvanced, ((bool)(resources.GetObject("btnAdvanced.ShowHelp"))));
			this.btnAdvanced.Click += new System.EventHandler(this.btnAdvanced_Click);
			//
			// chkUsesIPA
			//
			resources.ApplyResources(this.chkUsesIPA, "chkUsesIPA");
			this.helpProvider1.SetHelpString(this.chkUsesIPA, resources.GetString("chkUsesIPA.HelpString"));
			this.chkUsesIPA.Name = "chkUsesIPA";
			this.helpProvider1.SetShowHelp(this.chkUsesIPA, ((bool)(resources.GetObject("chkUsesIPA.ShowHelp"))));
			this.chkUsesIPA.CheckedChanged += new System.EventHandler(this.chkUsesIPA_CheckedChanged);
			//
			// lblRegionVariantInfoDesc
			//
			resources.ApplyResources(lblRegionVariantInfoDesc, "lblRegionVariantInfoDesc");
			lblRegionVariantInfoDesc.Name = "lblRegionVariantInfoDesc";
			this.helpProvider1.SetShowHelp(lblRegionVariantInfoDesc, ((bool)(resources.GetObject("lblRegionVariantInfoDesc.ShowHelp"))));
			//
			// m_ShortWsName
			//
			this.helpProvider1.SetHelpString(this.m_ShortWsName, resources.GetString("m_ShortWsName.HelpString"));
			resources.ApplyResources(this.m_ShortWsName, "m_ShortWsName");
			this.m_ShortWsName.Name = "m_ShortWsName";
			this.helpProvider1.SetShowHelp(this.m_ShortWsName, ((bool)(resources.GetObject("m_ShortWsName.ShowHelp"))));
			this.m_ShortWsName.TextChanged += new System.EventHandler(this.m_ShortWsName_TextChanged);
			//
			// tabPage4
			//
			tabPage4.Controls.Add(label2);
			tabPage4.Controls.Add(lblFinishOrBack);
			tabPage4.Controls.Add(this.lblConverterDesc);
			tabPage4.Controls.Add(this.btnEncodingConverterNew);
			tabPage4.Controls.Add(this.cbEncodingConverter);
			tabPage4.Controls.Add(this.lblEncodingConverter);
			tabPage4.Controls.Add(this.m_KeyboardControl);
			tabPage4.Controls.Add(lblKeyboardDesc);
			tabPage4.Controls.Add(lblKeyboard);
			resources.ApplyResources(tabPage4, "tabPage4");
			tabPage4.Name = "tabPage4";
			this.helpProvider1.SetShowHelp(tabPage4, ((bool)(resources.GetObject("tabPage4.ShowHelp"))));
			//
			// label2
			//
			resources.ApplyResources(label2, "label2");
			label2.Name = "label2";
			this.helpProvider1.SetShowHelp(label2, ((bool)(resources.GetObject("label2.ShowHelp"))));
			//
			// lblFinishOrBack
			//
			resources.ApplyResources(lblFinishOrBack, "lblFinishOrBack");
			lblFinishOrBack.Name = "lblFinishOrBack";
			this.helpProvider1.SetShowHelp(lblFinishOrBack, ((bool)(resources.GetObject("lblFinishOrBack.ShowHelp"))));
			//
			// lblConverterDesc
			//
			resources.ApplyResources(this.lblConverterDesc, "lblConverterDesc");
			this.lblConverterDesc.Name = "lblConverterDesc";
			this.helpProvider1.SetShowHelp(this.lblConverterDesc, ((bool)(resources.GetObject("lblConverterDesc.ShowHelp"))));
			//
			// btnEncodingConverterNew
			//
			this.helpProvider1.SetHelpString(this.btnEncodingConverterNew, resources.GetString("btnEncodingConverterNew.HelpString"));
			resources.ApplyResources(this.btnEncodingConverterNew, "btnEncodingConverterNew");
			this.btnEncodingConverterNew.Name = "btnEncodingConverterNew";
			this.helpProvider1.SetShowHelp(this.btnEncodingConverterNew, ((bool)(resources.GetObject("btnEncodingConverterNew.ShowHelp"))));
			this.btnEncodingConverterNew.Click += new System.EventHandler(this.btnEncodingConverterNew_Click);
			//
			// cbEncodingConverter
			//
			this.cbEncodingConverter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.helpProvider1.SetHelpString(this.cbEncodingConverter, resources.GetString("cbEncodingConverter.HelpString"));
			resources.ApplyResources(this.cbEncodingConverter, "cbEncodingConverter");
			this.cbEncodingConverter.Name = "cbEncodingConverter";
			this.helpProvider1.SetShowHelp(this.cbEncodingConverter, ((bool)(resources.GetObject("cbEncodingConverter.ShowHelp"))));
			this.cbEncodingConverter.Sorted = true;
			this.cbEncodingConverter.SelectedIndexChanged += new System.EventHandler(this.cbEncodingConverter_SelectedIndexChanged);
			//
			// lblEncodingConverter
			//
			resources.ApplyResources(this.lblEncodingConverter, "lblEncodingConverter");
			this.lblEncodingConverter.Name = "lblEncodingConverter";
			this.helpProvider1.SetShowHelp(this.lblEncodingConverter, ((bool)(resources.GetObject("lblEncodingConverter.ShowHelp"))));
			//
			// m_KeyboardControl
			//
			this.m_KeyboardControl.LangDef = null;
			resources.ApplyResources(this.m_KeyboardControl, "m_KeyboardControl");
			this.m_KeyboardControl.Name = "m_KeyboardControl";
			this.helpProvider1.SetShowHelp(this.m_KeyboardControl, ((bool)(resources.GetObject("m_KeyboardControl.ShowHelp"))));
			//
			// lblKeyboardDesc
			//
			resources.ApplyResources(lblKeyboardDesc, "lblKeyboardDesc");
			lblKeyboardDesc.Name = "lblKeyboardDesc";
			this.helpProvider1.SetShowHelp(lblKeyboardDesc, ((bool)(resources.GetObject("lblKeyboardDesc.ShowHelp"))));
			//
			// lblKeyboard
			//
			resources.ApplyResources(lblKeyboard, "lblKeyboard");
			lblKeyboard.Name = "lblKeyboard";
			this.helpProvider1.SetShowHelp(lblKeyboard, ((bool)(resources.GetObject("lblKeyboard.ShowHelp"))));
			//
			// lblDirectionDesc
			//
			resources.ApplyResources(lblDirectionDesc, "lblDirectionDesc");
			lblDirectionDesc.Name = "lblDirectionDesc";
			this.helpProvider1.SetShowHelp(lblDirectionDesc, ((bool)(resources.GetObject("lblDirectionDesc.ShowHelp"))));
			//
			// lblDirection
			//
			resources.ApplyResources(lblDirection, "lblDirection");
			lblDirection.Name = "lblDirection";
			this.helpProvider1.SetShowHelp(lblDirection, ((bool)(resources.GetObject("lblDirection.ShowHelp"))));
			//
			// lblDefaultFonts
			//
			resources.ApplyResources(lblDefaultFonts, "lblDefaultFonts");
			lblDefaultFonts.Name = "lblDefaultFonts";
			this.helpProvider1.SetShowHelp(lblDefaultFonts, ((bool)(resources.GetObject("lblDefaultFonts.ShowHelp"))));
			//
			// lblSimilarWSDesc
			//
			resources.ApplyResources(lblSimilarWSDesc, "lblSimilarWSDesc");
			lblSimilarWSDesc.Name = "lblSimilarWSDesc";
			this.helpProvider1.SetShowHelp(lblSimilarWSDesc, ((bool)(resources.GetObject("lblSimilarWSDesc.ShowHelp"))));
			//
			// lblSimilarWS
			//
			resources.ApplyResources(lblSimilarWS, "lblSimilarWS");
			lblSimilarWS.Name = "lblSimilarWS";
			this.helpProvider1.SetShowHelp(lblSimilarWS, ((bool)(resources.GetObject("lblSimilarWS.ShowHelp"))));
			//
			// tabPage3
			//
			tabPage3.Controls.Add(label1);
			tabPage3.Controls.Add(lblFontDesc);
			tabPage3.Controls.Add(this.m_defaultFontsControl);
			tabPage3.Controls.Add(this.radioRTL);
			tabPage3.Controls.Add(this.radioLTR);
			tabPage3.Controls.Add(lblDirectionDesc);
			tabPage3.Controls.Add(lblDirection);
			tabPage3.Controls.Add(lblDefaultFonts);
			tabPage3.Controls.Add(this.m_localeMenuButton);
			tabPage3.Controls.Add(lblSimilarWSDesc);
			tabPage3.Controls.Add(lblSimilarWS);
			resources.ApplyResources(tabPage3, "tabPage3");
			tabPage3.Name = "tabPage3";
			this.helpProvider1.SetShowHelp(tabPage3, ((bool)(resources.GetObject("tabPage3.ShowHelp"))));
			//
			// label1
			//
			resources.ApplyResources(label1, "label1");
			label1.Name = "label1";
			this.helpProvider1.SetShowHelp(label1, ((bool)(resources.GetObject("label1.ShowHelp"))));
			//
			// lblFontDesc
			//
			resources.ApplyResources(lblFontDesc, "lblFontDesc");
			lblFontDesc.Name = "lblFontDesc";
			this.helpProvider1.SetShowHelp(lblFontDesc, ((bool)(resources.GetObject("lblFontDesc.ShowHelp"))));
			//
			// m_defaultFontsControl
			//
			this.m_defaultFontsControl.DefaultHeadingFont = "";
			this.m_defaultFontsControl.DefaultNormalFont = "";
			this.m_defaultFontsControl.DefaultPublicationFont = "";
			this.m_defaultFontsControl.LangDef = null;
			resources.ApplyResources(this.m_defaultFontsControl, "m_defaultFontsControl");
			this.m_defaultFontsControl.Name = "m_defaultFontsControl";
			this.helpProvider1.SetShowHelp(this.m_defaultFontsControl, ((bool)(resources.GetObject("m_defaultFontsControl.ShowHelp"))));
			//
			// radioRTL
			//
			resources.ApplyResources(this.radioRTL, "radioRTL");
			this.helpProvider1.SetHelpString(this.radioRTL, resources.GetString("radioRTL.HelpString"));
			this.radioRTL.Name = "radioRTL";
			this.helpProvider1.SetShowHelp(this.radioRTL, ((bool)(resources.GetObject("radioRTL.ShowHelp"))));
			//
			// radioLTR
			//
			this.radioLTR.Checked = true;
			resources.ApplyResources(this.radioLTR, "radioLTR");
			this.helpProvider1.SetHelpString(this.radioLTR, resources.GetString("radioLTR.HelpString"));
			this.radioLTR.Name = "radioLTR";
			this.helpProvider1.SetShowHelp(this.radioLTR, ((bool)(resources.GetObject("radioLTR.ShowHelp"))));
			this.radioLTR.TabStop = true;
			this.radioLTR.CheckedChanged += new System.EventHandler(this.radioLTR_CheckedChanged);
			//
			// m_localeMenuButton
			//
			this.m_localeMenuButton.DisplayLocaleId = null;
			this.helpProvider1.SetHelpString(this.m_localeMenuButton, resources.GetString("m_localeMenuButton.HelpString"));
			resources.ApplyResources(this.m_localeMenuButton, "m_localeMenuButton");
			this.m_localeMenuButton.Name = "m_localeMenuButton";
			this.m_localeMenuButton.SelectedLocaleId = null;
			this.helpProvider1.SetShowHelp(this.m_localeMenuButton, ((bool)(resources.GetObject("m_localeMenuButton.ShowHelp"))));
			//
			// WritingSystemWizard
			//
			this.AcceptButton = null;
			resources.ApplyResources(this, "$this");
			this.Name = "WritingSystemWizard";
			this.helpProvider1.SetShowHelp(this, ((bool)(resources.GetObject("$this.ShowHelp"))));
			this.ShowInTaskbar = false;
			this.StepNames = new string[] {
		resources.GetString("$this.StepNames"),
		resources.GetString("$this.StepNames1"),
		resources.GetString("$this.StepNames2"),
		resources.GetString("$this.StepNames3")};
			this.StepPageCount = 4;
			this.Closing += new System.ComponentModel.CancelEventHandler(this.WritingSystemWizard_Closing);
			this.tabSteps.ResumeLayout(false);
			tabPage1.ResumeLayout(false);
			tabPage2.ResumeLayout(false);
			tabPage2.PerformLayout();
			tabPage4.ResumeLayout(false);
			tabPage3.ResumeLayout(false);
			this.ResumeLayout(false);
			this.PerformLayout();

		}
Beispiel #8
0
			/// ------------------------------------------------------------------------------------
			/// <summary>
			///
			/// </summary>
			/// <param name="parent"></param>
			/// ------------------------------------------------------------------------------------
			public TrapEnterFilter(LanguageSetup parent)
			{
				this.m_parent = parent;
			}