/// <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(DefaultFontsControl)); this.m_defaultFontLabel = new System.Windows.Forms.Label(); this.m_helpProvider = new System.Windows.Forms.HelpProvider(); this.m_defaultFontComboBox = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox(); this.m_defaultFontFeaturesButton = new SIL.FieldWorks.FwCoreDlgControls.FontFeaturesButton(); this.m_enableGraphiteCheckBox = new System.Windows.Forms.CheckBox(); this.m_graphiteGroupBox = new System.Windows.Forms.GroupBox(); this.m_graphiteGroupBox.SuspendLayout(); this.SuspendLayout(); // // m_defaultFontLabel // resources.ApplyResources(this.m_defaultFontLabel, "m_defaultFontLabel"); this.m_defaultFontLabel.BackColor = System.Drawing.Color.Transparent; this.m_defaultFontLabel.Name = "m_defaultFontLabel"; this.m_helpProvider.SetShowHelp(this.m_defaultFontLabel, ((bool)(resources.GetObject("m_defaultFontLabel.ShowHelp")))); // // m_defaultFontComboBox // this.m_defaultFontComboBox.AllowSpaceInEditBox = false; this.m_defaultFontComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_helpProvider.SetHelpString(this.m_defaultFontComboBox, resources.GetString("m_defaultFontComboBox.HelpString")); resources.ApplyResources(this.m_defaultFontComboBox, "m_defaultFontComboBox"); this.m_defaultFontComboBox.Name = "m_defaultFontComboBox"; this.m_helpProvider.SetShowHelp(this.m_defaultFontComboBox, ((bool)(resources.GetObject("m_defaultFontComboBox.ShowHelp")))); this.m_defaultFontComboBox.SelectedIndexChanged += new System.EventHandler(this.m_defaultFontComboBox_SelectedIndexChanged); // // m_defaultFontFeaturesButton // resources.ApplyResources(this.m_defaultFontFeaturesButton, "m_defaultFontFeaturesButton"); this.m_defaultFontFeaturesButton.FontFeatures = null; this.m_defaultFontFeaturesButton.FontName = null; this.m_helpProvider.SetHelpString(this.m_defaultFontFeaturesButton, resources.GetString("m_defaultFontFeaturesButton.HelpString")); this.m_defaultFontFeaturesButton.Name = "m_defaultFontFeaturesButton"; this.m_helpProvider.SetShowHelp(this.m_defaultFontFeaturesButton, ((bool)(resources.GetObject("m_defaultFontFeaturesButton.ShowHelp")))); this.m_defaultFontFeaturesButton.WritingSystemFactory = null; this.m_defaultFontFeaturesButton.FontFeatureSelected += new System.EventHandler(this.m_defaultFontFeaturesButton_FontFeatureSelected); // // m_enableGraphiteCheckBox // resources.ApplyResources(this.m_enableGraphiteCheckBox, "m_enableGraphiteCheckBox"); this.m_enableGraphiteCheckBox.Name = "m_enableGraphiteCheckBox"; this.m_enableGraphiteCheckBox.UseVisualStyleBackColor = true; this.m_enableGraphiteCheckBox.Click += new System.EventHandler(this.m_enableGraphiteCheckBox_Click); // // m_graphiteGroupBox // this.m_graphiteGroupBox.Controls.Add(this.m_enableGraphiteCheckBox); this.m_graphiteGroupBox.Controls.Add(this.m_defaultFontFeaturesButton); resources.ApplyResources(this.m_graphiteGroupBox, "m_graphiteGroupBox"); this.m_graphiteGroupBox.Name = "m_graphiteGroupBox"; this.m_graphiteGroupBox.TabStop = false; // // DefaultFontsControl // this.Controls.Add(this.m_graphiteGroupBox); this.Controls.Add(this.m_defaultFontComboBox); this.Controls.Add(this.m_defaultFontLabel); this.Name = "DefaultFontsControl"; this.m_helpProvider.SetShowHelp(this, ((bool)(resources.GetObject("$this.ShowHelp")))); resources.ApplyResources(this, "$this"); this.m_graphiteGroupBox.ResumeLayout(false); this.m_graphiteGroupBox.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// -------------------------------------------------------------------------------- /// <summary> /// Initializes a new instance of the <see cref="T:FontFeatureMenuItem"/> class. /// </summary> /// <param name="label">The label.</param> /// <param name="featureIndex">Index of the feature.</param> /// <param name="ffbtn">The FFBTN.</param> /// -------------------------------------------------------------------------------- internal FontFeatureMenuItem(string label, int featureIndex, FontFeaturesButton ffbtn) : base(label, ffbtn.ItemClickHandler) { m_featureIndex = featureIndex; }
/// -------------------------------------------------------------------------------- /// <summary> /// Initializes a new instance of the <see cref="T:FontFeatureMenuItem"/> class. /// </summary> /// <param name="label">The label.</param> /// <param name="featureIndex">Index of the feature.</param> /// <param name="ffbtn">The FFBTN.</param> /// -------------------------------------------------------------------------------- internal FontFeatureMenuItem(string label, int featureIndex, FontFeaturesButton ffbtn) : base(label, ffbtn.ItemClickHandler) { m_featureIndex = featureIndex; }
/// <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(DefaultFontsControl)); this.m_defaultFontLabel = new System.Windows.Forms.Label(); this.m_helpProvider = new System.Windows.Forms.HelpProvider(); this.m_defaultFontComboBox = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox(); this.m_defaultFontFeaturesButton = new SIL.FieldWorks.FwCoreDlgControls.FontFeaturesButton(); this.m_enableGraphiteCheckBox = new System.Windows.Forms.CheckBox(); this.m_graphiteGroupBox = new System.Windows.Forms.GroupBox(); this.m_graphiteGroupBox.SuspendLayout(); this.SuspendLayout(); // // m_defaultFontLabel // resources.ApplyResources(this.m_defaultFontLabel, "m_defaultFontLabel"); this.m_defaultFontLabel.BackColor = System.Drawing.Color.Transparent; this.m_defaultFontLabel.Name = "m_defaultFontLabel"; this.m_helpProvider.SetShowHelp(this.m_defaultFontLabel, ((bool)(resources.GetObject("m_defaultFontLabel.ShowHelp")))); // // m_defaultFontComboBox // this.m_defaultFontComboBox.AllowSpaceInEditBox = false; this.m_defaultFontComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_helpProvider.SetHelpString(this.m_defaultFontComboBox, resources.GetString("m_defaultFontComboBox.HelpString")); resources.ApplyResources(this.m_defaultFontComboBox, "m_defaultFontComboBox"); this.m_defaultFontComboBox.Name = "m_defaultFontComboBox"; this.m_helpProvider.SetShowHelp(this.m_defaultFontComboBox, ((bool)(resources.GetObject("m_defaultFontComboBox.ShowHelp")))); this.m_defaultFontComboBox.SelectedIndexChanged += new System.EventHandler(this.m_defaultFontComboBox_SelectedIndexChanged); // // m_defaultFontFeaturesButton // resources.ApplyResources(this.m_defaultFontFeaturesButton, "m_defaultFontFeaturesButton"); this.m_defaultFontFeaturesButton.FontFeatures = null; this.m_defaultFontFeaturesButton.FontName = null; this.m_helpProvider.SetHelpString(this.m_defaultFontFeaturesButton, resources.GetString("m_defaultFontFeaturesButton.HelpString")); this.m_defaultFontFeaturesButton.Name = "m_defaultFontFeaturesButton"; this.m_helpProvider.SetShowHelp(this.m_defaultFontFeaturesButton, ((bool)(resources.GetObject("m_defaultFontFeaturesButton.ShowHelp")))); this.m_defaultFontFeaturesButton.WritingSystemFactory = null; this.m_defaultFontFeaturesButton.FontFeatureSelected += new System.EventHandler(this.m_defaultFontFeaturesButton_FontFeatureSelected); // // m_enableGraphiteCheckBox // resources.ApplyResources(this.m_enableGraphiteCheckBox, "m_enableGraphiteCheckBox"); this.m_enableGraphiteCheckBox.Name = "m_enableGraphiteCheckBox"; this.m_enableGraphiteCheckBox.UseVisualStyleBackColor = true; this.m_enableGraphiteCheckBox.Click += new System.EventHandler(this.m_enableGraphiteCheckBox_Click); // // m_graphiteGroupBox // this.m_graphiteGroupBox.Controls.Add(this.m_enableGraphiteCheckBox); this.m_graphiteGroupBox.Controls.Add(this.m_defaultFontFeaturesButton); resources.ApplyResources(this.m_graphiteGroupBox, "m_graphiteGroupBox"); this.m_graphiteGroupBox.Name = "m_graphiteGroupBox"; this.m_graphiteGroupBox.TabStop = false; // // DefaultFontsControl // this.Controls.Add(this.m_graphiteGroupBox); this.Controls.Add(this.m_defaultFontComboBox); this.Controls.Add(this.m_defaultFontLabel); this.Name = "DefaultFontsControl"; this.m_helpProvider.SetShowHelp(this, ((bool)(resources.GetObject("$this.ShowHelp")))); resources.ApplyResources(this, "$this"); this.m_graphiteGroupBox.ResumeLayout(false); this.m_graphiteGroupBox.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }