FwTextBox is a simulation of a regular Windows.Forms.TextBox. It has much the same interface, though not all events and properties are yet supported. There are two main differences: (1) It is implemented using FieldWorks Views, and hence can render Graphite fonts properly. (2) You can read and write the contents as an ITsString, using the Tss property, allowing formatting to vary based on the properties of string runs. Although there is not yet any support for the user to alter run properties while inside the FwTextBox, it is possible to paste text from elsewhere in an FW application complete with style information. You must also pass your writing system factory to the FwTextBox (set the WritingSystemFactory property). Otherwise, the combo box will not be able to interpret the writing systems of any TsStrings it is asked to display. It will improve performance to do this even if you are not using TsString data.
Inheritance: System.Windows.Forms.UserControl, IFWDisposable, IVwNotifyChange, ISupportInitialize
Ejemplo n.º 1
0
		/// <summary>
		/// Constructor for Morph Break Helper Context Menu
		/// </summary>
		/// <param name="textbox">the textbox to insert regex characters into</param>
		/// <param name="helpTopicProvider">usually IHelpTopicProvider.App</param>
		/// <param name="cache">cache</param>
		/// <param name="stringTable">stringTable</param>
		public MorphBreakHelperMenu(FwTextBox textbox, IHelpTopicProvider helpTopicProvider, FdoCache cache, StringTable stringTable)
			: base(textbox, helpTopicProvider)
		{
			m_cache = cache;
			m_stringTable = stringTable;
			Init();
		}
Ejemplo n.º 2
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Initializes a new instance of the <see cref="T:SimpleMatchDlg"/> class.
		/// </summary>
		/// <param name="wsf">The WSF.</param>
		/// <param name="ws">The ws.</param>
		/// <param name="ss">The ss.</param>
		/// ------------------------------------------------------------------------------------
		public SimpleMatchDlg(ILgWritingSystemFactory wsf, int ws, IVwStylesheet ss)
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			// We do this outside the designer-controlled code because it does funny things
			// to FwTextBoxes, owing to the need for a writing system factory, and some
			// properties it should not persist but I can't persuade it not to.
			this.m_textBox = new FwTextBox();
			this.m_textBox.WritingSystemFactory = wsf; // set ASAP.
			this.m_textBox.WritingSystemCode = ws;
			this.m_textBox.StyleSheet = ss; // before setting text, otherwise it gets confused about height needed.
			this.m_textBox.Location = new System.Drawing.Point(8, 24);
			this.m_textBox.Name = "m_textBox";
			this.m_textBox.Size = new System.Drawing.Size(450, 32);
			this.m_textBox.TabIndex = 0;
			this.m_textBox.Text = "";
			this.Controls.Add(this.m_textBox);

			regexContextMenu = new RegexHelperMenu(m_textBox, FwApp.App);

			m_ivwpattern = VwPatternClass.Create();

			helpProvider = new System.Windows.Forms.HelpProvider();
			helpProvider.HelpNamespace = FwApp.App.HelpFile;
			helpProvider.SetHelpKeyword(this, FwApp.App.GetHelpString(s_helpTopic, 0));
			helpProvider.SetHelpNavigator(this, System.Windows.Forms.HelpNavigator.Topic);
		}
Ejemplo n.º 3
0
		public void TestFwTextBoxSize()
		{
			using (var textBox = new FwTextBox())
			{
				textBox.AdjustStringHeight = true;
				textBox.controlID = null;
				textBox.Enabled = false;
				textBox.TabStop = false;
				textBox.BackColor = System.Drawing.SystemColors.Control;
				textBox.HasBorder = false;
				textBox.Location = new System.Drawing.Point(5, 5);
				textBox.Size = new System.Drawing.Size(100, 30);
				textBox.Dock = System.Windows.Forms.DockStyle.Fill;
				textBox.Visible = true;
				textBox.WordWrap = false;

				textBox.Tss = TsStringHelper.MakeTSS("Test", m_hvoEnglishWs);
				Assert.LessOrEqual(textBox.PreferredHeight, textBox.Height, "The simple string should fit within the default height.");
				Assert.LessOrEqual(textBox.PreferredWidth, textBox.Width, "The simple string should fit within the default width.");

				textBox.Tss = TsStringHelper.MakeTSS("This is a very long string that should be larger than the default box size in some way or other.", m_hvoEnglishWs);
				Console.WriteLine("PreferredHeight 2 = {0}", textBox.PreferredHeight);
				Console.WriteLine("PreferredWidth 2 = {0}", textBox.PreferredWidth);
				Assert.LessOrEqual(textBox.PreferredHeight, textBox.Height, "The longer string should still fit within the default height (for no wordwrapping).");
				Assert.Greater(textBox.PreferredWidth, textBox.Width, "The longer string should not fit within the default width (for no wordwrapping)");

				textBox.WordWrap = true;
				textBox.Tss = TsStringHelper.MakeTSS("This is a very long string that should be even larger than the default box size in some way or other.", m_hvoEnglishWs);
				Console.WriteLine("PreferredHeight 3 = {0}", textBox.PreferredHeight);
				Console.WriteLine("PreferredWidth 3 = {0}", textBox.PreferredWidth);
				Assert.Greater(textBox.PreferredHeight, textBox.Height, "The longest string should not fit within the default height (for wordwrapping).");
				Assert.LessOrEqual(textBox.PreferredWidth, textBox.Width, "The longest string should fit with the default width (for wordwrapping).");
			}
		}
Ejemplo n.º 4
0
		public WebPageInteractor(HtmlControl htmlControl, Mediator mediator, FwTextBox tbWordForm)
		{
			m_htmlControl = htmlControl;
			m_mediator = mediator;
			m_cache = (FdoCache)m_mediator.PropertyTable.GetValue("cache");
			m_tbWordForm = tbWordForm;
			m_htmlControl.Browser.DomClick += HandleDomClick;
		}
Ejemplo n.º 5
0
 /// <summary>
 /// Requires a language object
 /// </summary>
 /// <param name="lang"></param>
 public WebPageInteractor(HtmlControl htmlControl, ParserTrace parserTrace, Mediator mediator, SIL.FieldWorks.Common.Widgets.FwTextBox tbWordForm)
 {
     m_htmlControl = htmlControl;
     m_parserTrace = parserTrace;
     m_mediator    = mediator;
     m_cache       = (FdoCache)m_mediator.PropertyTable.GetValue("cache");
     m_tbWordForm  = tbWordForm;
 }
Ejemplo n.º 6
0
		public ConfirmDeleteObjectDlg()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			this.pictureBox1.Image = System.Drawing.SystemIcons.Exclamation.ToBitmap();

			//
			// m_descriptionBox3
			//
			this.m_descriptionBox3 = new FwTextBox();
			this.m_descriptionBox3.AdjustStringHeight = true;
			this.m_descriptionBox3.AllowMultipleLines = true;
			this.m_descriptionBox3.controlID = null;
			this.m_descriptionBox3.Name = "m_descriptionBox3";
			this.m_descriptionBox3.Enabled = false;
			this.m_descriptionBox3.TabStop = false;
			this.m_descriptionBox3.AccessibleName = "FwTextBox";
			this.m_descriptionBox3.AutoScroll = true;
			this.m_descriptionBox3.BackColor = System.Drawing.SystemColors.Control; // not implemented: System.Drawing.Color.Transparent;
			this.m_descriptionBox3.HasBorder = false;
			this.m_descriptionBox3.Location = new System.Drawing.Point(5, 5);
			this.m_descriptionBox3.Size = new System.Drawing.Size(304, 184);
			this.m_descriptionBox3.TabIndex = 0;
			this.m_descriptionBox3.TabStop = false;
			this.m_descriptionBox3.Dock = System.Windows.Forms.DockStyle.Fill;
			this.m_descriptionBox3.Visible = true;

			panel1.Controls.Add(m_descriptionBox3);

			//
			// m_descriptionBox3
			//
			this.m_descriptionBox4 = new FwTextBox();
			this.m_descriptionBox4.AdjustStringHeight = true;
			this.m_descriptionBox4.AllowMultipleLines = true;
			this.m_descriptionBox4.controlID = null;
			this.m_descriptionBox4.Name = "m_descriptionBox4";
			this.m_descriptionBox4.Enabled = false;
			this.m_descriptionBox4.TabStop = false;
			this.m_descriptionBox4.AccessibleName = "FwTextBox";
			this.m_descriptionBox4.AutoScroll = true;
			this.m_descriptionBox4.BackColor = System.Drawing.SystemColors.Control; // not implemented: System.Drawing.Color.Transparent;
			this.m_descriptionBox4.HasBorder = false;
			this.m_descriptionBox4.Location = new System.Drawing.Point(16,56);
			this.m_descriptionBox4.Size = new System.Drawing.Size(304, 184);
			this.m_descriptionBox4.TabIndex = 0;
			this.m_descriptionBox4.TabStop = false;
			this.m_descriptionBox4.Dock = System.Windows.Forms.DockStyle.Fill;
			this.m_descriptionBox4.Visible = true;

			panel2.Controls.Add(m_descriptionBox4);
		}
Ejemplo n.º 7
0
        public ConfirmDeleteObjectDlg()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.pictureBox1.Image = System.Drawing.SystemIcons.Exclamation.ToBitmap();

            //
            // m_descriptionBox3
            //
            this.m_descriptionBox3 = new FwTextBox();
            this.m_descriptionBox3.AdjustStringHeight = true;
            this.m_descriptionBox3.AllowMultipleLines = true;
            this.m_descriptionBox3.controlID          = null;
            this.m_descriptionBox3.Name           = "m_descriptionBox3";
            this.m_descriptionBox3.Enabled        = false;
            this.m_descriptionBox3.TabStop        = false;
            this.m_descriptionBox3.AccessibleName = "FwTextBox";
            this.m_descriptionBox3.AutoScroll     = true;
            this.m_descriptionBox3.BackColor      = System.Drawing.SystemColors.Control;        // not implemented: System.Drawing.Color.Transparent;
            this.m_descriptionBox3.HasBorder      = false;
            this.m_descriptionBox3.Location       = new System.Drawing.Point(5, 5);
            this.m_descriptionBox3.Size           = new System.Drawing.Size(304, 184);
            this.m_descriptionBox3.TabIndex       = 0;
            this.m_descriptionBox3.TabStop        = false;
            this.m_descriptionBox3.Dock           = System.Windows.Forms.DockStyle.Fill;
            this.m_descriptionBox3.Visible        = true;

            panel1.Controls.Add(m_descriptionBox3);

            //
            // m_descriptionBox3
            //
            this.m_descriptionBox4 = new FwTextBox();
            this.m_descriptionBox4.AdjustStringHeight = true;
            this.m_descriptionBox4.AllowMultipleLines = true;
            this.m_descriptionBox4.controlID          = null;
            this.m_descriptionBox4.Name           = "m_descriptionBox4";
            this.m_descriptionBox4.Enabled        = false;
            this.m_descriptionBox4.TabStop        = false;
            this.m_descriptionBox4.AccessibleName = "FwTextBox";
            this.m_descriptionBox4.AutoScroll     = true;
            this.m_descriptionBox4.BackColor      = System.Drawing.SystemColors.Control;        // not implemented: System.Drawing.Color.Transparent;
            this.m_descriptionBox4.HasBorder      = false;
            this.m_descriptionBox4.Location       = new System.Drawing.Point(16, 56);
            this.m_descriptionBox4.Size           = new System.Drawing.Size(304, 184);
            this.m_descriptionBox4.TabIndex       = 0;
            this.m_descriptionBox4.TabStop        = false;
            this.m_descriptionBox4.Dock           = System.Windows.Forms.DockStyle.Fill;
            this.m_descriptionBox4.Visible        = true;

            panel2.Controls.Add(m_descriptionBox4);
        }
Ejemplo n.º 8
0
		public WebPageInteractor(HtmlControl htmlControl, Mediator mediator, FwTextBox tbWordForm)
		{
			m_htmlControl = htmlControl;
			m_mediator = mediator;
			m_cache = (FdoCache)m_mediator.PropertyTable.GetValue("cache");
			m_tbWordForm = tbWordForm;
#if __MonoCS__
			m_htmlControl.Browser.DomClick += HandleDomClick;
			m_htmlControl.Browser.DomMouseMove += HandleHtmlControlBrowserDomMouseMove;
#endif
		}
Ejemplo n.º 9
0
        private void AdjustHeightAndPositions(SIL.FieldWorks.Common.Widgets.FwTextBox fwtb)
        {
            int oldHeight = fwtb.Height;
            int newHeight = Math.Max(oldHeight, fwtb.PreferredHeight);
            int delta     = newHeight - oldHeight;

            if (delta > 0)
            {
                fwtb.Height = newHeight;
                FontHeightAdjuster.GrowDialogAndAdjustControls(this, delta, fwtb);
            }
        }
Ejemplo n.º 10
0
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            Debug.WriteLineIf(!disposing, "****** Missing Dispose() call for " + GetType().Name + ". ****** ");
            // Must not be run more than once.
            if (IsDisposed)
            {
                return;
            }

            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }
            }
            m_cache = null;
            m_fwTextBoxBottomMsg = null;
            m_mediator           = null;

            base.Dispose(disposing);
        }
		public SwapLexemeWithAllomorphDlg()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();
			AccessibleName = GetType().Name;

			SuspendLayout();
			m_fwTextBoxBottomMsg = new FwTextBox();
			((System.ComponentModel.ISupportInitialize)(m_fwTextBoxBottomMsg)).BeginInit();
			//
			// m_fwTextBoxBottomMsg
			//
			m_fwTextBoxBottomMsg.BackColor = SystemColors.Control;
			m_fwTextBoxBottomMsg.HasBorder = false;
			m_fwTextBoxBottomMsg.CausesValidation = false;
			m_fwTextBoxBottomMsg.controlID = null;
			m_fwTextBoxBottomMsg.Enabled = false;
			m_fwTextBoxBottomMsg.Location = new Point(46, 240);
			m_fwTextBoxBottomMsg.Name = "m_fwTextBoxBottomMsg";
			m_fwTextBoxBottomMsg.SelectionLength = 0;
			m_fwTextBoxBottomMsg.SelectionStart = 0;
			m_fwTextBoxBottomMsg.Size = new Size(386, 45);
			m_fwTextBoxBottomMsg.TabIndex = 1;
			// Can't do this yet as m_cache is not set until SetDlgInfo() is run.
			//m_fwTextBoxBottomMsg.WritingSystemFactory = m_cache.WritingSystemFactory;
			//m_fwTextBoxBottomMsg.WritingSystemCode = 1;
			Controls.Add(m_fwTextBoxBottomMsg);

			m_lvAlloOptions.TabIndex = 0;
			btnOK.TabIndex = 2;
			btnClose.TabIndex = 3;
			var infoIcon = SystemIcons.Information;
			pictureBox1.Image = infoIcon.ToBitmap();
			pictureBox1.Size = infoIcon.Size;
			ResumeLayout(false);
		}
Ejemplo n.º 12
0
 /// <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(ReversalEntryGoDlg));
     this.m_tbForm        = new SIL.FieldWorks.Common.Widgets.FwTextBox();
     this.label1          = new System.Windows.Forms.Label();
     this.btnHelp         = new System.Windows.Forms.Button();
     this.btnInsert       = new System.Windows.Forms.Button();
     this.btnOK           = new System.Windows.Forms.Button();
     this.btnClose        = new System.Windows.Forms.Button();
     this.label2          = new System.Windows.Forms.Label();
     this.matchingEntries = new SIL.FieldWorks.LexText.Controls.MatchingEntries();
     ((System.ComponentModel.ISupportInitialize)(this.m_tbForm)).BeginInit();
     this.SuspendLayout();
     //
     // m_tbForm
     //
     this.m_tbForm.AdjustStringHeight = true;
     this.m_tbForm.AllowMultipleLines = false;
     this.m_tbForm.BackColor          = System.Drawing.SystemColors.Window;
     this.m_tbForm.controlID          = null;
     resources.ApplyResources(this.m_tbForm, "m_tbForm");
     this.m_tbForm.Name            = "m_tbForm";
     this.m_tbForm.SelectionLength = 0;
     this.m_tbForm.SelectionStart  = 0;
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // btnHelp
     //
     resources.ApplyResources(this.btnHelp, "btnHelp");
     this.btnHelp.Name   = "btnHelp";
     this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
     //
     // btnInsert
     //
     resources.ApplyResources(this.btnInsert, "btnInsert");
     this.btnInsert.Name = "btnInsert";
     //
     // btnOK
     //
     resources.ApplyResources(this.btnOK, "btnOK");
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.Name         = "btnOK";
     //
     // btnClose
     //
     resources.ApplyResources(this.btnClose, "btnClose");
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.Name         = "btnClose";
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // matchingEntries
     //
     resources.ApplyResources(this.matchingEntries, "matchingEntries");
     this.matchingEntries.Name    = "matchingEntries";
     this.matchingEntries.TabStop = false;
     //
     // ReversalEntryGoDlgNew
     //
     this.AcceptButton = this.btnOK;
     resources.ApplyResources(this, "$this");
     this.CancelButton = this.btnClose;
     this.Controls.Add(this.matchingEntries);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.btnHelp);
     this.Controls.Add(this.btnInsert);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.m_tbForm);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "ReversalEntryGoDlgNew";
     ((System.ComponentModel.ISupportInitialize)(this.m_tbForm)).EndInit();
     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()
		{
			this.components = new System.ComponentModel.Container();
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WritingSystemPropertiesDialog));
			this.tabControl = new System.Windows.Forms.TabControl();
			this.tpGeneral = new System.Windows.Forms.TabPage();
			this.lblScriptRegionVariant = new System.Windows.Forms.Label();
			this.m_FullCode = new System.Windows.Forms.Label();
			this.lblFullCode = new System.Windows.Forms.Label();
			this.lblSpellingDictionary = new System.Windows.Forms.Label();
			this.cbDictionaries = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.m_regionVariantControl = new SIL.FieldWorks.FwCoreDlgControls.RegionVariantControl();
			this.gbDirection = new System.Windows.Forms.GroupBox();
			this.rbLeftToRight = new System.Windows.Forms.RadioButton();
			this.rbRightToLeft = new System.Windows.Forms.RadioButton();
			this.m_ShortWsName = new System.Windows.Forms.TextBox();
			this.label5 = new System.Windows.Forms.Label();
			this.tpFonts = new System.Windows.Forms.TabPage();
			this.m_defaultFontsControl = new SIL.FieldWorks.FwCoreDlgControls.DefaultFontsControl();
			this.tpKeyboard = new System.Windows.Forms.TabPage();
			this.m_fwTextBoxTestWs = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.m_KeyboardControl = new SIL.FieldWorks.FwCoreDlgControls.KeyboardControl();
			this.m_lblKeyboardTestInstr = new System.Windows.Forms.Label();
			this.m_linkKeymanConfiguration = new System.Windows.Forms.LinkLabel();
			this.m_linkWindowsKeyboard = new System.Windows.Forms.LinkLabel();
			this.m_lblKeyboardSetupInst = new System.Windows.Forms.Label();
			this.m_lblKeyboardInstruction = new System.Windows.Forms.Label();
			this.tpConverters = new System.Windows.Forms.TabPage();
			this.btnEncodingConverter = new System.Windows.Forms.Button();
			this.m_lblEncodingConverter = new System.Windows.Forms.Label();
			this.cbEncodingConverter = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.tpSorting = new System.Windows.Forms.TabPage();
			this.m_angleBracketButton = new System.Windows.Forms.Button();
			this.m_ampersandButton = new System.Windows.Forms.Button();
			this.btnSimilarWs = new SIL.FieldWorks.FwCoreDlgControls.LocaleMenuButton();
			this.lblSimilarWss = new System.Windows.Forms.Label();
			this.lblSortingBelowRules = new System.Windows.Forms.Label();
			this.lblSortingRule3 = new System.Windows.Forms.Label();
			this.lblSortingRule2 = new System.Windows.Forms.Label();
			this.lblSortingRule1 = new System.Windows.Forms.Label();
			this.txtIcuRules = new System.Windows.Forms.TextBox();
			this.lblSortingAboveRules = new System.Windows.Forms.Label();
			this.tpPUACharacters = new System.Windows.Forms.TabPage();
			this.m_lblCustomCharCondition3 = new System.Windows.Forms.Label();
			this.m_lblCustomCharCondition2 = new System.Windows.Forms.Label();
			this.m_lblCustomCharCondition1 = new System.Windows.Forms.Label();
			this.m_lblPunctuation = new System.Windows.Forms.Label();
			this.btnPunctuation = new System.Windows.Forms.Button();
			this.m_lblCustomCharInstructions = new System.Windows.Forms.Label();
			this.m_lblValidCharacters = new System.Windows.Forms.Label();
			this.lblCustomPUA = new System.Windows.Forms.Label();
			this.btnValidChars = new System.Windows.Forms.Button();
			this.m_btnModifyPUA = new System.Windows.Forms.Button();
			this.m_btnNewPUA = new System.Windows.Forms.Button();
			this.m_lstPUACharacters = new System.Windows.Forms.CheckedListBox();
			this.btnModifyEthnologueInfo = new System.Windows.Forms.Button();
			this.btnHelp = new System.Windows.Forms.Button();
			this.btnCancel = new System.Windows.Forms.Button();
			this.btnOk = new System.Windows.Forms.Button();
			this.helpProvider = new System.Windows.Forms.HelpProvider();
			this.m_listBoxRelatedWSs = new System.Windows.Forms.ListBox();
			this.btnAdd = new System.Windows.Forms.Button();
			this.btnCopy = new System.Windows.Forms.Button();
			this.btnRemove = new System.Windows.Forms.Button();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.m_linkToEthnologue = new System.Windows.Forms.LinkLabel();
			this.m_LanguageCode = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.m_tbLanguageName = new System.Windows.Forms.TextBox();
			this.label1 = new System.Windows.Forms.Label();
			this.m_writingSystemsFor = new System.Windows.Forms.Label();
			this.lblHiddenWss = new System.Windows.Forms.Label();
			this.m_toolTip = new System.Windows.Forms.ToolTip(this.components);
			this.tabControl.SuspendLayout();
			this.tpGeneral.SuspendLayout();
			this.gbDirection.SuspendLayout();
			this.tpFonts.SuspendLayout();
			this.tpKeyboard.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.m_fwTextBoxTestWs)).BeginInit();
			this.tpConverters.SuspendLayout();
			this.tpSorting.SuspendLayout();
			this.tpPUACharacters.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.SuspendLayout();
			//
			// tabControl
			//
			this.tabControl.Controls.Add(this.tpGeneral);
			this.tabControl.Controls.Add(this.tpFonts);
			this.tabControl.Controls.Add(this.tpKeyboard);
			this.tabControl.Controls.Add(this.tpConverters);
			this.tabControl.Controls.Add(this.tpSorting);
			this.tabControl.Controls.Add(this.tpPUACharacters);
			this.tabControl.HotTrack = true;
			resources.ApplyResources(this.tabControl, "tabControl");
			this.tabControl.Name = "tabControl";
			this.tabControl.SelectedIndex = 0;
			this.helpProvider.SetShowHelp(this.tabControl, ((bool)(resources.GetObject("tabControl.ShowHelp"))));
			this.tabControl.Deselecting += new System.Windows.Forms.TabControlCancelEventHandler(this.tabControl_Deselecting);
			this.tabControl.SelectedIndexChanged += new System.EventHandler(this.tabControl_SelectedIndexChanged);
			//
			// tpGeneral
			//
			this.tpGeneral.Controls.Add(this.lblScriptRegionVariant);
			this.tpGeneral.Controls.Add(this.m_FullCode);
			this.tpGeneral.Controls.Add(this.lblFullCode);
			this.tpGeneral.Controls.Add(this.lblSpellingDictionary);
			this.tpGeneral.Controls.Add(this.cbDictionaries);
			this.tpGeneral.Controls.Add(this.m_regionVariantControl);
			this.tpGeneral.Controls.Add(this.gbDirection);
			this.tpGeneral.Controls.Add(this.m_ShortWsName);
			this.tpGeneral.Controls.Add(this.label5);
			resources.ApplyResources(this.tpGeneral, "tpGeneral");
			this.tpGeneral.Name = "tpGeneral";
			this.helpProvider.SetShowHelp(this.tpGeneral, ((bool)(resources.GetObject("tpGeneral.ShowHelp"))));
			this.tpGeneral.UseVisualStyleBackColor = true;
			//
			// lblScriptRegionVariant
			//
			resources.ApplyResources(this.lblScriptRegionVariant, "lblScriptRegionVariant");
			this.lblScriptRegionVariant.Name = "lblScriptRegionVariant";
			this.helpProvider.SetShowHelp(this.lblScriptRegionVariant, ((bool)(resources.GetObject("lblScriptRegionVariant.ShowHelp"))));
			//
			// m_FullCode
			//
			resources.ApplyResources(this.m_FullCode, "m_FullCode");
			this.m_FullCode.Name = "m_FullCode";
			//
			// lblFullCode
			//
			resources.ApplyResources(this.lblFullCode, "lblFullCode");
			this.lblFullCode.Name = "lblFullCode";
			//
			// lblSpellingDictionary
			//
			resources.ApplyResources(this.lblSpellingDictionary, "lblSpellingDictionary");
			this.lblSpellingDictionary.Name = "lblSpellingDictionary";
			//
			// cbDictionaries
			//
			this.cbDictionaries.AllowSpaceInEditBox = false;
			this.cbDictionaries.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cbDictionaries.FormattingEnabled = true;
			resources.ApplyResources(this.cbDictionaries, "cbDictionaries");
			this.cbDictionaries.Name = "cbDictionaries";
			this.cbDictionaries.Sorted = true;
			this.cbDictionaries.TextChanged += new System.EventHandler(this.cbDictionaries_TextChanged);
			//
			// m_regionVariantControl
			//
			this.m_regionVariantControl.BackColor = System.Drawing.Color.Transparent;
			this.m_regionVariantControl.LangDef = null;
			resources.ApplyResources(this.m_regionVariantControl, "m_regionVariantControl");
			this.m_regionVariantControl.Name = "m_regionVariantControl";
			this.m_regionVariantControl.PropDlg = false;
			this.helpProvider.SetShowHelp(this.m_regionVariantControl, ((bool)(resources.GetObject("m_regionVariantControl.ShowHelp"))));
			//
			// gbDirection
			//
			this.gbDirection.Controls.Add(this.rbLeftToRight);
			this.gbDirection.Controls.Add(this.rbRightToLeft);
			resources.ApplyResources(this.gbDirection, "gbDirection");
			this.gbDirection.Name = "gbDirection";
			this.helpProvider.SetShowHelp(this.gbDirection, ((bool)(resources.GetObject("gbDirection.ShowHelp"))));
			this.gbDirection.TabStop = false;
			//
			// rbLeftToRight
			//
			this.helpProvider.SetHelpString(this.rbLeftToRight, resources.GetString("rbLeftToRight.HelpString"));
			resources.ApplyResources(this.rbLeftToRight, "rbLeftToRight");
			this.rbLeftToRight.Name = "rbLeftToRight";
			this.helpProvider.SetShowHelp(this.rbLeftToRight, ((bool)(resources.GetObject("rbLeftToRight.ShowHelp"))));
			this.rbLeftToRight.TabStop = true;
			this.rbLeftToRight.CheckedChanged += new System.EventHandler(this.rbLeftToRight_CheckedChanged);
			//
			// rbRightToLeft
			//
			this.helpProvider.SetHelpString(this.rbRightToLeft, resources.GetString("rbRightToLeft.HelpString"));
			resources.ApplyResources(this.rbRightToLeft, "rbRightToLeft");
			this.rbRightToLeft.Name = "rbRightToLeft";
			this.helpProvider.SetShowHelp(this.rbRightToLeft, ((bool)(resources.GetObject("rbRightToLeft.ShowHelp"))));
			this.rbRightToLeft.CheckedChanged += new System.EventHandler(this.rbLeftToRight_CheckedChanged);
			//
			// m_ShortWsName
			//
			this.helpProvider.SetHelpString(this.m_ShortWsName, resources.GetString("m_ShortWsName.HelpString"));
			resources.ApplyResources(this.m_ShortWsName, "m_ShortWsName");
			this.m_ShortWsName.Name = "m_ShortWsName";
			this.helpProvider.SetShowHelp(this.m_ShortWsName, ((bool)(resources.GetObject("m_ShortWsName.ShowHelp"))));
			this.m_ShortWsName.TextChanged += new System.EventHandler(this.m_ShortWsName_TextChanged);
			//
			// label5
			//
			resources.ApplyResources(this.label5, "label5");
			this.label5.Name = "label5";
			this.helpProvider.SetShowHelp(this.label5, ((bool)(resources.GetObject("label5.ShowHelp"))));
			//
			// tpFonts
			//
			this.tpFonts.Controls.Add(this.m_defaultFontsControl);
			resources.ApplyResources(this.tpFonts, "tpFonts");
			this.tpFonts.Name = "tpFonts";
			this.helpProvider.SetShowHelp(this.tpFonts, ((bool)(resources.GetObject("tpFonts.ShowHelp"))));
			this.tpFonts.UseVisualStyleBackColor = true;
			//
			// m_defaultFontsControl
			//
			resources.ApplyResources(this.m_defaultFontsControl, "m_defaultFontsControl");
			this.m_defaultFontsControl.DefaultHeadingFont = "";
			this.m_defaultFontsControl.DefaultNormalFont = "";
			this.m_defaultFontsControl.DefaultPublicationFont = "";
			this.helpProvider.SetHelpString(this.m_defaultFontsControl, resources.GetString("m_defaultFontsControl.HelpString"));
			this.m_defaultFontsControl.LangDef = null;
			this.m_defaultFontsControl.Name = "m_defaultFontsControl";
			this.helpProvider.SetShowHelp(this.m_defaultFontsControl, ((bool)(resources.GetObject("m_defaultFontsControl.ShowHelp"))));
			//
			// tpKeyboard
			//
			this.tpKeyboard.Controls.Add(this.m_fwTextBoxTestWs);
			this.tpKeyboard.Controls.Add(this.m_KeyboardControl);
			this.tpKeyboard.Controls.Add(this.m_lblKeyboardTestInstr);
			this.tpKeyboard.Controls.Add(this.m_linkKeymanConfiguration);
			this.tpKeyboard.Controls.Add(this.m_linkWindowsKeyboard);
			this.tpKeyboard.Controls.Add(this.m_lblKeyboardSetupInst);
			this.tpKeyboard.Controls.Add(this.m_lblKeyboardInstruction);
			resources.ApplyResources(this.tpKeyboard, "tpKeyboard");
			this.tpKeyboard.Name = "tpKeyboard";
			this.helpProvider.SetShowHelp(this.tpKeyboard, ((bool)(resources.GetObject("tpKeyboard.ShowHelp"))));
			this.tpKeyboard.UseVisualStyleBackColor = true;
			//
			// m_fwTextBoxTestWs
			//
			this.m_fwTextBoxTestWs.AdjustStringHeight = true;
			this.m_fwTextBoxTestWs.AllowMultipleLines = true;
			this.m_fwTextBoxTestWs.BackColor = System.Drawing.SystemColors.Window;
			this.m_fwTextBoxTestWs.controlID = null;
			resources.ApplyResources(this.m_fwTextBoxTestWs, "m_fwTextBoxTestWs");
			this.m_fwTextBoxTestWs.HasBorder = true;
			this.m_fwTextBoxTestWs.Name = "m_fwTextBoxTestWs";
			this.m_fwTextBoxTestWs.SelectionLength = 0;
			this.m_fwTextBoxTestWs.SelectionStart = 0;
			this.m_fwTextBoxTestWs.Enter += new System.EventHandler(this.m_fwTextBoxTestWs_Enter);
			//
			// m_KeyboardControl
			//
			this.m_KeyboardControl.LangDef = null;
			resources.ApplyResources(this.m_KeyboardControl, "m_KeyboardControl");
			this.m_KeyboardControl.Name = "m_KeyboardControl";
			this.helpProvider.SetShowHelp(this.m_KeyboardControl, ((bool)(resources.GetObject("m_KeyboardControl.ShowHelp"))));
			this.m_KeyboardControl.Enter += new System.EventHandler(this.OnGetFocus);
			//
			// m_lblKeyboardTestInstr
			//
			resources.ApplyResources(this.m_lblKeyboardTestInstr, "m_lblKeyboardTestInstr");
			this.m_lblKeyboardTestInstr.Name = "m_lblKeyboardTestInstr";
			this.helpProvider.SetShowHelp(this.m_lblKeyboardTestInstr, ((bool)(resources.GetObject("m_lblKeyboardTestInstr.ShowHelp"))));
			//
			// m_linkKeymanConfiguration
			//
			resources.ApplyResources(this.m_linkKeymanConfiguration, "m_linkKeymanConfiguration");
			this.m_linkKeymanConfiguration.Name = "m_linkKeymanConfiguration";
			this.helpProvider.SetShowHelp(this.m_linkKeymanConfiguration, ((bool)(resources.GetObject("m_linkKeymanConfiguration.ShowHelp"))));
			this.m_linkKeymanConfiguration.TabStop = true;
			this.m_linkKeymanConfiguration.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.m_linkKeymanConfiguration_LinkClicked);
			//
			// m_linkWindowsKeyboard
			//
			resources.ApplyResources(this.m_linkWindowsKeyboard, "m_linkWindowsKeyboard");
			this.m_linkWindowsKeyboard.Name = "m_linkWindowsKeyboard";
			this.helpProvider.SetShowHelp(this.m_linkWindowsKeyboard, ((bool)(resources.GetObject("m_linkWindowsKeyboard.ShowHelp"))));
			this.m_linkWindowsKeyboard.TabStop = true;
			this.m_linkWindowsKeyboard.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.m_linkWindowsKeyboard_LinkClicked);
			//
			// m_lblKeyboardSetupInst
			//
			resources.ApplyResources(this.m_lblKeyboardSetupInst, "m_lblKeyboardSetupInst");
			this.m_lblKeyboardSetupInst.Name = "m_lblKeyboardSetupInst";
			this.helpProvider.SetShowHelp(this.m_lblKeyboardSetupInst, ((bool)(resources.GetObject("m_lblKeyboardSetupInst.ShowHelp"))));
			//
			// m_lblKeyboardInstruction
			//
			resources.ApplyResources(this.m_lblKeyboardInstruction, "m_lblKeyboardInstruction");
			this.m_lblKeyboardInstruction.Name = "m_lblKeyboardInstruction";
			this.helpProvider.SetShowHelp(this.m_lblKeyboardInstruction, ((bool)(resources.GetObject("m_lblKeyboardInstruction.ShowHelp"))));
			//
			// tpConverters
			//
			this.tpConverters.Controls.Add(this.btnEncodingConverter);
			this.tpConverters.Controls.Add(this.m_lblEncodingConverter);
			this.tpConverters.Controls.Add(this.cbEncodingConverter);
			resources.ApplyResources(this.tpConverters, "tpConverters");
			this.tpConverters.Name = "tpConverters";
			this.helpProvider.SetShowHelp(this.tpConverters, ((bool)(resources.GetObject("tpConverters.ShowHelp"))));
			this.tpConverters.UseVisualStyleBackColor = true;
			//
			// btnEncodingConverter
			//
			this.helpProvider.SetHelpString(this.btnEncodingConverter, resources.GetString("btnEncodingConverter.HelpString"));
			resources.ApplyResources(this.btnEncodingConverter, "btnEncodingConverter");
			this.btnEncodingConverter.Name = "btnEncodingConverter";
			this.helpProvider.SetShowHelp(this.btnEncodingConverter, ((bool)(resources.GetObject("btnEncodingConverter.ShowHelp"))));
			this.btnEncodingConverter.Click += new System.EventHandler(this.btnEncodingConverter_Click);
			//
			// m_lblEncodingConverter
			//
			resources.ApplyResources(this.m_lblEncodingConverter, "m_lblEncodingConverter");
			this.m_lblEncodingConverter.Name = "m_lblEncodingConverter";
			this.helpProvider.SetShowHelp(this.m_lblEncodingConverter, ((bool)(resources.GetObject("m_lblEncodingConverter.ShowHelp"))));
			//
			// cbEncodingConverter
			//
			this.cbEncodingConverter.AllowSpaceInEditBox = false;
			this.cbEncodingConverter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.helpProvider.SetHelpString(this.cbEncodingConverter, resources.GetString("cbEncodingConverter.HelpString"));
			resources.ApplyResources(this.cbEncodingConverter, "cbEncodingConverter");
			this.cbEncodingConverter.Name = "cbEncodingConverter";
			this.helpProvider.SetShowHelp(this.cbEncodingConverter, ((bool)(resources.GetObject("cbEncodingConverter.ShowHelp"))));
			this.cbEncodingConverter.Sorted = true;
			//
			// tpSorting
			//
			this.tpSorting.BackColor = System.Drawing.Color.Transparent;
			this.tpSorting.Controls.Add(this.m_angleBracketButton);
			this.tpSorting.Controls.Add(this.m_ampersandButton);
			this.tpSorting.Controls.Add(this.btnSimilarWs);
			this.tpSorting.Controls.Add(this.lblSimilarWss);
			this.tpSorting.Controls.Add(this.lblSortingBelowRules);
			this.tpSorting.Controls.Add(this.lblSortingRule3);
			this.tpSorting.Controls.Add(this.lblSortingRule2);
			this.tpSorting.Controls.Add(this.lblSortingRule1);
			this.tpSorting.Controls.Add(this.txtIcuRules);
			this.tpSorting.Controls.Add(this.lblSortingAboveRules);
			resources.ApplyResources(this.tpSorting, "tpSorting");
			this.tpSorting.Name = "tpSorting";
			this.helpProvider.SetShowHelp(this.tpSorting, ((bool)(resources.GetObject("tpSorting.ShowHelp"))));
			this.tpSorting.UseVisualStyleBackColor = true;
			//
			// m_angleBracketButton
			//
			resources.ApplyResources(this.m_angleBracketButton, "m_angleBracketButton");
			this.m_angleBracketButton.Name = "m_angleBracketButton";
			this.helpProvider.SetShowHelp(this.m_angleBracketButton, ((bool)(resources.GetObject("m_angleBracketButton.ShowHelp"))));
			this.m_angleBracketButton.UseVisualStyleBackColor = true;
			this.m_angleBracketButton.Click += new System.EventHandler(this.m_angleBracketButton_Click);
			//
			// m_ampersandButton
			//
			resources.ApplyResources(this.m_ampersandButton, "m_ampersandButton");
			this.m_ampersandButton.Name = "m_ampersandButton";
			this.m_ampersandButton.UseVisualStyleBackColor = true;
			this.m_ampersandButton.Click += new System.EventHandler(this.m_ampersandButton_Click);
			//
			// btnSimilarWs
			//
			this.btnSimilarWs.DisplayLocaleId = null;
			resources.ApplyResources(this.btnSimilarWs, "btnSimilarWs");
			this.btnSimilarWs.Name = "btnSimilarWs";
			this.btnSimilarWs.SelectedLocaleId = null;
			this.helpProvider.SetShowHelp(this.btnSimilarWs, ((bool)(resources.GetObject("btnSimilarWs.ShowHelp"))));
			this.btnSimilarWs.UseVisualStyleBackColor = true;
			this.btnSimilarWs.LocaleSelected += new System.EventHandler(this.btnSimilarWs_LocaleSelected);
			//
			// lblSimilarWss
			//
			resources.ApplyResources(this.lblSimilarWss, "lblSimilarWss");
			this.lblSimilarWss.Name = "lblSimilarWss";
			this.helpProvider.SetShowHelp(this.lblSimilarWss, ((bool)(resources.GetObject("lblSimilarWss.ShowHelp"))));
			//
			// lblSortingBelowRules
			//
			resources.ApplyResources(this.lblSortingBelowRules, "lblSortingBelowRules");
			this.lblSortingBelowRules.Name = "lblSortingBelowRules";
			this.helpProvider.SetShowHelp(this.lblSortingBelowRules, ((bool)(resources.GetObject("lblSortingBelowRules.ShowHelp"))));
			//
			// lblSortingRule3
			//
			resources.ApplyResources(this.lblSortingRule3, "lblSortingRule3");
			this.lblSortingRule3.Name = "lblSortingRule3";
			this.helpProvider.SetShowHelp(this.lblSortingRule3, ((bool)(resources.GetObject("lblSortingRule3.ShowHelp"))));
			this.lblSortingRule3.UseMnemonic = false;
			//
			// lblSortingRule2
			//
			resources.ApplyResources(this.lblSortingRule2, "lblSortingRule2");
			this.lblSortingRule2.Name = "lblSortingRule2";
			this.helpProvider.SetShowHelp(this.lblSortingRule2, ((bool)(resources.GetObject("lblSortingRule2.ShowHelp"))));
			this.lblSortingRule2.UseMnemonic = false;
			//
			// lblSortingRule1
			//
			resources.ApplyResources(this.lblSortingRule1, "lblSortingRule1");
			this.lblSortingRule1.Name = "lblSortingRule1";
			this.helpProvider.SetShowHelp(this.lblSortingRule1, ((bool)(resources.GetObject("lblSortingRule1.ShowHelp"))));
			this.lblSortingRule1.UseMnemonic = false;
			//
			// txtIcuRules
			//
			this.txtIcuRules.AcceptsReturn = true;
			resources.ApplyResources(this.txtIcuRules, "txtIcuRules");
			this.txtIcuRules.Name = "txtIcuRules";
			this.helpProvider.SetShowHelp(this.txtIcuRules, ((bool)(resources.GetObject("txtIcuRules.ShowHelp"))));
			//
			// lblSortingAboveRules
			//
			resources.ApplyResources(this.lblSortingAboveRules, "lblSortingAboveRules");
			this.lblSortingAboveRules.Name = "lblSortingAboveRules";
			this.helpProvider.SetShowHelp(this.lblSortingAboveRules, ((bool)(resources.GetObject("lblSortingAboveRules.ShowHelp"))));
			//
			// tpPUACharacters
			//
			this.tpPUACharacters.BackColor = System.Drawing.Color.Transparent;
			this.tpPUACharacters.Controls.Add(this.m_lblCustomCharCondition3);
			this.tpPUACharacters.Controls.Add(this.m_lblCustomCharCondition2);
			this.tpPUACharacters.Controls.Add(this.m_lblCustomCharCondition1);
			this.tpPUACharacters.Controls.Add(this.m_lblPunctuation);
			this.tpPUACharacters.Controls.Add(this.btnPunctuation);
			this.tpPUACharacters.Controls.Add(this.m_lblCustomCharInstructions);
			this.tpPUACharacters.Controls.Add(this.m_lblValidCharacters);
			this.tpPUACharacters.Controls.Add(this.lblCustomPUA);
			this.tpPUACharacters.Controls.Add(this.btnValidChars);
			this.tpPUACharacters.Controls.Add(this.m_btnModifyPUA);
			this.tpPUACharacters.Controls.Add(this.m_btnNewPUA);
			this.tpPUACharacters.Controls.Add(this.m_lstPUACharacters);
			resources.ApplyResources(this.tpPUACharacters, "tpPUACharacters");
			this.tpPUACharacters.Name = "tpPUACharacters";
			this.helpProvider.SetShowHelp(this.tpPUACharacters, ((bool)(resources.GetObject("tpPUACharacters.ShowHelp"))));
			this.tpPUACharacters.UseVisualStyleBackColor = true;
			//
			// m_lblCustomCharCondition3
			//
			resources.ApplyResources(this.m_lblCustomCharCondition3, "m_lblCustomCharCondition3");
			this.m_lblCustomCharCondition3.Name = "m_lblCustomCharCondition3";
			this.helpProvider.SetShowHelp(this.m_lblCustomCharCondition3, ((bool)(resources.GetObject("m_lblCustomCharCondition3.ShowHelp"))));
			//
			// m_lblCustomCharCondition2
			//
			resources.ApplyResources(this.m_lblCustomCharCondition2, "m_lblCustomCharCondition2");
			this.m_lblCustomCharCondition2.Name = "m_lblCustomCharCondition2";
			this.helpProvider.SetShowHelp(this.m_lblCustomCharCondition2, ((bool)(resources.GetObject("m_lblCustomCharCondition2.ShowHelp"))));
			//
			// m_lblCustomCharCondition1
			//
			resources.ApplyResources(this.m_lblCustomCharCondition1, "m_lblCustomCharCondition1");
			this.m_lblCustomCharCondition1.Name = "m_lblCustomCharCondition1";
			this.helpProvider.SetShowHelp(this.m_lblCustomCharCondition1, ((bool)(resources.GetObject("m_lblCustomCharCondition1.ShowHelp"))));
			//
			// m_lblPunctuation
			//
			resources.ApplyResources(this.m_lblPunctuation, "m_lblPunctuation");
			this.m_lblPunctuation.Name = "m_lblPunctuation";
			this.helpProvider.SetShowHelp(this.m_lblPunctuation, ((bool)(resources.GetObject("m_lblPunctuation.ShowHelp"))));
			//
			// btnPunctuation
			//
			this.helpProvider.SetHelpString(this.btnPunctuation, resources.GetString("btnPunctuation.HelpString"));
			resources.ApplyResources(this.btnPunctuation, "btnPunctuation");
			this.btnPunctuation.Name = "btnPunctuation";
			this.helpProvider.SetShowHelp(this.btnPunctuation, ((bool)(resources.GetObject("btnPunctuation.ShowHelp"))));
			this.btnPunctuation.Click += new System.EventHandler(this.btnPunctuation_Click);
			//
			// m_lblCustomCharInstructions
			//
			resources.ApplyResources(this.m_lblCustomCharInstructions, "m_lblCustomCharInstructions");
			this.m_lblCustomCharInstructions.Name = "m_lblCustomCharInstructions";
			//
			// m_lblValidCharacters
			//
			resources.ApplyResources(this.m_lblValidCharacters, "m_lblValidCharacters");
			this.m_lblValidCharacters.Name = "m_lblValidCharacters";
			//
			// lblCustomPUA
			//
			resources.ApplyResources(this.lblCustomPUA, "lblCustomPUA");
			this.lblCustomPUA.Name = "lblCustomPUA";
			//
			// btnValidChars
			//
			this.helpProvider.SetHelpString(this.btnValidChars, resources.GetString("btnValidChars.HelpString"));
			resources.ApplyResources(this.btnValidChars, "btnValidChars");
			this.btnValidChars.Name = "btnValidChars";
			this.helpProvider.SetShowHelp(this.btnValidChars, ((bool)(resources.GetObject("btnValidChars.ShowHelp"))));
			this.btnValidChars.Click += new System.EventHandler(this.btnValidChars_Click);
			//
			// m_btnModifyPUA
			//
			this.helpProvider.SetHelpNavigator(this.m_btnModifyPUA, ((System.Windows.Forms.HelpNavigator)(resources.GetObject("m_btnModifyPUA.HelpNavigator"))));
			resources.ApplyResources(this.m_btnModifyPUA, "m_btnModifyPUA");
			this.m_btnModifyPUA.Name = "m_btnModifyPUA";
			this.helpProvider.SetShowHelp(this.m_btnModifyPUA, ((bool)(resources.GetObject("m_btnModifyPUA.ShowHelp"))));
			this.m_toolTip.SetToolTip(this.m_btnModifyPUA, resources.GetString("m_btnModifyPUA.ToolTip"));
			this.m_btnModifyPUA.Click += new System.EventHandler(this.m_btnModifyPUA_Click);
			//
			// m_btnNewPUA
			//
			this.helpProvider.SetHelpNavigator(this.m_btnNewPUA, ((System.Windows.Forms.HelpNavigator)(resources.GetObject("m_btnNewPUA.HelpNavigator"))));
			resources.ApplyResources(this.m_btnNewPUA, "m_btnNewPUA");
			this.m_btnNewPUA.Name = "m_btnNewPUA";
			this.helpProvider.SetShowHelp(this.m_btnNewPUA, ((bool)(resources.GetObject("m_btnNewPUA.ShowHelp"))));
			this.m_toolTip.SetToolTip(this.m_btnNewPUA, resources.GetString("m_btnNewPUA.ToolTip"));
			this.m_btnNewPUA.Click += new System.EventHandler(this.m_btnNewPUA_Click);
			//
			// m_lstPUACharacters
			//
			resources.ApplyResources(this.m_lstPUACharacters, "m_lstPUACharacters");
			this.m_lstPUACharacters.Name = "m_lstPUACharacters";
			this.helpProvider.SetShowHelp(this.m_lstPUACharacters, ((bool)(resources.GetObject("m_lstPUACharacters.ShowHelp"))));
			this.m_lstPUACharacters.Sorted = true;
			this.m_lstPUACharacters.SelectedIndexChanged += new System.EventHandler(this.m_lstPUACharacters_SelectedIndexChanged);
			this.m_lstPUACharacters.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.m_lstPUACharacters_ItemCheck);
			//
			// btnModifyEthnologueInfo
			//
			this.helpProvider.SetHelpString(this.btnModifyEthnologueInfo, resources.GetString("btnModifyEthnologueInfo.HelpString"));
			resources.ApplyResources(this.btnModifyEthnologueInfo, "btnModifyEthnologueInfo");
			this.btnModifyEthnologueInfo.Name = "btnModifyEthnologueInfo";
			this.helpProvider.SetShowHelp(this.btnModifyEthnologueInfo, ((bool)(resources.GetObject("btnModifyEthnologueInfo.ShowHelp"))));
			this.btnModifyEthnologueInfo.Click += new System.EventHandler(this.btnModifyEthnologueInfo_Click);
			//
			// btnHelp
			//
			resources.ApplyResources(this.btnHelp, "btnHelp");
			this.helpProvider.SetHelpString(this.btnHelp, resources.GetString("btnHelp.HelpString"));
			this.btnHelp.Name = "btnHelp";
			this.helpProvider.SetShowHelp(this.btnHelp, ((bool)(resources.GetObject("btnHelp.ShowHelp"))));
			this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
			//
			// btnCancel
			//
			resources.ApplyResources(this.btnCancel, "btnCancel");
			this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.helpProvider.SetHelpString(this.btnCancel, resources.GetString("btnCancel.HelpString"));
			this.btnCancel.Name = "btnCancel";
			this.helpProvider.SetShowHelp(this.btnCancel, ((bool)(resources.GetObject("btnCancel.ShowHelp"))));
			this.btnCancel.Click += new System.EventHandler(this.OnCancel);
			//
			// btnOk
			//
			resources.ApplyResources(this.btnOk, "btnOk");
			this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.helpProvider.SetHelpString(this.btnOk, resources.GetString("btnOk.HelpString"));
			this.btnOk.Name = "btnOk";
			this.helpProvider.SetShowHelp(this.btnOk, ((bool)(resources.GetObject("btnOk.ShowHelp"))));
			this.btnOk.Click += new System.EventHandler(this.OnOk);
			//
			// m_listBoxRelatedWSs
			//
			this.m_listBoxRelatedWSs.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
			this.m_listBoxRelatedWSs.FormattingEnabled = true;
			resources.ApplyResources(this.m_listBoxRelatedWSs, "m_listBoxRelatedWSs");
			this.m_listBoxRelatedWSs.Name = "m_listBoxRelatedWSs";
			this.helpProvider.SetShowHelp(this.m_listBoxRelatedWSs, ((bool)(resources.GetObject("m_listBoxRelatedWSs.ShowHelp"))));
			this.m_listBoxRelatedWSs.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.m_listBoxRelatedWSs_DrawItem);
			this.m_listBoxRelatedWSs.SelectedIndexChanged += new System.EventHandler(this.m_listBoxRelatedWSs_UserSelectionChanged);
			//
			// btnAdd
			//
			resources.ApplyResources(this.btnAdd, "btnAdd");
			this.btnAdd.Name = "btnAdd";
			this.helpProvider.SetShowHelp(this.btnAdd, ((bool)(resources.GetObject("btnAdd.ShowHelp"))));
			this.btnAdd.UseVisualStyleBackColor = true;
			this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
			//
			// btnCopy
			//
			resources.ApplyResources(this.btnCopy, "btnCopy");
			this.btnCopy.Name = "btnCopy";
			this.helpProvider.SetShowHelp(this.btnCopy, ((bool)(resources.GetObject("btnCopy.ShowHelp"))));
			this.btnCopy.UseVisualStyleBackColor = true;
			this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click);
			//
			// btnRemove
			//
			resources.ApplyResources(this.btnRemove, "btnRemove");
			this.btnRemove.Name = "btnRemove";
			this.helpProvider.SetShowHelp(this.btnRemove, ((bool)(resources.GetObject("btnRemove.ShowHelp"))));
			this.btnRemove.UseVisualStyleBackColor = true;
			this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click);
			//
			// groupBox2
			//
			this.groupBox2.Controls.Add(this.btnModifyEthnologueInfo);
			this.groupBox2.Controls.Add(this.m_linkToEthnologue);
			this.groupBox2.Controls.Add(this.m_LanguageCode);
			this.groupBox2.Controls.Add(this.label3);
			this.groupBox2.Controls.Add(this.m_tbLanguageName);
			this.groupBox2.Controls.Add(this.label1);
			resources.ApplyResources(this.groupBox2, "groupBox2");
			this.groupBox2.Name = "groupBox2";
			this.helpProvider.SetShowHelp(this.groupBox2, ((bool)(resources.GetObject("groupBox2.ShowHelp"))));
			this.groupBox2.TabStop = false;
			//
			// m_linkToEthnologue
			//
			resources.ApplyResources(this.m_linkToEthnologue, "m_linkToEthnologue");
			this.m_linkToEthnologue.Name = "m_linkToEthnologue";
			this.helpProvider.SetShowHelp(this.m_linkToEthnologue, ((bool)(resources.GetObject("m_linkToEthnologue.ShowHelp"))));
			this.m_linkToEthnologue.TabStop = true;
			this.m_linkToEthnologue.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkToEthnologue_LinkClicked);
			//
			// m_LanguageCode
			//
			resources.ApplyResources(this.m_LanguageCode, "m_LanguageCode");
			this.m_LanguageCode.Name = "m_LanguageCode";
			this.helpProvider.SetShowHelp(this.m_LanguageCode, ((bool)(resources.GetObject("m_LanguageCode.ShowHelp"))));
			//
			// label3
			//
			resources.ApplyResources(this.label3, "label3");
			this.label3.Name = "label3";
			this.helpProvider.SetShowHelp(this.label3, ((bool)(resources.GetObject("label3.ShowHelp"))));
			//
			// m_tbLanguageName
			//
			resources.ApplyResources(this.m_tbLanguageName, "m_tbLanguageName");
			this.m_tbLanguageName.Name = "m_tbLanguageName";
			this.helpProvider.SetShowHelp(this.m_tbLanguageName, ((bool)(resources.GetObject("m_tbLanguageName.ShowHelp"))));
			this.m_tbLanguageName.TextChanged += new System.EventHandler(this.m_tbLanguageName_TextChanged);
			//
			// label1
			//
			resources.ApplyResources(this.label1, "label1");
			this.label1.Name = "label1";
			this.helpProvider.SetShowHelp(this.label1, ((bool)(resources.GetObject("label1.ShowHelp"))));
			//
			// m_writingSystemsFor
			//
			resources.ApplyResources(this.m_writingSystemsFor, "m_writingSystemsFor");
			this.m_writingSystemsFor.Name = "m_writingSystemsFor";
			this.helpProvider.SetShowHelp(this.m_writingSystemsFor, ((bool)(resources.GetObject("m_writingSystemsFor.ShowHelp"))));
			//
			// lblHiddenWss
			//
			resources.ApplyResources(this.lblHiddenWss, "lblHiddenWss");
			this.lblHiddenWss.Name = "lblHiddenWss";
			this.helpProvider.SetShowHelp(this.lblHiddenWss, ((bool)(resources.GetObject("lblHiddenWss.ShowHelp"))));
			//
			// WritingSystemPropertiesDialog
			//
			this.AcceptButton = this.btnOk;
			resources.ApplyResources(this, "$this");
			this.CancelButton = this.btnCancel;
			this.Controls.Add(this.lblHiddenWss);
			this.Controls.Add(this.m_writingSystemsFor);
			this.Controls.Add(this.groupBox2);
			this.Controls.Add(this.btnRemove);
			this.Controls.Add(this.btnCopy);
			this.Controls.Add(this.btnAdd);
			this.Controls.Add(this.m_listBoxRelatedWSs);
			this.Controls.Add(this.btnOk);
			this.Controls.Add(this.btnCancel);
			this.Controls.Add(this.btnHelp);
			this.Controls.Add(this.tabControl);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "WritingSystemPropertiesDialog";
			this.helpProvider.SetShowHelp(this, ((bool)(resources.GetObject("$this.ShowHelp"))));
			this.ShowIcon = false;
			this.ShowInTaskbar = false;
			this.Activated += new System.EventHandler(this.OnGetFocus);
			this.tabControl.ResumeLayout(false);
			this.tpGeneral.ResumeLayout(false);
			this.tpGeneral.PerformLayout();
			this.gbDirection.ResumeLayout(false);
			this.tpFonts.ResumeLayout(false);
			this.tpKeyboard.ResumeLayout(false);
			this.tpKeyboard.PerformLayout();
			((System.ComponentModel.ISupportInitialize)(this.m_fwTextBoxTestWs)).EndInit();
			this.tpConverters.ResumeLayout(false);
			this.tpConverters.PerformLayout();
			this.tpSorting.ResumeLayout(false);
			this.tpSorting.PerformLayout();
			this.tpPUACharacters.ResumeLayout(false);
			this.tpPUACharacters.PerformLayout();
			this.groupBox2.ResumeLayout(false);
			this.groupBox2.PerformLayout();
			this.ResumeLayout(false);
			this.PerformLayout();

		}
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing"><c>true</c> to release both managed and unmanaged
		/// resources; <c>false</c> to release only unmanaged resources.
		/// </param>
		/// ------------------------------------------------------------------------------------
		protected override void Dispose(bool disposing)
		{
			//Debug.WriteLineIf(!disposing, "****************** " + GetType().Name + " 'disposing' is false. ******************");
			// Must not be run more than once.
			if (IsDisposed)
				return;

			if (disposing)
			{
				// release managed objects
				if (components != null)
					components.Dispose();
				if (m_fwTextBoxTestWs != null)
					m_fwTextBoxTestWs.Dispose();
				// We may have made the cache from COM objects given to us by a COM client.
				// In that case, we have to dispose it.
				if (m_cacheMadeLocally && m_cache != null)
					m_cache.Dispose();
				if (m_langDefCurrent != null)
					m_langDefCurrent.ReleaseRootRb();
				if (cbDictionaries != null)
					cbDictionaries.Dispose();
			}

			// release unmanaged objects regardless of disposing flag
			if (m_fwt != null && Marshal.IsComObject(m_fwt))
			{
				System.Runtime.InteropServices.Marshal.ReleaseComObject(m_fwt);
				m_fwt = null;
			}

			if (m_strmLog != null && Marshal.IsComObject(m_strmLog))
			{
				System.Runtime.InteropServices.Marshal.ReleaseComObject(m_strmLog);
				m_strmLog = null;
			}

			PUACharacter.ReleaseTheCom();

			// Garbage collect the cached ICU
			m_cachedIcu = null;
			// GC.Collect(); Can't be deterministic about when it happens, even by calling for a collection.
			m_langDefCurrent = null;
			m_fwTextBoxTestWs = null;
			cbDictionaries = null;

			base.Dispose(disposing);
		}
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose(bool disposing)
		{
			System.Diagnostics.Debug.WriteLineIf(!disposing, "****** Missing Dispose() call for " + GetType().Name + ". ****** ");
			// Must not be run more than once.
			if (IsDisposed)
				return;

			if (disposing)
			{
				Controls.Remove(m_fwTextBoxBottomMsg);
				m_fwTextBoxBottomMsg.Dispose();
				if(components != null)
				{
					components.Dispose();
				}
			}
			m_fwTextBoxBottomMsg = null;
			m_mediator = null;
			if (m_tsf != null)
				System.Runtime.InteropServices.Marshal.ReleaseComObject(m_tsf);
			m_tsf = null;
			m_cache = null;

			base.Dispose( disposing );
		}
Ejemplo n.º 16
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TryAWordDlg));
			this.m_wordToTryLabel = new System.Windows.Forms.Label();
			this.m_closeButton = new System.Windows.Forms.Button();
			this.m_tryItButton = new System.Windows.Forms.Button();
			this.m_resultsPanel = new System.Windows.Forms.Panel();
			this.m_resultsLabel = new System.Windows.Forms.Label();
			this.m_closePanel = new System.Windows.Forms.Panel();
			this.m_statusLabel = new System.Windows.Forms.Label();
			this.m_helpButton = new System.Windows.Forms.Button();
			this.m_wordPanel = new System.Windows.Forms.Panel();
			this.m_doSelectMorphsCheckBox = new System.Windows.Forms.CheckBox();
			this.m_doTraceCheckBox = new System.Windows.Forms.CheckBox();
			this.m_wordformTextBox = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.m_timer = new System.Windows.Forms.Timer(this.components);
			this.m_sandboxPanel = new System.Windows.Forms.Panel();
			this.m_resultsPanel.SuspendLayout();
			this.m_closePanel.SuspendLayout();
			this.m_wordPanel.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.m_wordformTextBox)).BeginInit();
			this.SuspendLayout();
			//
			// m_wordToTryLabel
			//
			resources.ApplyResources(this.m_wordToTryLabel, "m_wordToTryLabel");
			this.m_wordToTryLabel.Name = "m_wordToTryLabel";
			//
			// m_closeButton
			//
			resources.ApplyResources(this.m_closeButton, "m_closeButton");
			this.m_closeButton.Name = "m_closeButton";
			this.m_closeButton.Click += new System.EventHandler(this.m_closeButton_Click);
			//
			// m_tryItButton
			//
			resources.ApplyResources(this.m_tryItButton, "m_tryItButton");
			this.m_tryItButton.Name = "m_tryItButton";
			this.m_tryItButton.Click += new System.EventHandler(this.m_tryItButton_Click);
			//
			// m_resultsPanel
			//
			this.m_resultsPanel.Controls.Add(this.m_resultsLabel);
			resources.ApplyResources(this.m_resultsPanel, "m_resultsPanel");
			this.m_resultsPanel.Name = "m_resultsPanel";
			//
			// m_resultsLabel
			//
			resources.ApplyResources(this.m_resultsLabel, "m_resultsLabel");
			this.m_resultsLabel.Name = "m_resultsLabel";
			//
			// m_closePanel
			//
			this.m_closePanel.Controls.Add(this.m_statusLabel);
			this.m_closePanel.Controls.Add(this.m_helpButton);
			this.m_closePanel.Controls.Add(this.m_closeButton);
			resources.ApplyResources(this.m_closePanel, "m_closePanel");
			this.m_closePanel.Name = "m_closePanel";
			//
			// m_statusLabel
			//
			resources.ApplyResources(this.m_statusLabel, "m_statusLabel");
			this.m_statusLabel.Name = "m_statusLabel";
			//
			// m_helpButton
			//
			resources.ApplyResources(this.m_helpButton, "m_helpButton");
			this.m_helpButton.Name = "m_helpButton";
			this.m_helpButton.Click += new System.EventHandler(this.m_buttonHelp_Click);
			//
			// m_wordPanel
			//
			this.m_wordPanel.Controls.Add(this.m_doSelectMorphsCheckBox);
			this.m_wordPanel.Controls.Add(this.m_doTraceCheckBox);
			this.m_wordPanel.Controls.Add(this.m_tryItButton);
			this.m_wordPanel.Controls.Add(this.m_wordToTryLabel);
			this.m_wordPanel.Controls.Add(this.m_wordformTextBox);
			resources.ApplyResources(this.m_wordPanel, "m_wordPanel");
			this.m_wordPanel.Name = "m_wordPanel";
			//
			// m_doSelectMorphsCheckBox
			//
			resources.ApplyResources(this.m_doSelectMorphsCheckBox, "m_doSelectMorphsCheckBox");
			this.m_doSelectMorphsCheckBox.Name = "m_doSelectMorphsCheckBox";
			this.m_doSelectMorphsCheckBox.UseVisualStyleBackColor = true;
			this.m_doSelectMorphsCheckBox.CheckedChanged += new System.EventHandler(this.m_doSelectMorphsCheckBox_CheckedChanged);
			//
			// m_doTraceCheckBox
			//
			resources.ApplyResources(this.m_doTraceCheckBox, "m_doTraceCheckBox");
			this.m_doTraceCheckBox.Name = "m_doTraceCheckBox";
			this.m_doTraceCheckBox.UseVisualStyleBackColor = true;
			this.m_doTraceCheckBox.CheckedChanged += new System.EventHandler(this.m_doTraceCheckBox_CheckedChanged);
			//
			// m_wordformTextBox
			//
			this.m_wordformTextBox.AcceptsReturn = false;
			this.m_wordformTextBox.AdjustStringHeight = true;
			this.m_wordformTextBox.BackColor = System.Drawing.SystemColors.Window;
			this.m_wordformTextBox.controlID = null;
			resources.ApplyResources(this.m_wordformTextBox, "m_wordformTextBox");
			this.m_wordformTextBox.HasBorder = true;
			this.m_wordformTextBox.Name = "m_wordformTextBox";
			this.m_wordformTextBox.SuppressEnter = true;
			this.m_wordformTextBox.WordWrap = false;
			this.m_wordformTextBox.TextChanged += new System.EventHandler(this.m_wordformTextBox_TextChanged);
			this.m_wordformTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.m_wordformTextBox_KeyDown);
			//
			// m_timer
			//
			this.m_timer.Enabled = true;
			this.m_timer.Interval = 10;
			this.m_timer.Tick += new System.EventHandler(this.m_timer_Tick);
			//
			// m_sandboxPanel
			//
			resources.ApplyResources(this.m_sandboxPanel, "m_sandboxPanel");
			this.m_sandboxPanel.Name = "m_sandboxPanel";
			//
			// TryAWordDlg
			//
			resources.ApplyResources(this, "$this");
			this.Controls.Add(this.m_resultsPanel);
			this.Controls.Add(this.m_sandboxPanel);
			this.Controls.Add(this.m_wordPanel);
			this.Controls.Add(this.m_closePanel);
			this.Name = "TryAWordDlg";
			this.m_resultsPanel.ResumeLayout(false);
			this.m_closePanel.ResumeLayout(false);
			this.m_wordPanel.ResumeLayout(false);
			this.m_wordPanel.PerformLayout();
			((System.ComponentModel.ISupportInitialize)(this.m_wordformTextBox)).EndInit();
			this.ResumeLayout(false);

		}
Ejemplo n.º 17
0
		/// <summary>
		/// Constructor for the Regex Helper Context Menu
		/// </summary>
		/// <param name="textbox">the textbox to insert regex characters into</param>
		/// <param name="helpTopicProvider">usually FwApp.App</param>
		/// <param name="isFind">True if the menu is for searching, false if it is for replacing (shows the $n options)</param>
		public RegexHelperMenu(FwTextBox textbox, IHelpTopicProvider helpTopicProvider, bool isFind) : base(textbox, helpTopicProvider)
		{
			m_isFind = isFind;
			Init();
		}
 private void SetupAndShowHeaderPanel(XmlNode node, RecordBar treeBarControl)
 {
     if (!treeBarControl.HasHeaderControl)
     {
         m_titleBar = new PaneBar { Dock = DockStyle.Top };
         var headerPanel = new Panel { Visible = false };
         headerPanel.Controls.Add(m_titleBar);
         m_btnCancelSearch = new FwCancelSearchButton();
         m_btnCancelSearch.Init();
         m_btnCancelSearch.Click += m_btnCancelSearch_Click;
         headerPanel.Controls.Add(m_btnCancelSearch);
         m_textSearch = CreateSearchBox();
         m_textSearch.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
         headerPanel.Controls.Add(m_textSearch);
         m_textSearch.AdjustForStyleSheet(m_stylesheet);
         headerPanel.Height = SetHeaderPanelHeight();
         treeBarControl.AddHeaderControl(headerPanel);
         // Keep the text box from covering the cancel search button
         m_textSearch.Width = headerPanel.Width - m_btnCancelSearch.Width;
         m_btnCancelSearch.Location = new Point(headerPanel.Width - m_btnCancelSearch.Width, m_textSearch.Location.Y);
         SetInfoBarText(node, m_titleBar);
     }
     treeBarControl.ShowHeaderControl();
 }
Ejemplo n.º 19
0
		/// <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(MsaCreatorDlg));
			this.btnCancel = new System.Windows.Forms.Button();
			this.btnOk = new System.Windows.Forms.Button();
			this.btnHelp = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.m_fwtbCitationForm = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.m_fwtbSenses = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.m_msaGroupBox = new SIL.FieldWorks.LexText.Controls.MSAGroupBox();
			((System.ComponentModel.ISupportInitialize)(this.m_fwtbCitationForm)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.m_fwtbSenses)).BeginInit();
			this.SuspendLayout();
			//
			// btnCancel
			//
			this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			resources.ApplyResources(this.btnCancel, "btnCancel");
			this.btnCancel.Name = "btnCancel";
			//
			// btnOk
			//
			this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
			resources.ApplyResources(this.btnOk, "btnOk");
			this.btnOk.Name = "btnOk";
			//
			// btnHelp
			//
			resources.ApplyResources(this.btnHelp, "btnHelp");
			this.btnHelp.Name = "btnHelp";
			this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
			//
			// label1
			//
			resources.ApplyResources(this.label1, "label1");
			this.label1.Name = "label1";
			//
			// m_fwtbCitationForm
			//
			this.m_fwtbCitationForm.AdjustStringHeight = true;
			this.m_fwtbCitationForm.AllowMultipleLines = false;
			this.m_fwtbCitationForm.BackColor = System.Drawing.SystemColors.Control;
			this.m_fwtbCitationForm.controlID = null;
			resources.ApplyResources(this.m_fwtbCitationForm, "m_fwtbCitationForm");
			this.m_fwtbCitationForm.Name = "m_fwtbCitationForm";
			this.m_fwtbCitationForm.SelectionLength = 0;
			this.m_fwtbCitationForm.SelectionStart = 0;
			//
			// label2
			//
			resources.ApplyResources(this.label2, "label2");
			this.label2.Name = "label2";
			//
			// m_fwtbSenses
			//
			this.m_fwtbSenses.AdjustStringHeight = true;
			this.m_fwtbSenses.AllowMultipleLines = false;
			this.m_fwtbSenses.BackColor = System.Drawing.SystemColors.Control;
			this.m_fwtbSenses.controlID = null;
			resources.ApplyResources(this.m_fwtbSenses, "m_fwtbSenses");
			this.m_fwtbSenses.Name = "m_fwtbSenses";
			this.m_fwtbSenses.SelectionLength = 0;
			this.m_fwtbSenses.SelectionStart = 0;
			//
			// m_msaGroupBox
			//
			resources.ApplyResources(this.m_msaGroupBox, "m_msaGroupBox");
			this.m_msaGroupBox.MSAType = SIL.FieldWorks.FDO.MsaType.kNotSet;
			this.m_msaGroupBox.Name = "m_msaGroupBox";
			this.m_msaGroupBox.Slot = null;
			//
			// MsaCreatorDlg
			//
			this.AcceptButton = this.btnOk;
			resources.ApplyResources(this, "$this");
			this.CancelButton = this.btnCancel;
			this.Controls.Add(this.m_msaGroupBox);
			this.Controls.Add(this.m_fwtbSenses);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.m_fwtbCitationForm);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.btnHelp);
			this.Controls.Add(this.btnOk);
			this.Controls.Add(this.btnCancel);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "MsaCreatorDlg";
			this.ShowInTaskbar = false;
			this.Closed += new System.EventHandler(this.MsaCreatorDlg_Closed);
			((System.ComponentModel.ISupportInitialize)(this.m_fwtbCitationForm)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.m_fwtbSenses)).EndInit();
			this.ResumeLayout(false);

		}
Ejemplo n.º 20
0
		private void AdjustHeightAndPositions(FwTextBox fwtb)
		{
			int oldHeight = fwtb.Height;
			int newHeight = Math.Max(oldHeight, fwtb.PreferredHeight);
			int delta = newHeight - oldHeight;
			if (delta > 0)
			{
				fwtb.Height = newHeight;
				FontHeightAdjuster.GrowDialogAndAdjustControls(this, delta, fwtb);
			}
		}
Ejemplo n.º 21
0
		private void SetTextBoxValue(ITsString tss, FwTextBox textBox, ComboBox comboBox, bool vern)
		{
			if (tss != null)
			{
				int ws = tss.get_WritingSystemAt(0);
				comboBox.SelectedItem = m_cache.ServiceLocator.WritingSystemManager.Get(ws);
				textBox.Tss = tss;
			}
			else
			{
				comboBox.SelectedItem = vern ? m_cache.ServiceLocator.WritingSystems.DefaultVernacularWritingSystem
					: m_cache.ServiceLocator.WritingSystems.DefaultAnalysisWritingSystem;
			}
		}
Ejemplo n.º 22
0
		private void UpdateTextBoxWs(ComboBox wsComboBox, FwTextBox textBox)
		{
			var ws = wsComboBox.SelectedItem as IWritingSystem;
			if (ws == null)
			{
				Debug.Assert(wsComboBox.SelectedIndex == -1);
				return;
			}
			textBox.WritingSystemCode = ws.Handle;
			ITsStrFactory tsf = TsStrFactoryClass.Create();
			textBox.Tss = tsf.MakeString(textBox.Text.Trim(), ws.Handle);
		}
Ejemplo n.º 23
0
		/// <summary>
		/// Constructor for Helper Context Menu.
		/// </summary>
		/// <param name="textbox">the textbox to insert regex characters into</param>
		/// <param name="helpTopicProvider">usually IHelpTopicProvider.App</param>
		protected HelperMenu(FwTextBox textbox, IHelpTopicProvider helpTopicProvider)
		{
			m_helpTopicProvider = helpTopicProvider;
			m_textbox = textbox;
		}
Ejemplo n.º 24
0
		/// <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(InsertRecordDlg));
			this.m_titleTextBox = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.m_typeCombo = new SIL.FieldWorks.Common.Widgets.TreeCombo();
			this.m_titleLabel = new System.Windows.Forms.Label();
			this.m_typeLabel = new System.Windows.Forms.Label();
			this.m_btnHelp = new System.Windows.Forms.Button();
			this.m_btnCancel = new System.Windows.Forms.Button();
			this.m_btnOK = new System.Windows.Forms.Button();
			this.m_helpProvider = new HelpProvider();
			((System.ComponentModel.ISupportInitialize)(this.m_titleTextBox)).BeginInit();
			this.SuspendLayout();
			//
			// m_titleTextBox
			//
			this.m_titleTextBox.AdjustStringHeight = false;
			this.m_titleTextBox.controlID = null;
			resources.ApplyResources(this.m_titleTextBox, "m_titleTextBox");
			this.m_titleTextBox.HasBorder = true;
			this.m_titleTextBox.Name = "m_titleTextBox";
			//
			// m_typeCombo
			//
			this.m_typeCombo.AdjustStringHeight = false;
			this.m_typeCombo.HasBorder = true;
			resources.ApplyResources(this.m_typeCombo, "m_typeCombo");
			this.m_typeCombo.Name = "m_typeCombo";
			//
			// m_titleLabel
			//
			resources.ApplyResources(this.m_titleLabel, "m_titleLabel");
			this.m_titleLabel.Name = "m_titleLabel";
			//
			// m_typeLabel
			//
			resources.ApplyResources(this.m_typeLabel, "m_typeLabel");
			this.m_typeLabel.Name = "m_typeLabel";
			//
			// m_btnHelp
			//
			resources.ApplyResources(this.m_btnHelp, "m_btnHelp");
			this.m_btnHelp.Name = "m_btnHelp";
			this.m_btnHelp.Click += new System.EventHandler(this.m_btnHelp_Click);
			//
			// m_btnCancel
			//
			resources.ApplyResources(this.m_btnCancel, "m_btnCancel");
			this.m_btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.m_btnCancel.Name = "m_btnCancel";
			//
			// m_btnOK
			//
			resources.ApplyResources(this.m_btnOK, "m_btnOK");
			this.m_btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.m_btnOK.Name = "m_btnOK";
			//
			// InsertRecordDlg
			//
			this.AcceptButton = this.m_btnOK;
			this.CancelButton = this.m_btnCancel;
			resources.ApplyResources(this, "$this");
			this.Controls.Add(this.m_btnHelp);
			this.Controls.Add(this.m_btnCancel);
			this.Controls.Add(this.m_btnOK);
			this.Controls.Add(this.m_typeLabel);
			this.Controls.Add(this.m_titleLabel);
			this.Controls.Add(this.m_typeCombo);
			this.Controls.Add(this.m_titleTextBox);
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.FormBorderStyle = FormBorderStyle.FixedDialog;
			this.Name = "InsertRecordDlg";
			this.ShowInTaskbar = false;
			((System.ComponentModel.ISupportInitialize)(this.m_titleTextBox)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}
Ejemplo n.º 25
0
 /// <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(MergeObjectDlg));
     this.label2               = new System.Windows.Forms.Label();
     this.pictureBox1          = new System.Windows.Forms.PictureBox();
     this.btnOK                = new System.Windows.Forms.Button();
     this.btnClose             = new System.Windows.Forms.Button();
     this.m_bvPanel            = new System.Windows.Forms.Panel();
     this.m_chItems            = new System.Windows.Forms.ColumnHeader();
     this.buttonHelp           = new System.Windows.Forms.Button();
     this.m_fwTextBoxBottomMsg = new SIL.FieldWorks.Common.Widgets.FwTextBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.m_fwTextBoxBottomMsg)).BeginInit();
     this.SuspendLayout();
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // pictureBox1
     //
     resources.ApplyResources(this.pictureBox1, "pictureBox1");
     this.pictureBox1.Name    = "pictureBox1";
     this.pictureBox1.TabStop = false;
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     resources.ApplyResources(this.btnOK, "btnOK");
     this.btnOK.Name = "btnOK";
     //
     // btnClose
     //
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     resources.ApplyResources(this.btnClose, "btnClose");
     this.btnClose.Name = "btnClose";
     //
     // m_bvPanel
     //
     resources.ApplyResources(this.m_bvPanel, "m_bvPanel");
     this.m_bvPanel.Name = "m_bvPanel";
     //
     // m_chItems
     //
     resources.ApplyResources(this.m_chItems, "m_chItems");
     //
     // buttonHelp
     //
     resources.ApplyResources(this.buttonHelp, "buttonHelp");
     this.buttonHelp.Name   = "buttonHelp";
     this.buttonHelp.Click += new System.EventHandler(this.buttonHelp_Click);
     //
     // m_fwTextBoxBottomMsg
     //
     this.m_fwTextBoxBottomMsg.AdjustStringHeight = true;
     this.m_fwTextBoxBottomMsg.WordWrap           = true;
     this.m_fwTextBoxBottomMsg.BackColor          = System.Drawing.SystemColors.Control;
     resources.ApplyResources(this.m_fwTextBoxBottomMsg, "m_fwTextBoxBottomMsg");
     this.m_fwTextBoxBottomMsg.HasBorder = false;
     this.m_fwTextBoxBottomMsg.Name      = "m_fwTextBoxBottomMsg";
     this.m_fwTextBoxBottomMsg.TabStop   = false;
     //
     // MergeObjectDlg
     //
     this.AcceptButton = this.btnOK;
     resources.ApplyResources(this, "$this");
     this.CancelButton     = this.btnClose;
     this.CausesValidation = false;
     this.Controls.Add(this.buttonHelp);
     this.Controls.Add(this.m_bvPanel);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.m_fwTextBoxBottomMsg);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "MergeObjectDlg";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.Closed         += new System.EventHandler(this.MergeObjectDlg_Closed);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.m_fwTextBoxBottomMsg)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 26
0
 /// <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(MsaCreatorDlg));
     this.btnCancel          = new System.Windows.Forms.Button();
     this.btnOk              = new System.Windows.Forms.Button();
     this.btnHelp            = new System.Windows.Forms.Button();
     this.label1             = new System.Windows.Forms.Label();
     this.m_fwtbCitationForm = new SIL.FieldWorks.Common.Widgets.FwTextBox();
     this.label2             = new System.Windows.Forms.Label();
     this.m_fwtbSenses       = new SIL.FieldWorks.Common.Widgets.FwTextBox();
     this.m_msaGroupBox      = new SIL.FieldWorks.LexText.Controls.MSAGroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.m_fwtbCitationForm)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.m_fwtbSenses)).BeginInit();
     this.SuspendLayout();
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     resources.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.Name = "btnCancel";
     //
     // btnOk
     //
     this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     resources.ApplyResources(this.btnOk, "btnOk");
     this.btnOk.Name = "btnOk";
     //
     // btnHelp
     //
     resources.ApplyResources(this.btnHelp, "btnHelp");
     this.btnHelp.Name   = "btnHelp";
     this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // m_fwtbCitationForm
     //
     this.m_fwtbCitationForm.AdjustStringHeight = true;
     this.m_fwtbCitationForm.BackColor          = System.Drawing.SystemColors.Control;
     this.m_fwtbCitationForm.controlID          = null;
     resources.ApplyResources(this.m_fwtbCitationForm, "m_fwtbCitationForm");
     this.m_fwtbCitationForm.Name            = "m_fwtbCitationForm";
     this.m_fwtbCitationForm.SelectionLength = 0;
     this.m_fwtbCitationForm.SelectionStart  = 0;
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // m_fwtbSenses
     //
     this.m_fwtbSenses.AdjustStringHeight = true;
     this.m_fwtbSenses.BackColor          = System.Drawing.SystemColors.Control;
     this.m_fwtbSenses.controlID          = null;
     resources.ApplyResources(this.m_fwtbSenses, "m_fwtbSenses");
     this.m_fwtbSenses.Name            = "m_fwtbSenses";
     this.m_fwtbSenses.SelectionLength = 0;
     this.m_fwtbSenses.SelectionStart  = 0;
     //
     // m_msaGroupBox
     //
     resources.ApplyResources(this.m_msaGroupBox, "m_msaGroupBox");
     this.m_msaGroupBox.MSAType = SIL.FieldWorks.FDO.MsaType.kNotSet;
     this.m_msaGroupBox.Name    = "m_msaGroupBox";
     this.m_msaGroupBox.Slot    = null;
     //
     // MsaCreatorDlg
     //
     this.AcceptButton = this.btnOk;
     resources.ApplyResources(this, "$this");
     this.CancelButton = this.btnCancel;
     this.Controls.Add(this.m_msaGroupBox);
     this.Controls.Add(this.m_fwtbSenses);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.m_fwtbCitationForm);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnHelp);
     this.Controls.Add(this.btnOk);
     this.Controls.Add(this.btnCancel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "MsaCreatorDlg";
     this.ShowInTaskbar   = false;
     this.Closed         += new System.EventHandler(this.MsaCreatorDlg_Closed);
     ((System.ComponentModel.ISupportInitialize)(this.m_fwtbCitationForm)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.m_fwtbSenses)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 27
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ParseWordDlg));
     this.m_lblWordToTry     = new System.Windows.Forms.Label();
     this.m_btnClose         = new System.Windows.Forms.Button();
     this.m_btnTryIt         = new System.Windows.Forms.Button();
     this.m_pnlResults       = new System.Windows.Forms.Panel();
     this.m_lblResults       = new System.Windows.Forms.Label();
     this.m_pnlClose         = new System.Windows.Forms.Panel();
     this.m_lblStatus        = new System.Windows.Forms.Label();
     this.buttonHelp         = new System.Windows.Forms.Button();
     this.m_pnlWord          = new System.Windows.Forms.Panel();
     this.m_cbDoSelectMorphs = new System.Windows.Forms.CheckBox();
     this.m_cbDoTrace        = new System.Windows.Forms.CheckBox();
     this.m_tbWordForm       = new SIL.FieldWorks.Common.Widgets.FwTextBox();
     this.m_timer            = new System.Windows.Forms.Timer(this.components);
     this.m_pnlSandbox       = new System.Windows.Forms.Panel();
     this.m_pnlResults.SuspendLayout();
     this.m_pnlClose.SuspendLayout();
     this.m_pnlWord.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.m_tbWordForm)).BeginInit();
     this.SuspendLayout();
     //
     // m_lblWordToTry
     //
     resources.ApplyResources(this.m_lblWordToTry, "m_lblWordToTry");
     this.m_lblWordToTry.Name = "m_lblWordToTry";
     //
     // m_btnClose
     //
     resources.ApplyResources(this.m_btnClose, "m_btnClose");
     this.m_btnClose.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.m_btnClose.Name         = "m_btnClose";
     this.m_btnClose.Click       += new System.EventHandler(this.m_btnClose_Click);
     //
     // m_btnTryIt
     //
     resources.ApplyResources(this.m_btnTryIt, "m_btnTryIt");
     this.m_btnTryIt.Name   = "m_btnTryIt";
     this.m_btnTryIt.Click += new System.EventHandler(this.m_btnTryIt_Click);
     //
     // m_pnlResults
     //
     this.m_pnlResults.Controls.Add(this.m_lblResults);
     resources.ApplyResources(this.m_pnlResults, "m_pnlResults");
     this.m_pnlResults.Name = "m_pnlResults";
     //
     // m_lblResults
     //
     resources.ApplyResources(this.m_lblResults, "m_lblResults");
     this.m_lblResults.Name = "m_lblResults";
     //
     // m_pnlClose
     //
     this.m_pnlClose.Controls.Add(this.m_lblStatus);
     this.m_pnlClose.Controls.Add(this.buttonHelp);
     this.m_pnlClose.Controls.Add(this.m_btnClose);
     resources.ApplyResources(this.m_pnlClose, "m_pnlClose");
     this.m_pnlClose.Name = "m_pnlClose";
     //
     // m_lblStatus
     //
     resources.ApplyResources(this.m_lblStatus, "m_lblStatus");
     this.m_lblStatus.Name = "m_lblStatus";
     //
     // buttonHelp
     //
     resources.ApplyResources(this.buttonHelp, "buttonHelp");
     this.buttonHelp.Name   = "buttonHelp";
     this.buttonHelp.Click += new System.EventHandler(this.buttonHelp_Click);
     //
     // m_pnlWord
     //
     this.m_pnlWord.Controls.Add(this.m_cbDoSelectMorphs);
     this.m_pnlWord.Controls.Add(this.m_cbDoTrace);
     this.m_pnlWord.Controls.Add(this.m_btnTryIt);
     this.m_pnlWord.Controls.Add(this.m_lblWordToTry);
     this.m_pnlWord.Controls.Add(this.m_tbWordForm);
     resources.ApplyResources(this.m_pnlWord, "m_pnlWord");
     this.m_pnlWord.Name = "m_pnlWord";
     //
     // m_cbDoSelectMorphs
     //
     resources.ApplyResources(this.m_cbDoSelectMorphs, "m_cbDoSelectMorphs");
     this.m_cbDoSelectMorphs.Name = "m_cbDoSelectMorphs";
     this.m_cbDoSelectMorphs.UseVisualStyleBackColor = true;
     this.m_cbDoSelectMorphs.CheckedChanged         += new System.EventHandler(this.m_cbDoSelectMorphs_CheckedChanged);
     //
     // m_cbDoTrace
     //
     resources.ApplyResources(this.m_cbDoTrace, "m_cbDoTrace");
     this.m_cbDoTrace.Name = "m_cbDoTrace";
     this.m_cbDoTrace.UseVisualStyleBackColor = true;
     this.m_cbDoTrace.CheckedChanged         += new System.EventHandler(this.m_cbDoTrace_CheckedChanged);
     //
     // m_tbWordForm
     //
     this.m_tbWordForm.AdjustStringHeight = true;
     this.m_tbWordForm.AllowMultipleLines = false;
     this.m_tbWordForm.BackColor          = System.Drawing.SystemColors.Window;
     this.m_tbWordForm.controlID          = null;
     this.m_tbWordForm.HasBorder          = true;
     resources.ApplyResources(this.m_tbWordForm, "m_tbWordForm");
     this.m_tbWordForm.Name            = "m_tbWordForm";
     this.m_tbWordForm.SelectionLength = 0;
     this.m_tbWordForm.SelectionStart  = 0;
     this.m_tbWordForm.TextChanged    += new System.EventHandler(this.m_tbWordForm_TextChanged);
     this.m_tbWordForm.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.m_tbWordForm_KeyDown);
     //
     // m_timer
     //
     this.m_timer.Enabled  = true;
     this.m_timer.Interval = 10;
     this.m_timer.Tick    += new System.EventHandler(this.m_timer_Tick);
     //
     // m_pnlSandbox
     //
     resources.ApplyResources(this.m_pnlSandbox, "m_pnlSandbox");
     this.m_pnlSandbox.Name = "m_pnlSandbox";
     //
     // ParseWordDlg
     //
     resources.ApplyResources(this, "$this");
     this.CancelButton = this.m_btnClose;
     this.Controls.Add(this.m_pnlResults);
     this.Controls.Add(this.m_pnlSandbox);
     this.Controls.Add(this.m_pnlWord);
     this.Controls.Add(this.m_pnlClose);
     this.Name = "ParseWordDlg";
     this.m_pnlResults.ResumeLayout(false);
     this.m_pnlClose.ResumeLayout(false);
     this.m_pnlWord.ResumeLayout(false);
     this.m_pnlWord.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.m_tbWordForm)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 28
0
		/// <summary>
		/// Constructor for Regex Helper Context Menu, assumes it is for a search
		/// </summary>
		/// <param name="textbox">the textbox to insert regex characters into</param>
		/// <param name="helpTopicProvider">usually FwApp.App</param>
		public RegexHelperMenu(FwTextBox textbox, IHelpTopicProvider helpTopicProvider) : base(textbox, helpTopicProvider)
		{
			Init();
		}
Ejemplo n.º 29
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BulkEditBar));
			this.m_operationLabel = new System.Windows.Forms.Label();
			this.m_operationsTabControl = new SIL.FieldWorks.Common.Widgets.VSTabControl();
			this.m_listChoiceTab = new System.Windows.Forms.TabPage();
			this.m_bulkEditIconButton = new System.Windows.Forms.Button();
			this.m_imageList16x16 = new System.Windows.Forms.ImageList(this.components);
			this.m_bulkEditOperationLabel = new System.Windows.Forms.Label();
			this.m_listChoiceChangeToCombo = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.label3 = new System.Windows.Forms.Label();
			this.m_listChoiceTargetCombo = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.label2 = new System.Windows.Forms.Label();
			this.m_closeButton = new System.Windows.Forms.Button();
			this.m_bulkCopyTab = new System.Windows.Forms.TabPage();
			this.m_bulkCopySourceCombo = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.label4 = new System.Windows.Forms.Label();
			this.m_bulkCopyTargetCombo = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.label5 = new System.Windows.Forms.Label();
			this.m_clickCopyTab = new System.Windows.Forms.TabPage();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.m_clickCopySepBox = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.m_clickCopyOverwriteButton = new System.Windows.Forms.RadioButton();
			this.m_clickCopyAppendButton = new System.Windows.Forms.RadioButton();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.m_clickCopyReorderButton = new System.Windows.Forms.RadioButton();
			this.m_clickCopyWordButton = new System.Windows.Forms.RadioButton();
			this.m_clickCopyTargetCombo = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.label6 = new System.Windows.Forms.Label();
			this.m_transduceTab = new System.Windows.Forms.TabPage();
			this.m_transduceSetupButton = new System.Windows.Forms.Button();
			this.m_transduceSourceCombo = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.label7 = new System.Windows.Forms.Label();
			this.m_transduceTargetCombo = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.label8 = new System.Windows.Forms.Label();
			this.m_transduceProcessorCombo = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.label9 = new System.Windows.Forms.Label();
			this.m_findReplaceTab = new System.Windows.Forms.TabPage();
			this.m_findReplaceSetupButton = new System.Windows.Forms.Button();
			this.m_findReplaceTargetCombo = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.label12 = new System.Windows.Forms.Label();
			this.m_deleteTab = new System.Windows.Forms.TabPage();
			this.label13 = new System.Windows.Forms.Label();
			this.m_deleteWhatCombo = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.m_imageList16x14 = new System.Windows.Forms.ImageList(this.components);
			this.m_helpButton = new System.Windows.Forms.Button();
			this.m_previewButton = new System.Windows.Forms.Button();
			this.m_ApplyButton = new System.Windows.Forms.Button();
			this.m_operationsTabControl.SuspendLayout();
			this.m_listChoiceTab.SuspendLayout();
			this.m_bulkCopyTab.SuspendLayout();
			this.m_clickCopyTab.SuspendLayout();
			this.groupBox2.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.m_clickCopySepBox)).BeginInit();
			this.groupBox1.SuspendLayout();
			this.m_transduceTab.SuspendLayout();
			this.m_findReplaceTab.SuspendLayout();
			this.m_deleteTab.SuspendLayout();
			this.SuspendLayout();
			//
			// m_operationLabel
			//
			resources.ApplyResources(this.m_operationLabel, "m_operationLabel");
			this.m_operationLabel.BackColor = System.Drawing.Color.Transparent;
			this.m_operationLabel.Name = "m_operationLabel";
			//
			// m_operationsTabControl
			//
			resources.ApplyResources(this.m_operationsTabControl, "m_operationsTabControl");
			this.m_operationsTabControl.Controls.Add(this.m_listChoiceTab);
			this.m_operationsTabControl.Controls.Add(this.m_bulkCopyTab);
			this.m_operationsTabControl.Controls.Add(this.m_clickCopyTab);
			this.m_operationsTabControl.Controls.Add(this.m_transduceTab);
			this.m_operationsTabControl.Controls.Add(this.m_findReplaceTab);
			this.m_operationsTabControl.Controls.Add(this.m_deleteTab);
			this.m_operationsTabControl.Name = "m_operationsTabControl";
			this.m_operationsTabControl.SelectedIndex = 0;
			//
			// m_listChoiceTab
			//
			this.m_listChoiceTab.Controls.Add(this.m_bulkEditIconButton);
			this.m_listChoiceTab.Controls.Add(this.m_operationLabel);
			this.m_listChoiceTab.Controls.Add(this.m_bulkEditOperationLabel);
			this.m_listChoiceTab.Controls.Add(this.m_listChoiceChangeToCombo);
			this.m_listChoiceTab.Controls.Add(this.label3);
			this.m_listChoiceTab.Controls.Add(this.m_listChoiceTargetCombo);
			this.m_listChoiceTab.Controls.Add(this.label2);
			this.m_listChoiceTab.Controls.Add(this.m_closeButton);
			resources.ApplyResources(this.m_listChoiceTab, "m_listChoiceTab");
			this.m_listChoiceTab.Name = "m_listChoiceTab";
			this.m_listChoiceTab.UseVisualStyleBackColor = true;
			this.m_listChoiceTab.Enter += new System.EventHandler(this.m_listChoiceTab_Enter);
			//
			// m_bulkEditIconButton
			//
			this.m_bulkEditIconButton.BackColor = System.Drawing.Color.Transparent;
			resources.ApplyResources(this.m_bulkEditIconButton, "m_bulkEditIconButton");
			this.m_bulkEditIconButton.ImageList = this.m_imageList16x16;
			this.m_bulkEditIconButton.Name = "m_bulkEditIconButton";
			this.m_bulkEditIconButton.UseVisualStyleBackColor = false;
			//
			// m_imageList16x16
			//
			this.m_imageList16x16.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("m_imageList16x16.ImageStream")));
			this.m_imageList16x16.TransparentColor = System.Drawing.Color.Fuchsia;
			this.m_imageList16x16.Images.SetKeyName(0, "BulkEditIcon.bmp");
			//
			// m_bulkEditOperationLabel
			//
			resources.ApplyResources(this.m_bulkEditOperationLabel, "m_bulkEditOperationLabel");
			this.m_bulkEditOperationLabel.BackColor = System.Drawing.Color.Transparent;
			this.m_bulkEditOperationLabel.ForeColor = System.Drawing.Color.Blue;
			this.m_bulkEditOperationLabel.Name = "m_bulkEditOperationLabel";
			//
			// m_listChoiceChangeToCombo
			//
			this.m_listChoiceChangeToCombo.AllowSpaceInEditBox = false;
			this.m_listChoiceChangeToCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			resources.ApplyResources(this.m_listChoiceChangeToCombo, "m_listChoiceChangeToCombo");
			this.m_listChoiceChangeToCombo.Name = "m_listChoiceChangeToCombo";
			//
			// label3
			//
			resources.ApplyResources(this.label3, "label3");
			this.label3.Name = "label3";
			//
			// m_listChoiceTargetCombo
			//
			this.m_listChoiceTargetCombo.AllowSpaceInEditBox = false;
			this.m_listChoiceTargetCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			resources.ApplyResources(this.m_listChoiceTargetCombo, "m_listChoiceTargetCombo");
			this.m_listChoiceTargetCombo.Name = "m_listChoiceTargetCombo";
			//
			// label2
			//
			resources.ApplyResources(this.label2, "label2");
			this.label2.Name = "label2";
			//
			// m_closeButton
			//
			resources.ApplyResources(this.m_closeButton, "m_closeButton");
			this.m_closeButton.ForeColor = System.Drawing.SystemColors.Control;
			this.m_closeButton.Name = "m_closeButton";
			//
			// m_bulkCopyTab
			//
			this.m_bulkCopyTab.Controls.Add(this.m_bulkCopySourceCombo);
			this.m_bulkCopyTab.Controls.Add(this.label4);
			this.m_bulkCopyTab.Controls.Add(this.m_bulkCopyTargetCombo);
			this.m_bulkCopyTab.Controls.Add(this.label5);
			resources.ApplyResources(this.m_bulkCopyTab, "m_bulkCopyTab");
			this.m_bulkCopyTab.ForeColor = System.Drawing.SystemColors.ControlText;
			this.m_bulkCopyTab.Name = "m_bulkCopyTab";
			this.m_bulkCopyTab.UseVisualStyleBackColor = true;
			this.m_bulkCopyTab.Enter += new System.EventHandler(this.m_bulkCopyTab_Enter);
			//
			// m_bulkCopySourceCombo
			//
			this.m_bulkCopySourceCombo.AllowSpaceInEditBox = false;
			this.m_bulkCopySourceCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			resources.ApplyResources(this.m_bulkCopySourceCombo, "m_bulkCopySourceCombo");
			this.m_bulkCopySourceCombo.Name = "m_bulkCopySourceCombo";
			//
			// label4
			//
			resources.ApplyResources(this.label4, "label4");
			this.label4.Name = "label4";
			//
			// m_bulkCopyTargetCombo
			//
			this.m_bulkCopyTargetCombo.AllowSpaceInEditBox = false;
			this.m_bulkCopyTargetCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			resources.ApplyResources(this.m_bulkCopyTargetCombo, "m_bulkCopyTargetCombo");
			this.m_bulkCopyTargetCombo.Name = "m_bulkCopyTargetCombo";
			//
			// label5
			//
			resources.ApplyResources(this.label5, "label5");
			this.label5.Name = "label5";
			//
			// m_clickCopyTab
			//
			this.m_clickCopyTab.Controls.Add(this.groupBox2);
			this.m_clickCopyTab.Controls.Add(this.groupBox1);
			this.m_clickCopyTab.Controls.Add(this.m_clickCopyTargetCombo);
			this.m_clickCopyTab.Controls.Add(this.label6);
			resources.ApplyResources(this.m_clickCopyTab, "m_clickCopyTab");
			this.m_clickCopyTab.Name = "m_clickCopyTab";
			this.m_clickCopyTab.UseVisualStyleBackColor = true;
			this.m_clickCopyTab.Enter += new System.EventHandler(this.m_clickCopyTab_Enter);
			//
			// groupBox2
			//
			this.groupBox2.Controls.Add(this.m_clickCopySepBox);
			this.groupBox2.Controls.Add(this.m_clickCopyOverwriteButton);
			this.groupBox2.Controls.Add(this.m_clickCopyAppendButton);
			resources.ApplyResources(this.groupBox2, "groupBox2");
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.TabStop = false;
			//
			// m_clickCopySepBox
			//
			this.m_clickCopySepBox.AdjustStringHeight = true;
			this.m_clickCopySepBox.BackColor = System.Drawing.SystemColors.Window;
			this.m_clickCopySepBox.controlID = null;
			resources.ApplyResources(this.m_clickCopySepBox, "m_clickCopySepBox");
			this.m_clickCopySepBox.HasBorder = true;
			this.m_clickCopySepBox.Name = "m_clickCopySepBox";
			this.m_clickCopySepBox.SelectionLength = 0;
			this.m_clickCopySepBox.SelectionStart = 0;
			//
			// m_clickCopyOverwriteButton
			//
			resources.ApplyResources(this.m_clickCopyOverwriteButton, "m_clickCopyOverwriteButton");
			this.m_clickCopyOverwriteButton.Name = "m_clickCopyOverwriteButton";
			//
			// m_clickCopyAppendButton
			//
			resources.ApplyResources(this.m_clickCopyAppendButton, "m_clickCopyAppendButton");
			this.m_clickCopyAppendButton.Checked = true;
			this.m_clickCopyAppendButton.Name = "m_clickCopyAppendButton";
			this.m_clickCopyAppendButton.TabStop = true;
			//
			// groupBox1
			//
			this.groupBox1.Controls.Add(this.m_clickCopyReorderButton);
			this.groupBox1.Controls.Add(this.m_clickCopyWordButton);
			resources.ApplyResources(this.groupBox1, "groupBox1");
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.TabStop = false;
			//
			// m_clickCopyReorderButton
			//
			resources.ApplyResources(this.m_clickCopyReorderButton, "m_clickCopyReorderButton");
			this.m_clickCopyReorderButton.Name = "m_clickCopyReorderButton";
			//
			// m_clickCopyWordButton
			//
			resources.ApplyResources(this.m_clickCopyWordButton, "m_clickCopyWordButton");
			this.m_clickCopyWordButton.Checked = true;
			this.m_clickCopyWordButton.Name = "m_clickCopyWordButton";
			this.m_clickCopyWordButton.TabStop = true;
			//
			// m_clickCopyTargetCombo
			//
			this.m_clickCopyTargetCombo.AllowSpaceInEditBox = false;
			this.m_clickCopyTargetCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			resources.ApplyResources(this.m_clickCopyTargetCombo, "m_clickCopyTargetCombo");
			this.m_clickCopyTargetCombo.Name = "m_clickCopyTargetCombo";
			this.m_clickCopyTargetCombo.SelectedIndexChanged += new System.EventHandler(this.m_clickCopyTargetCombo_SelectedIndexChanged);
			//
			// label6
			//
			resources.ApplyResources(this.label6, "label6");
			this.label6.Name = "label6";
			//
			// m_transduceTab
			//
			this.m_transduceTab.Controls.Add(this.m_transduceSetupButton);
			this.m_transduceTab.Controls.Add(this.m_transduceSourceCombo);
			this.m_transduceTab.Controls.Add(this.label7);
			this.m_transduceTab.Controls.Add(this.m_transduceTargetCombo);
			this.m_transduceTab.Controls.Add(this.label8);
			this.m_transduceTab.Controls.Add(this.m_transduceProcessorCombo);
			this.m_transduceTab.Controls.Add(this.label9);
			resources.ApplyResources(this.m_transduceTab, "m_transduceTab");
			this.m_transduceTab.Name = "m_transduceTab";
			this.m_transduceTab.UseVisualStyleBackColor = true;
			this.m_transduceTab.Enter += new System.EventHandler(this.m_transduceTab_Enter);
			//
			// m_transduceSetupButton
			//
			resources.ApplyResources(this.m_transduceSetupButton, "m_transduceSetupButton");
			this.m_transduceSetupButton.Name = "m_transduceSetupButton";
			this.m_transduceSetupButton.Click += new System.EventHandler(this.m_transduceSetupButton_Click);
			//
			// m_transduceSourceCombo
			//
			this.m_transduceSourceCombo.AllowSpaceInEditBox = false;
			this.m_transduceSourceCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			resources.ApplyResources(this.m_transduceSourceCombo, "m_transduceSourceCombo");
			this.m_transduceSourceCombo.Name = "m_transduceSourceCombo";
			//
			// label7
			//
			resources.ApplyResources(this.label7, "label7");
			this.label7.Name = "label7";
			//
			// m_transduceTargetCombo
			//
			this.m_transduceTargetCombo.AllowSpaceInEditBox = false;
			this.m_transduceTargetCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			resources.ApplyResources(this.m_transduceTargetCombo, "m_transduceTargetCombo");
			this.m_transduceTargetCombo.Name = "m_transduceTargetCombo";
			//
			// label8
			//
			resources.ApplyResources(this.label8, "label8");
			this.label8.Name = "label8";
			//
			// m_transduceProcessorCombo
			//
			this.m_transduceProcessorCombo.AllowSpaceInEditBox = false;
			this.m_transduceProcessorCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.m_transduceProcessorCombo.Items.AddRange(new object[] {
			resources.GetString("m_transduceProcessorCombo.Items"),
			resources.GetString("m_transduceProcessorCombo.Items1")});
			resources.ApplyResources(this.m_transduceProcessorCombo, "m_transduceProcessorCombo");
			this.m_transduceProcessorCombo.Name = "m_transduceProcessorCombo";
			//
			// label9
			//
			resources.ApplyResources(this.label9, "label9");
			this.label9.Name = "label9";
			//
			// m_findReplaceTab
			//
			this.m_findReplaceTab.Controls.Add(this.m_findReplaceSetupButton);
			this.m_findReplaceTab.Controls.Add(this.m_findReplaceTargetCombo);
			this.m_findReplaceTab.Controls.Add(this.label12);
			resources.ApplyResources(this.m_findReplaceTab, "m_findReplaceTab");
			this.m_findReplaceTab.Name = "m_findReplaceTab";
			this.m_findReplaceTab.UseVisualStyleBackColor = true;
			this.m_findReplaceTab.Enter += new System.EventHandler(this.m_findReplaceTab_Enter);
			//
			// m_findReplaceSetupButton
			//
			resources.ApplyResources(this.m_findReplaceSetupButton, "m_findReplaceSetupButton");
			this.m_findReplaceSetupButton.Name = "m_findReplaceSetupButton";
			this.m_findReplaceSetupButton.Click += new System.EventHandler(this.m_findReplaceSetupButton_Click);
			//
			// m_findReplaceTargetCombo
			//
			this.m_findReplaceTargetCombo.AllowSpaceInEditBox = false;
			this.m_findReplaceTargetCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			resources.ApplyResources(this.m_findReplaceTargetCombo, "m_findReplaceTargetCombo");
			this.m_findReplaceTargetCombo.Name = "m_findReplaceTargetCombo";
			this.m_findReplaceTargetCombo.SelectedIndexChanged += new System.EventHandler(this.m_findReplaceTargetCombo_SelectedIndexChanged);
			//
			// label12
			//
			resources.ApplyResources(this.label12, "label12");
			this.label12.Name = "label12";
			//
			// m_deleteTab
			//
			this.m_deleteTab.Controls.Add(this.label13);
			this.m_deleteTab.Controls.Add(this.m_deleteWhatCombo);
			resources.ApplyResources(this.m_deleteTab, "m_deleteTab");
			this.m_deleteTab.Name = "m_deleteTab";
			this.m_deleteTab.UseVisualStyleBackColor = true;
			this.m_deleteTab.Enter += new System.EventHandler(this.m_deleteTab_Enter);
			//
			// label13
			//
			resources.ApplyResources(this.label13, "label13");
			this.label13.Name = "label13";
			//
			// m_deleteWhatCombo
			//
			this.m_deleteWhatCombo.AllowSpaceInEditBox = false;
			this.m_deleteWhatCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			resources.ApplyResources(this.m_deleteWhatCombo, "m_deleteWhatCombo");
			this.m_deleteWhatCombo.Name = "m_deleteWhatCombo";
			this.m_deleteWhatCombo.SelectedIndexChanged += new System.EventHandler(this.m_deleteWhatCombo_SelectedIndexChanged);
			//
			// m_imageList16x14
			//
			this.m_imageList16x14.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("m_imageList16x14.ImageStream")));
			this.m_imageList16x14.TransparentColor = System.Drawing.Color.Magenta;
			this.m_imageList16x14.Images.SetKeyName(0, "");
			//
			// m_helpButton
			//
			this.m_helpButton.ForeColor = System.Drawing.SystemColors.ControlText;
			resources.ApplyResources(this.m_helpButton, "m_helpButton");
			this.m_helpButton.Name = "m_helpButton";
			this.m_helpButton.Click += new System.EventHandler(this.m_helpButton_Click);
			//
			// m_previewButton
			//
			this.m_previewButton.ForeColor = System.Drawing.SystemColors.ControlText;
			resources.ApplyResources(this.m_previewButton, "m_previewButton");
			this.m_previewButton.Name = "m_previewButton";
			//
			// m_ApplyButton
			//
			this.m_ApplyButton.ForeColor = System.Drawing.SystemColors.ControlText;
			resources.ApplyResources(this.m_ApplyButton, "m_ApplyButton");
			this.m_ApplyButton.Name = "m_ApplyButton";
			//
			// BulkEditBar
			//
			this.Controls.Add(this.m_ApplyButton);
			this.Controls.Add(this.m_previewButton);
			this.Controls.Add(this.m_helpButton);
			this.Controls.Add(this.m_operationsTabControl);
			this.ForeColor = System.Drawing.SystemColors.ControlText;
			this.Name = "BulkEditBar";
			resources.ApplyResources(this, "$this");
			this.m_operationsTabControl.ResumeLayout(false);
			this.m_listChoiceTab.ResumeLayout(false);
			this.m_listChoiceTab.PerformLayout();
			this.m_bulkCopyTab.ResumeLayout(false);
			this.m_bulkCopyTab.PerformLayout();
			this.m_clickCopyTab.ResumeLayout(false);
			this.m_clickCopyTab.PerformLayout();
			this.groupBox2.ResumeLayout(false);
			this.groupBox2.PerformLayout();
			((System.ComponentModel.ISupportInitialize)(this.m_clickCopySepBox)).EndInit();
			this.groupBox1.ResumeLayout(false);
			this.groupBox1.PerformLayout();
			this.m_transduceTab.ResumeLayout(false);
			this.m_transduceTab.PerformLayout();
			this.m_findReplaceTab.ResumeLayout(false);
			this.m_findReplaceTab.PerformLayout();
			this.m_deleteTab.ResumeLayout(false);
			this.m_deleteTab.PerformLayout();
			this.ResumeLayout(false);

		}
 private FwTextBox CreateSearchBox()
 {
     var searchBox = new FwTextBox();
     searchBox.WritingSystemFactory = m_cache.LanguageWritingSystemFactoryAccessor;
     searchBox.WritingSystemCode = m_cache.DefaultAnalWs;
     searchBox.Location = new Point(0, 25);
     searchBox.Size = new Size(305, 20);
     searchBox.AdjustStringHeight = true;
     searchBox.HasBorder = false;
     searchBox.BorderStyle = BorderStyle.Fixed3D;
     searchBox.SuppressEnter = true;
     searchBox.Enabled = true;
     searchBox.GotFocus += m_textSearch_GotFocus;
     return searchBox;
 }
Ejemplo n.º 31
0
		/// -----------------------------------------------------------------------------------
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing"><c>true</c> to release both managed and unmanaged
		/// resources; <c>false</c> to release only unmanaged resources.
		/// </param>
		/// -----------------------------------------------------------------------------------
		protected override void Dispose(bool disposing)
		{
			//Debug.WriteLineIf(!disposing, "****************** " + GetType().Name + " 'disposing' is false. ******************");
			// Must not be run more than once.
			if (IsDisposed)
				return;

			m_lastTextBoxInFocus = null;

			if (disposing)
			{
				if (components != null)
					components.Dispose();
				if (m_cacheMadeLocally && m_cache != null)
					m_cache.Dispose();
				//if (m_helpTopicProvider != null && (m_helpTopicProvider is IDisposable)) // No, since the client provides it.
				//	(m_helpTopicProvider as IDisposable).Dispose();
				if (m_htNamedWS != null)
					m_htNamedWS.Clear();
				if (m_messageFilterInstalled)
				{
					Application.RemoveMessageFilter(this);
					m_messageFilterInstalled = false;
				}
			}
			m_htNamedWS = null;
			m_helpTopicProvider = null;
			m_searchKiller = null;
			m_prevSearchText = null;
			m_vwRootsite = null;
			m_vwPattern = null;
			m_cache = null;

			base.Dispose(disposing);
		}
Ejemplo n.º 32
0
		private int GrowTextBox(Panel panel, FwTextBox textBox)
		{
			int deltaY = textBox.PreferredHeight - textBox.Height;
			if (deltaY > 0)
			{
				panel.Height += deltaY;
				Height += deltaY;
				// Reinitialize the string.  Otherwise only the first line is displayed for some reason.
				textBox.Tss = textBox.Tss;
				return deltaY;
			}
			return 0;
		}
Ejemplo n.º 33
0
 /// <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(AddNewSenseDlg));
     this.label1             = new System.Windows.Forms.Label();
     this.m_btnOK            = new System.Windows.Forms.Button();
     this.m_btnCancel        = new System.Windows.Forms.Button();
     this.m_fwtbCitationForm = new SIL.FieldWorks.Common.Widgets.FwTextBox();
     this.m_fwtbGloss        = new SIL.FieldWorks.Common.Widgets.FwTextBox();
     this.m_cbIsStem         = new System.Windows.Forms.CheckBox();
     this.label2             = new System.Windows.Forms.Label();
     this.m_msaGroupBox      = new SIL.FieldWorks.LexText.Controls.MSAGroupBox();
     this.buttonHelp         = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.m_fwtbCitationForm)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.m_fwtbGloss)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // m_btnOK
     //
     this.m_btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     resources.ApplyResources(this.m_btnOK, "m_btnOK");
     this.m_btnOK.Name = "m_btnOK";
     //
     // m_btnCancel
     //
     this.m_btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     resources.ApplyResources(this.m_btnCancel, "m_btnCancel");
     this.m_btnCancel.Name = "m_btnCancel";
     //
     // m_fwtbCitationForm
     //
     this.m_fwtbCitationForm.AdjustStringHeight = true;
     this.m_fwtbCitationForm.AllowMultipleLines = false;
     this.m_fwtbCitationForm.BackColor          = System.Drawing.SystemColors.Control;
     this.m_fwtbCitationForm.controlID          = null;
     resources.ApplyResources(this.m_fwtbCitationForm, "m_fwtbCitationForm");
     this.m_fwtbCitationForm.Name              = "m_fwtbCitationForm";
     this.m_fwtbCitationForm.SelectionLength   = 0;
     this.m_fwtbCitationForm.SelectionStart    = 0;
     this.m_fwtbCitationForm.WritingSystemCode = 1;
     //
     // m_fwtbGloss
     //
     this.m_fwtbGloss.AdjustStringHeight = true;
     this.m_fwtbGloss.AllowMultipleLines = false;
     this.m_fwtbGloss.BackColor          = System.Drawing.SystemColors.Window;
     this.m_fwtbGloss.controlID          = null;
     resources.ApplyResources(this.m_fwtbGloss, "m_fwtbGloss");
     this.m_fwtbGloss.Name              = "m_fwtbGloss";
     this.m_fwtbGloss.SelectionLength   = 0;
     this.m_fwtbGloss.SelectionStart    = 0;
     this.m_fwtbGloss.WritingSystemCode = 1;
     //
     // m_cbIsStem
     //
     resources.ApplyResources(this.m_cbIsStem, "m_cbIsStem");
     this.m_cbIsStem.Name            = "m_cbIsStem";
     this.m_cbIsStem.CheckedChanged += new System.EventHandler(this.m_cbIsStem_CheckedChanged);
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // m_msaGroupBox
     //
     resources.ApplyResources(this.m_msaGroupBox, "m_msaGroupBox");
     this.m_msaGroupBox.MSAType = SIL.FieldWorks.FDO.MsaType.kNotSet;
     this.m_msaGroupBox.Name    = "m_msaGroupBox";
     this.m_msaGroupBox.Slot    = null;
     //
     // buttonHelp
     //
     resources.ApplyResources(this.buttonHelp, "buttonHelp");
     this.buttonHelp.Name   = "buttonHelp";
     this.buttonHelp.Click += new System.EventHandler(this.buttonHelp_Click);
     //
     // AddNewSenseDlg
     //
     this.AcceptButton = this.m_btnOK;
     resources.ApplyResources(this, "$this");
     this.CancelButton = this.m_btnCancel;
     this.ControlBox   = false;
     this.Controls.Add(this.label2);
     this.Controls.Add(this.m_cbIsStem);
     this.Controls.Add(this.m_fwtbGloss);
     this.Controls.Add(this.m_fwtbCitationForm);
     this.Controls.Add(this.m_btnCancel);
     this.Controls.Add(this.m_btnOK);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.buttonHelp);
     this.Controls.Add(this.m_msaGroupBox);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "AddNewSenseDlg";
     this.ShowInTaskbar   = false;
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.AddNewSenseDlg_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.m_fwtbCitationForm)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.m_fwtbGloss)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 34
0
		/// -----------------------------------------------------------------------------------
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		/// -----------------------------------------------------------------------------------
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.Windows.Forms.Button m_btnOK;
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PicturePropertiesDialog));
			System.Windows.Forms.Button btnCancel;
			System.Windows.Forms.Button btnChooseFile;
			System.Windows.Forms.Label lblCaption;
			System.Windows.Forms.Label label2;
			System.Windows.Forms.Label label3;
			this.m_btnHelp = new System.Windows.Forms.Button();
			this.m_picPreview = new System.Windows.Forms.PictureBox();
			this.lblFilename = new System.Windows.Forms.Label();
			this.m_txtCaption = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.m_tooltip = new System.Windows.Forms.ToolTip(this.components);
			this.panelBottom = new System.Windows.Forms.Panel();
			this.pnlPicture = new SIL.FieldWorks.Common.Controls.FwPanel();
			this.pnlCaption = new SIL.FieldWorks.Common.Controls.FwPanel();
			this.m_grpFileLocOptions = new System.Windows.Forms.GroupBox();
			this.m_btnBrowseDest = new System.Windows.Forms.Button();
			this.m_txtDestination = new System.Windows.Forms.TextBox();
			this.m_lblDestination = new System.Windows.Forms.Label();
			this.m_rbLeave = new System.Windows.Forms.RadioButton();
			this.m_rbMove = new System.Windows.Forms.RadioButton();
			this.m_rbCopy = new System.Windows.Forms.RadioButton();
			this.panelFileName = new System.Windows.Forms.Panel();
			this.panel1 = new System.Windows.Forms.Panel();
			m_btnOK = new System.Windows.Forms.Button();
			btnCancel = new System.Windows.Forms.Button();
			btnChooseFile = new System.Windows.Forms.Button();
			lblCaption = new System.Windows.Forms.Label();
			label2 = new System.Windows.Forms.Label();
			label3 = new System.Windows.Forms.Label();
			((System.ComponentModel.ISupportInitialize)(this.m_picPreview)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.m_txtCaption)).BeginInit();
			this.panelBottom.SuspendLayout();
			this.pnlPicture.SuspendLayout();
			this.pnlCaption.SuspendLayout();
			this.m_grpFileLocOptions.SuspendLayout();
			this.panelFileName.SuspendLayout();
			this.panel1.SuspendLayout();
			this.SuspendLayout();
			//
			// m_btnOK
			//
			resources.ApplyResources(m_btnOK, "m_btnOK");
			m_btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
			m_btnOK.Name = "m_btnOK";
			//
			// btnCancel
			//
			resources.ApplyResources(btnCancel, "btnCancel");
			btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			btnCancel.Name = "btnCancel";
			//
			// btnChooseFile
			//
			resources.ApplyResources(btnChooseFile, "btnChooseFile");
			btnChooseFile.Name = "btnChooseFile";
			btnChooseFile.Click += new System.EventHandler(this.m_btnChooseFile_Click);
			//
			// lblCaption
			//
			resources.ApplyResources(lblCaption, "lblCaption");
			lblCaption.Name = "lblCaption";
			//
			// label2
			//
			resources.ApplyResources(label2, "label2");
			label2.Name = "label2";
			//
			// label3
			//
			resources.ApplyResources(label3, "label3");
			label3.Name = "label3";
			//
			// m_btnHelp
			//
			resources.ApplyResources(this.m_btnHelp, "m_btnHelp");
			this.m_btnHelp.Name = "m_btnHelp";
			this.m_btnHelp.Click += new System.EventHandler(this.m_btnHelp_Click);
			//
			// m_picPreview
			//
			resources.ApplyResources(this.m_picPreview, "m_picPreview");
			this.m_picPreview.Name = "m_picPreview";
			this.m_picPreview.TabStop = false;
			this.m_picPreview.ClientSizeChanged += new System.EventHandler(this.m_picPreview_ClientSizeChanged);
			//
			// lblFilename
			//
			resources.ApplyResources(this.lblFilename, "lblFilename");
			this.lblFilename.Name = "lblFilename";
			this.lblFilename.Paint += new System.Windows.Forms.PaintEventHandler(this.lblFilename_Paint);
			this.lblFilename.MouseEnter += new System.EventHandler(this.lblFilename_MouseEnter);
			//
			// m_txtCaption
			//
			this.m_txtCaption.AcceptsReturn = false;
			this.m_txtCaption.AdjustStringHeight = true;
			this.m_txtCaption.BackColor = System.Drawing.SystemColors.Window;
			this.m_txtCaption.controlID = null;
			resources.ApplyResources(this.m_txtCaption, "m_txtCaption");
			this.m_txtCaption.HasBorder = true;
			this.m_txtCaption.Name = "m_txtCaption";
			this.m_txtCaption.SuppressEnter = false;
			this.m_txtCaption.WordWrap = true;
			//
			// panelBottom
			//
			resources.ApplyResources(this.panelBottom, "panelBottom");
			this.panelBottom.Controls.Add(this.pnlPicture);
			this.panelBottom.Controls.Add(this.pnlCaption);
			this.panelBottom.Controls.Add(btnChooseFile);
			this.panelBottom.Controls.Add(lblCaption);
			this.panelBottom.Controls.Add(label3);
			this.panelBottom.ForeColor = System.Drawing.SystemColors.ControlText;
			this.panelBottom.Name = "panelBottom";
			//
			// pnlPicture
			//
			resources.ApplyResources(this.pnlPicture, "pnlPicture");
			this.pnlPicture.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.pnlPicture.ClipTextForChildControls = true;
			this.pnlPicture.ControlReceivingFocusOnMnemonic = null;
			this.pnlPicture.Controls.Add(this.m_picPreview);
			this.pnlPicture.DoubleBuffered = true;
			this.pnlPicture.MnemonicGeneratesClick = false;
			this.pnlPicture.Name = "pnlPicture";
			this.pnlPicture.PaintExplorerBarBackground = false;
			//
			// pnlCaption
			//
			resources.ApplyResources(this.pnlCaption, "pnlCaption");
			this.pnlCaption.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.pnlCaption.ClipTextForChildControls = true;
			this.pnlCaption.ControlReceivingFocusOnMnemonic = null;
			this.pnlCaption.Controls.Add(this.m_txtCaption);
			this.pnlCaption.DoubleBuffered = true;
			this.pnlCaption.MnemonicGeneratesClick = false;
			this.pnlCaption.Name = "pnlCaption";
			this.pnlCaption.PaintExplorerBarBackground = false;
			//
			// m_grpFileLocOptions
			//
			resources.ApplyResources(this.m_grpFileLocOptions, "m_grpFileLocOptions");
			this.m_grpFileLocOptions.Controls.Add(this.m_btnBrowseDest);
			this.m_grpFileLocOptions.Controls.Add(this.m_txtDestination);
			this.m_grpFileLocOptions.Controls.Add(this.m_lblDestination);
			this.m_grpFileLocOptions.Controls.Add(this.m_rbLeave);
			this.m_grpFileLocOptions.Controls.Add(this.m_rbMove);
			this.m_grpFileLocOptions.Controls.Add(this.m_rbCopy);
			this.m_grpFileLocOptions.Name = "m_grpFileLocOptions";
			this.m_grpFileLocOptions.TabStop = false;
			//
			// m_btnBrowseDest
			//
			resources.ApplyResources(this.m_btnBrowseDest, "m_btnBrowseDest");
			this.m_btnBrowseDest.Name = "m_btnBrowseDest";
			this.m_btnBrowseDest.UseVisualStyleBackColor = true;
			this.m_btnBrowseDest.Click += new System.EventHandler(this.m_btnBrowseDest_Click);
			//
			// m_txtDestination
			//
			resources.ApplyResources(this.m_txtDestination, "m_txtDestination");
			this.m_txtDestination.Name = "m_txtDestination";
			//
			// m_lblDestination
			//
			resources.ApplyResources(this.m_lblDestination, "m_lblDestination");
			this.m_lblDestination.Name = "m_lblDestination";
			//
			// m_rbLeave
			//
			resources.ApplyResources(this.m_rbLeave, "m_rbLeave");
			this.m_rbLeave.Name = "m_rbLeave";
			this.m_rbLeave.UseVisualStyleBackColor = true;
			this.m_rbLeave.CheckedChanged += new System.EventHandler(this.HandleLocationCheckedChanged);
			//
			// m_rbMove
			//
			resources.ApplyResources(this.m_rbMove, "m_rbMove");
			this.m_rbMove.Name = "m_rbMove";
			this.m_rbMove.UseVisualStyleBackColor = true;
			this.m_rbMove.CheckedChanged += new System.EventHandler(this.HandleLocationCheckedChanged);
			//
			// m_rbCopy
			//
			resources.ApplyResources(this.m_rbCopy, "m_rbCopy");
			this.m_rbCopy.Checked = true;
			this.m_rbCopy.Name = "m_rbCopy";
			this.m_rbCopy.TabStop = true;
			this.m_rbCopy.UseVisualStyleBackColor = true;
			this.m_rbCopy.CheckedChanged += new System.EventHandler(this.HandleLocationCheckedChanged);
			//
			// panelFileName
			//
			resources.ApplyResources(this.panelFileName, "panelFileName");
			this.panelFileName.Controls.Add(this.lblFilename);
			this.panelFileName.Controls.Add(label2);
			this.panelFileName.ForeColor = System.Drawing.SystemColors.ControlText;
			this.panelFileName.Name = "panelFileName";
			//
			// panel1
			//
			resources.ApplyResources(this.panel1, "panel1");
			this.panel1.Controls.Add(btnCancel);
			this.panel1.Controls.Add(this.m_btnHelp);
			this.panel1.Controls.Add(m_btnOK);
			this.panel1.Name = "panel1";
			//
			// PicturePropertiesDialog
			//
			this.AcceptButton = m_btnOK;
			resources.ApplyResources(this, "$this");
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.CancelButton = btnCancel;
			this.Controls.Add(this.panelBottom);
			this.Controls.Add(this.m_grpFileLocOptions);
			this.Controls.Add(this.panelFileName);
			this.Controls.Add(this.panel1);
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "PicturePropertiesDialog";
			this.ShowIcon = false;
			this.ShowInTaskbar = false;
			((System.ComponentModel.ISupportInitialize)(this.m_picPreview)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.m_txtCaption)).EndInit();
			this.panelBottom.ResumeLayout(false);
			this.panelBottom.PerformLayout();
			this.pnlPicture.ResumeLayout(false);
			this.pnlCaption.ResumeLayout(false);
			this.m_grpFileLocOptions.ResumeLayout(false);
			this.m_grpFileLocOptions.PerformLayout();
			this.panelFileName.ResumeLayout(false);
			this.panelFileName.PerformLayout();
			this.panel1.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Ejemplo n.º 35
0
		/// <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(AddNewSenseDlg));
			this.label1 = new System.Windows.Forms.Label();
			this.m_btnOK = new System.Windows.Forms.Button();
			this.m_btnCancel = new System.Windows.Forms.Button();
			this.m_fwtbCitationForm = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.m_fwtbGloss = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.m_msaGroupBox = new SIL.FieldWorks.LexText.Controls.MSAGroupBox();
			this.buttonHelp = new System.Windows.Forms.Button();
			((System.ComponentModel.ISupportInitialize)(this.m_fwtbCitationForm)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.m_fwtbGloss)).BeginInit();
			this.SuspendLayout();
			//
			// label1
			//
			resources.ApplyResources(this.label1, "label1");
			this.label1.Name = "label1";
			//
			// m_btnOK
			//
			this.m_btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
			resources.ApplyResources(this.m_btnOK, "m_btnOK");
			this.m_btnOK.Name = "m_btnOK";
			//
			// m_btnCancel
			//
			this.m_btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			resources.ApplyResources(this.m_btnCancel, "m_btnCancel");
			this.m_btnCancel.Name = "m_btnCancel";
			//
			// m_fwtbCitationForm
			//
			this.m_fwtbCitationForm.AdjustStringHeight = true;
			this.m_fwtbCitationForm.BackColor = System.Drawing.SystemColors.Control;
			this.m_fwtbCitationForm.controlID = null;
			resources.ApplyResources(this.m_fwtbCitationForm, "m_fwtbCitationForm");
			this.m_fwtbCitationForm.Name = "m_fwtbCitationForm";
			this.m_fwtbCitationForm.SelectionLength = 0;
			this.m_fwtbCitationForm.SelectionStart = 0;
			// Bad idea! Causes a crash (see FWR-2528).
			// WritingSystemCode gets set appropriately in SetDlgInfo().
			//this.m_fwtbCitationForm.WritingSystemCode = 1;
			//
			// m_fwtbGloss
			//
			this.m_fwtbGloss.AdjustStringHeight = true;
			this.m_fwtbGloss.BackColor = System.Drawing.SystemColors.Window;
			this.m_fwtbGloss.controlID = null;
			resources.ApplyResources(this.m_fwtbGloss, "m_fwtbGloss");
			this.m_fwtbGloss.Name = "m_fwtbGloss";
			this.m_fwtbGloss.SelectionLength = 0;
			this.m_fwtbGloss.SelectionStart = 0;
			// Bad idea! Causes a crash (see FWR-2528).
			// WritingSystemCode gets set appropriately in SetDlgInfo().
			//this.m_fwtbGloss.WritingSystemCode = 1;
			//
			// label2
			//
			resources.ApplyResources(this.label2, "label2");
			this.label2.Name = "label2";
			//
			// m_msaGroupBox
			//
			resources.ApplyResources(this.m_msaGroupBox, "m_msaGroupBox");
			this.m_msaGroupBox.MSAType = SIL.FieldWorks.FDO.MsaType.kNotSet;
			this.m_msaGroupBox.Name = "m_msaGroupBox";
			this.m_msaGroupBox.Slot = null;
			//
			// buttonHelp
			//
			resources.ApplyResources(this.buttonHelp, "buttonHelp");
			this.buttonHelp.Name = "buttonHelp";
			this.buttonHelp.Click += new System.EventHandler(this.buttonHelp_Click);
			//
			// AddNewSenseDlg
			//
			this.AcceptButton = this.m_btnOK;
			resources.ApplyResources(this, "$this");
			this.CancelButton = this.m_btnCancel;
			this.ControlBox = false;
			this.Controls.Add(this.label2);
			this.Controls.Add(this.m_fwtbGloss);
			this.Controls.Add(this.m_fwtbCitationForm);
			this.Controls.Add(this.m_btnCancel);
			this.Controls.Add(this.m_btnOK);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.buttonHelp);
			this.Controls.Add(this.m_msaGroupBox);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.Name = "AddNewSenseDlg";
			this.ShowInTaskbar = false;
			this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
			this.Closing += new System.ComponentModel.CancelEventHandler(this.AddNewSenseDlg_Closing);
			((System.ComponentModel.ISupportInitialize)(this.m_fwtbCitationForm)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.m_fwtbGloss)).EndInit();
			this.ResumeLayout(false);

		}
Ejemplo n.º 36
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ComplexConcMorphDlg));
			this.m_btnHelp = new System.Windows.Forms.Button();
			this.m_btnCancel = new System.Windows.Forms.Button();
			this.m_btnOK = new System.Windows.Forms.Button();
			this.m_helpProvider = new System.Windows.Forms.HelpProvider();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.m_glossWsComboBox = new System.Windows.Forms.ComboBox();
			this.m_glossTextBox = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.m_entryWsComboBox = new System.Windows.Forms.ComboBox();
			this.m_entryTextBox = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.m_formWsComboBox = new System.Windows.Forms.ComboBox();
			this.m_formTextBox = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.groupBox4 = new System.Windows.Forms.GroupBox();
			this.m_categoryNotCheckBox = new System.Windows.Forms.CheckBox();
			this.m_categoryComboBox = new SIL.FieldWorks.Common.Widgets.TreeCombo();
			this.groupBox5 = new System.Windows.Forms.GroupBox();
			this.m_inflFeatsTreeView = new Aga.Controls.Tree.TreeViewAdv();
			this.m_featureColumn = new Aga.Controls.Tree.TreeColumn();
			this.m_notColumn = new Aga.Controls.Tree.TreeColumn();
			this.m_valueColumn = new Aga.Controls.Tree.TreeColumn();
			this.m_featureIcon = new Aga.Controls.Tree.NodeControls.NodeIcon();
			this.m_featureTextBox = new Aga.Controls.Tree.NodeControls.NodeTextBox();
			this.m_valueComboBox = new Aga.Controls.Tree.NodeControls.NodeComboBox();
			this.m_inflNotCheckBox = new Aga.Controls.Tree.NodeControls.NodeCheckBox();
			this.m_imageList = new System.Windows.Forms.ImageList(this.components);
			this.groupBox2.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.m_glossTextBox)).BeginInit();
			this.groupBox3.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.m_entryTextBox)).BeginInit();
			this.groupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.m_formTextBox)).BeginInit();
			this.groupBox4.SuspendLayout();
			this.groupBox5.SuspendLayout();
			this.SuspendLayout();
			//
			// m_btnHelp
			//
			resources.ApplyResources(this.m_btnHelp, "m_btnHelp");
			this.m_btnHelp.Name = "m_btnHelp";
			this.m_btnHelp.UseVisualStyleBackColor = true;
			this.m_btnHelp.Click += new System.EventHandler(this.m_btnHelp_Click);
			//
			// m_btnCancel
			//
			resources.ApplyResources(this.m_btnCancel, "m_btnCancel");
			this.m_btnCancel.Name = "m_btnCancel";
			this.m_btnCancel.UseVisualStyleBackColor = true;
			this.m_btnCancel.Click += new System.EventHandler(this.m_btnCancel_Click);
			//
			// m_btnOK
			//
			resources.ApplyResources(this.m_btnOK, "m_btnOK");
			this.m_btnOK.Name = "m_btnOK";
			this.m_btnOK.UseVisualStyleBackColor = true;
			this.m_btnOK.Click += new System.EventHandler(this.m_btnOK_Click);
			//
			// groupBox2
			//
			this.groupBox2.Controls.Add(this.m_glossWsComboBox);
			this.groupBox2.Controls.Add(this.m_glossTextBox);
			resources.ApplyResources(this.groupBox2, "groupBox2");
			this.groupBox2.Name = "groupBox2";
			this.m_helpProvider.SetShowHelp(this.groupBox2, ((bool)(resources.GetObject("groupBox2.ShowHelp"))));
			this.groupBox2.TabStop = false;
			//
			// m_glossWsComboBox
			//
			this.m_glossWsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.m_glossWsComboBox.FormattingEnabled = true;
			resources.ApplyResources(this.m_glossWsComboBox, "m_glossWsComboBox");
			this.m_glossWsComboBox.Name = "m_glossWsComboBox";
			this.m_helpProvider.SetShowHelp(this.m_glossWsComboBox, ((bool)(resources.GetObject("m_glossWsComboBox.ShowHelp"))));
			this.m_glossWsComboBox.SelectedIndexChanged += new System.EventHandler(this.m_glossWsComboBox_SelectedIndexChanged);
			//
			// m_glossTextBox
			//
			this.m_glossTextBox.AcceptsReturn = false;
			this.m_glossTextBox.AdjustStringHeight = true;
			this.m_glossTextBox.BackColor = System.Drawing.SystemColors.Window;
			this.m_glossTextBox.controlID = null;
			resources.ApplyResources(this.m_glossTextBox, "m_glossTextBox");
			this.m_glossTextBox.HasBorder = true;
			this.m_glossTextBox.Name = "m_glossTextBox";
			this.m_helpProvider.SetShowHelp(this.m_glossTextBox, ((bool)(resources.GetObject("m_glossTextBox.ShowHelp"))));
			this.m_glossTextBox.SuppressEnter = true;
			this.m_glossTextBox.WordWrap = false;
			//
			// groupBox3
			//
			this.groupBox3.Controls.Add(this.m_entryWsComboBox);
			this.groupBox3.Controls.Add(this.m_entryTextBox);
			resources.ApplyResources(this.groupBox3, "groupBox3");
			this.groupBox3.Name = "groupBox3";
			this.m_helpProvider.SetShowHelp(this.groupBox3, ((bool)(resources.GetObject("groupBox3.ShowHelp"))));
			this.groupBox3.TabStop = false;
			//
			// m_entryWsComboBox
			//
			this.m_entryWsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.m_entryWsComboBox.FormattingEnabled = true;
			resources.ApplyResources(this.m_entryWsComboBox, "m_entryWsComboBox");
			this.m_entryWsComboBox.Name = "m_entryWsComboBox";
			this.m_helpProvider.SetShowHelp(this.m_entryWsComboBox, ((bool)(resources.GetObject("m_entryWsComboBox.ShowHelp"))));
			this.m_entryWsComboBox.SelectedIndexChanged += new System.EventHandler(this.m_entryWsComboBox_SelectedIndexChanged);
			//
			// m_entryTextBox
			//
			this.m_entryTextBox.AcceptsReturn = false;
			this.m_entryTextBox.AdjustStringHeight = true;
			this.m_entryTextBox.BackColor = System.Drawing.SystemColors.Window;
			this.m_entryTextBox.controlID = null;
			resources.ApplyResources(this.m_entryTextBox, "m_entryTextBox");
			this.m_entryTextBox.HasBorder = true;
			this.m_entryTextBox.Name = "m_entryTextBox";
			this.m_helpProvider.SetShowHelp(this.m_entryTextBox, ((bool)(resources.GetObject("m_entryTextBox.ShowHelp"))));
			this.m_entryTextBox.SuppressEnter = true;
			this.m_entryTextBox.WordWrap = false;
			//
			// groupBox1
			//
			this.groupBox1.Controls.Add(this.m_formWsComboBox);
			this.groupBox1.Controls.Add(this.m_formTextBox);
			resources.ApplyResources(this.groupBox1, "groupBox1");
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.TabStop = false;
			//
			// m_formWsComboBox
			//
			this.m_formWsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.m_formWsComboBox.FormattingEnabled = true;
			resources.ApplyResources(this.m_formWsComboBox, "m_formWsComboBox");
			this.m_formWsComboBox.Name = "m_formWsComboBox";
			this.m_formWsComboBox.SelectedIndexChanged += new System.EventHandler(this.m_formWsComboBox_SelectedIndexChanged);
			//
			// m_formTextBox
			//
			this.m_formTextBox.AcceptsReturn = false;
			this.m_formTextBox.AdjustStringHeight = true;
			this.m_formTextBox.BackColor = System.Drawing.SystemColors.Window;
			this.m_formTextBox.controlID = null;
			resources.ApplyResources(this.m_formTextBox, "m_formTextBox");
			this.m_formTextBox.HasBorder = true;
			this.m_formTextBox.Name = "m_formTextBox";
			this.m_formTextBox.SuppressEnter = true;
			this.m_formTextBox.WordWrap = false;
			//
			// groupBox4
			//
			this.groupBox4.Controls.Add(this.m_categoryNotCheckBox);
			this.groupBox4.Controls.Add(this.m_categoryComboBox);
			resources.ApplyResources(this.groupBox4, "groupBox4");
			this.groupBox4.Name = "groupBox4";
			this.groupBox4.TabStop = false;
			//
			// m_categoryNotCheckBox
			//
			resources.ApplyResources(this.m_categoryNotCheckBox, "m_categoryNotCheckBox");
			this.m_categoryNotCheckBox.Name = "m_categoryNotCheckBox";
			this.m_categoryNotCheckBox.UseVisualStyleBackColor = true;
			//
			// m_categoryComboBox
			//
			this.m_categoryComboBox.AdjustStringHeight = true;
			this.m_categoryComboBox.BackColor = System.Drawing.SystemColors.Window;
			this.m_categoryComboBox.DropDownWidth = 120;
			this.m_categoryComboBox.DroppedDown = false;
			this.m_categoryComboBox.HasBorder = true;
			resources.ApplyResources(this.m_categoryComboBox, "m_categoryComboBox");
			this.m_categoryComboBox.Name = "m_categoryComboBox";
			this.m_categoryComboBox.UseVisualStyleBackColor = true;
			//
			// groupBox5
			//
			this.groupBox5.Controls.Add(this.m_inflFeatsTreeView);
			resources.ApplyResources(this.groupBox5, "groupBox5");
			this.groupBox5.Name = "groupBox5";
			this.groupBox5.TabStop = false;
			//
			// m_inflFeatsTreeView
			//
			this.m_inflFeatsTreeView.BackColor = System.Drawing.SystemColors.Window;
			this.m_inflFeatsTreeView.Columns.Add(this.m_featureColumn);
			this.m_inflFeatsTreeView.Columns.Add(this.m_notColumn);
			this.m_inflFeatsTreeView.Columns.Add(this.m_valueColumn);
			this.m_inflFeatsTreeView.DefaultToolTipProvider = null;
			this.m_inflFeatsTreeView.DragDropMarkColor = System.Drawing.Color.Black;
			this.m_inflFeatsTreeView.FullRowSelect = true;
			this.m_inflFeatsTreeView.LineColor = System.Drawing.SystemColors.ControlDark;
			resources.ApplyResources(this.m_inflFeatsTreeView, "m_inflFeatsTreeView");
			this.m_inflFeatsTreeView.Model = null;
			this.m_inflFeatsTreeView.Name = "m_inflFeatsTreeView";
			this.m_inflFeatsTreeView.NodeControls.Add(this.m_featureIcon);
			this.m_inflFeatsTreeView.NodeControls.Add(this.m_featureTextBox);
			this.m_inflFeatsTreeView.NodeControls.Add(this.m_valueComboBox);
			this.m_inflFeatsTreeView.NodeControls.Add(this.m_inflNotCheckBox);
			this.m_inflFeatsTreeView.SelectedNode = null;
			this.m_inflFeatsTreeView.UseColumns = true;
			//
			// m_featureColumn
			//
			resources.ApplyResources(this.m_featureColumn, "m_featureColumn");
			this.m_featureColumn.SortOrder = System.Windows.Forms.SortOrder.None;
			//
			// m_notColumn
			//
			resources.ApplyResources(this.m_notColumn, "m_notColumn");
			this.m_notColumn.SortOrder = System.Windows.Forms.SortOrder.None;
			//
			// m_valueColumn
			//
			resources.ApplyResources(this.m_valueColumn, "m_valueColumn");
			this.m_valueColumn.SortOrder = System.Windows.Forms.SortOrder.None;
			//
			// m_featureIcon
			//
			this.m_featureIcon.DataPropertyName = "Image";
			this.m_featureIcon.LeftMargin = 1;
			this.m_featureIcon.ParentColumn = this.m_featureColumn;
			this.m_featureIcon.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Clip;
			//
			// m_featureTextBox
			//
			this.m_featureTextBox.DataPropertyName = "Text";
			this.m_featureTextBox.IncrementalSearchEnabled = true;
			this.m_featureTextBox.LeftMargin = 1;
			this.m_featureTextBox.ParentColumn = this.m_featureColumn;
			//
			// m_valueComboBox
			//
			this.m_valueComboBox.DataPropertyName = "Value";
			this.m_valueComboBox.EditEnabled = true;
			this.m_valueComboBox.EditOnClick = true;
			this.m_valueComboBox.IncrementalSearchEnabled = true;
			this.m_valueComboBox.LeftMargin = 1;
			this.m_valueComboBox.ParentColumn = this.m_valueColumn;
			this.m_valueComboBox.CreatingEditor += new System.EventHandler<Aga.Controls.Tree.NodeControls.EditEventArgs>(this.m_valueComboBox_CreatingEditor);
			this.m_valueComboBox.IsEditEnabledValueNeeded += new System.EventHandler<Aga.Controls.Tree.NodeControls.NodeControlValueEventArgs>(this.m_valueComboBox_IsEditEnabledValueNeeded);
			//
			// m_inflNotCheckBox
			//
			this.m_inflNotCheckBox.DataPropertyName = "IsChecked";
			this.m_inflNotCheckBox.EditEnabled = true;
			this.m_inflNotCheckBox.LeftMargin = 1;
			this.m_inflNotCheckBox.ParentColumn = this.m_notColumn;
			this.m_inflNotCheckBox.IsVisibleValueNeeded += new System.EventHandler<Aga.Controls.Tree.NodeControls.NodeControlValueEventArgs>(this.m_inflNotCheckBox_IsVisibleValueNeeded);
			//
			// m_imageList
			//
			this.m_imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("m_imageList.ImageStream")));
			this.m_imageList.TransparentColor = System.Drawing.Color.Transparent;
			this.m_imageList.Images.SetKeyName(0, "");
			this.m_imageList.Images.SetKeyName(1, "");
			//
			// ComplexConcMorphDlg
			//
			this.AcceptButton = this.m_btnOK;
			resources.ApplyResources(this, "$this");
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.CancelButton = this.m_btnCancel;
			this.Controls.Add(this.groupBox5);
			this.Controls.Add(this.groupBox4);
			this.Controls.Add(this.groupBox3);
			this.Controls.Add(this.groupBox2);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.m_btnHelp);
			this.Controls.Add(this.m_btnCancel);
			this.Controls.Add(this.m_btnOK);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "ComplexConcMorphDlg";
			this.m_helpProvider.SetShowHelp(this, ((bool)(resources.GetObject("$this.ShowHelp"))));
			this.ShowIcon = false;
			this.ShowInTaskbar = false;
			this.groupBox2.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.m_glossTextBox)).EndInit();
			this.groupBox3.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.m_entryTextBox)).EndInit();
			this.groupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.m_formTextBox)).EndInit();
			this.groupBox4.ResumeLayout(false);
			this.groupBox4.PerformLayout();
			this.groupBox5.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Ejemplo n.º 37
0
		/// -----------------------------------------------------------------------------------
		/// <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 btnHelp;
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FwFindReplaceDlg));
			System.Windows.Forms.Label lblFindText;
			this.tabControls = new System.Windows.Forms.TabControl();
			this.tabFind = new System.Windows.Forms.TabPage();
			this.tabReplace = new System.Windows.Forms.TabPage();
			this.panelSearchOptions = new System.Windows.Forms.Panel();
			this.chkUseRegularExpressions = new System.Windows.Forms.CheckBox();
			this.btnFormat = new System.Windows.Forms.Button();
			this.chkMatchCase = new System.Windows.Forms.CheckBox();
			this.chkMatchDiacritics = new System.Windows.Forms.CheckBox();
			this.chkMatchWholeWord = new System.Windows.Forms.CheckBox();
			this.chkMatchWS = new System.Windows.Forms.CheckBox();
			this.lblSearchOptions = new System.Windows.Forms.Label();
			this.panelBasic = new System.Windows.Forms.Panel();
			this.btnRegexMenuReplace = new System.Windows.Forms.Button();
			this.btnRegexMenuFind = new System.Windows.Forms.Button();
			this.lblReplaceFormat = new System.Windows.Forms.Label();
			this.lblReplaceFormatText = new System.Windows.Forms.Label();
			this.lblFindFormatText = new System.Windows.Forms.Label();
			this.lblFindFormat = new System.Windows.Forms.Label();
			this.btnClose = new System.Windows.Forms.Button();
			this.btnFindNext = new System.Windows.Forms.Button();
			this.btnMore = new System.Windows.Forms.Button();
			this.lblReplaceText = new System.Windows.Forms.Label();
			this.btnReplace = new System.Windows.Forms.Button();
			this.btnReplaceAll = new System.Windows.Forms.Button();
			this.m_okButton = new System.Windows.Forms.Button();
			this.fweditReplaceText = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.fweditFindText = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.mnuFormat = new System.Windows.Forms.ContextMenu();
			this.mnuWritingSystem = new System.Windows.Forms.MenuItem();
			this.mnuStyle = new System.Windows.Forms.MenuItem();
			btnHelp = new System.Windows.Forms.Button();
			lblFindText = new System.Windows.Forms.Label();
			this.tabControls.SuspendLayout();
			this.tabReplace.SuspendLayout();
			this.panelSearchOptions.SuspendLayout();
			this.panelBasic.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.fweditReplaceText)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.fweditFindText)).BeginInit();
			this.SuspendLayout();
			//
			// btnHelp
			//
			resources.ApplyResources(btnHelp, "btnHelp");
			btnHelp.Name = "btnHelp";
			btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
			//
			// lblFindText
			//
			resources.ApplyResources(lblFindText, "lblFindText");
			lblFindText.Name = "lblFindText";
			//
			// tabControls
			//
			this.tabControls.Controls.Add(this.tabFind);
			this.tabControls.Controls.Add(this.tabReplace);
			resources.ApplyResources(this.tabControls, "tabControls");
			this.tabControls.Name = "tabControls";
			this.tabControls.SelectedIndex = 0;
			this.tabControls.SelectedIndexChanged += new System.EventHandler(this.tabControls_SelectedIndexChanged);
			//
			// tabFind
			//
			resources.ApplyResources(this.tabFind, "tabFind");
			this.tabFind.Name = "tabFind";
			this.tabFind.UseVisualStyleBackColor = true;
			//
			// tabReplace
			//
			this.tabReplace.Controls.Add(this.panelSearchOptions);
			this.tabReplace.Controls.Add(this.panelBasic);
			resources.ApplyResources(this.tabReplace, "tabReplace");
			this.tabReplace.Name = "tabReplace";
			this.tabReplace.UseVisualStyleBackColor = true;
			//
			// panelSearchOptions
			//
			this.panelSearchOptions.Controls.Add(this.chkUseRegularExpressions);
			this.panelSearchOptions.Controls.Add(this.btnFormat);
			this.panelSearchOptions.Controls.Add(this.chkMatchCase);
			this.panelSearchOptions.Controls.Add(this.chkMatchDiacritics);
			this.panelSearchOptions.Controls.Add(this.chkMatchWholeWord);
			this.panelSearchOptions.Controls.Add(this.chkMatchWS);
			this.panelSearchOptions.Controls.Add(this.lblSearchOptions);
			resources.ApplyResources(this.panelSearchOptions, "panelSearchOptions");
			this.panelSearchOptions.Name = "panelSearchOptions";
			this.panelSearchOptions.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint);
			//
			// chkUseRegularExpressions
			//
			resources.ApplyResources(this.chkUseRegularExpressions, "chkUseRegularExpressions");
			this.chkUseRegularExpressions.Name = "chkUseRegularExpressions";
			this.chkUseRegularExpressions.CheckedChanged += new System.EventHandler(this.chkUseRegularExpressions_CheckedChanged);
			//
			// btnFormat
			//
			resources.ApplyResources(this.btnFormat, "btnFormat");
			this.btnFormat.Name = "btnFormat";
			this.btnFormat.Click += new System.EventHandler(this.btnFormat_Click);
			//
			// chkMatchCase
			//
			resources.ApplyResources(this.chkMatchCase, "chkMatchCase");
			this.chkMatchCase.Name = "chkMatchCase";
			//
			// chkMatchDiacritics
			//
			resources.ApplyResources(this.chkMatchDiacritics, "chkMatchDiacritics");
			this.chkMatchDiacritics.Name = "chkMatchDiacritics";
			//
			// chkMatchWholeWord
			//
			resources.ApplyResources(this.chkMatchWholeWord, "chkMatchWholeWord");
			this.chkMatchWholeWord.Name = "chkMatchWholeWord";
			//
			// chkMatchWS
			//
			resources.ApplyResources(this.chkMatchWS, "chkMatchWS");
			this.chkMatchWS.Name = "chkMatchWS";
			this.chkMatchWS.CheckedChanged += new System.EventHandler(this.chkMatchWS_CheckedChanged);
			//
			// lblSearchOptions
			//
			resources.ApplyResources(this.lblSearchOptions, "lblSearchOptions");
			this.lblSearchOptions.Name = "lblSearchOptions";
			//
			// panelBasic
			//
			this.panelBasic.Controls.Add(this.btnRegexMenuReplace);
			this.panelBasic.Controls.Add(this.btnRegexMenuFind);
			this.panelBasic.Controls.Add(this.lblReplaceFormat);
			this.panelBasic.Controls.Add(this.lblReplaceFormatText);
			this.panelBasic.Controls.Add(this.lblFindFormatText);
			this.panelBasic.Controls.Add(this.lblFindFormat);
			this.panelBasic.Controls.Add(this.btnClose);
			this.panelBasic.Controls.Add(btnHelp);
			this.panelBasic.Controls.Add(this.btnFindNext);
			this.panelBasic.Controls.Add(lblFindText);
			this.panelBasic.Controls.Add(this.btnMore);
			this.panelBasic.Controls.Add(this.lblReplaceText);
			this.panelBasic.Controls.Add(this.btnReplace);
			this.panelBasic.Controls.Add(this.btnReplaceAll);
			this.panelBasic.Controls.Add(this.m_okButton);
			this.panelBasic.Controls.Add(this.fweditReplaceText);
			this.panelBasic.Controls.Add(this.fweditFindText);
			resources.ApplyResources(this.panelBasic, "panelBasic");
			this.panelBasic.Name = "panelBasic";
			//
			// btnRegexMenuReplace
			//
			resources.ApplyResources(this.btnRegexMenuReplace, "btnRegexMenuReplace");
			this.btnRegexMenuReplace.Name = "btnRegexMenuReplace";
			this.btnRegexMenuReplace.Click += new System.EventHandler(this.btnRegexMenuReplace_Click);
			//
			// btnRegexMenuFind
			//
			resources.ApplyResources(this.btnRegexMenuFind, "btnRegexMenuFind");
			this.btnRegexMenuFind.Name = "btnRegexMenuFind";
			this.btnRegexMenuFind.Click += new System.EventHandler(this.btnRegexMenuFind_Click);
			//
			// lblReplaceFormat
			//
			resources.ApplyResources(this.lblReplaceFormat, "lblReplaceFormat");
			this.lblReplaceFormat.Name = "lblReplaceFormat";
			//
			// lblReplaceFormatText
			//
			resources.ApplyResources(this.lblReplaceFormatText, "lblReplaceFormatText");
			this.lblReplaceFormatText.Name = "lblReplaceFormatText";
			//
			// lblFindFormatText
			//
			resources.ApplyResources(this.lblFindFormatText, "lblFindFormatText");
			this.lblFindFormatText.Name = "lblFindFormatText";
			//
			// lblFindFormat
			//
			resources.ApplyResources(this.lblFindFormat, "lblFindFormat");
			this.lblFindFormat.Name = "lblFindFormat";
			//
			// btnClose
			//
			this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			resources.ApplyResources(this.btnClose, "btnClose");
			this.btnClose.Name = "btnClose";
			this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
			//
			// btnFindNext
			//
			this.btnFindNext.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			resources.ApplyResources(this.btnFindNext, "btnFindNext");
			this.btnFindNext.Name = "btnFindNext";
			this.btnFindNext.Click += new System.EventHandler(this.OnFindNext);
			//
			// btnMore
			//
			resources.ApplyResources(this.btnMore, "btnMore");
			this.btnMore.Name = "btnMore";
			this.btnMore.Click += new System.EventHandler(this.btnMore_Click);
			//
			// lblReplaceText
			//
			resources.ApplyResources(this.lblReplaceText, "lblReplaceText");
			this.lblReplaceText.Name = "lblReplaceText";
			//
			// btnReplace
			//
			resources.ApplyResources(this.btnReplace, "btnReplace");
			this.btnReplace.Name = "btnReplace";
			this.btnReplace.Click += new System.EventHandler(this.OnReplace);
			//
			// btnReplaceAll
			//
			resources.ApplyResources(this.btnReplaceAll, "btnReplaceAll");
			this.btnReplaceAll.Name = "btnReplaceAll";
			this.btnReplaceAll.Click += new System.EventHandler(this.OnReplaceAll);
			//
			// m_okButton
			//
			resources.ApplyResources(this.m_okButton, "m_okButton");
			this.m_okButton.Name = "m_okButton";
			this.m_okButton.Click += new System.EventHandler(this.m_okButton_Click);
			//
			// fweditReplaceText
			//
			this.fweditReplaceText.AdjustStringHeight = true;
			this.fweditReplaceText.AllowMultipleLines = false;
			resources.ApplyResources(this.fweditReplaceText, "fweditReplaceText");
			this.fweditReplaceText.BackColor = System.Drawing.SystemColors.Window;
			this.fweditReplaceText.controlID = null;
			this.fweditReplaceText.HasBorder = true;
			this.fweditReplaceText.Name = "fweditReplaceText";
			this.fweditReplaceText.SelectionLength = 0;
			this.fweditReplaceText.SelectionStart = 0;
			this.fweditReplaceText.Leave += new System.EventHandler(this.FwTextBox_Leave);
			this.fweditReplaceText.Enter += new System.EventHandler(this.FwTextBox_Enter);
			//
			// fweditFindText
			//
			this.fweditFindText.AdjustStringHeight = true;
			this.fweditFindText.AllowMultipleLines = false;
			resources.ApplyResources(this.fweditFindText, "fweditFindText");
			this.fweditFindText.BackColor = System.Drawing.SystemColors.Window;
			this.fweditFindText.controlID = null;
			this.fweditFindText.HasBorder = true;
			this.fweditFindText.Name = "fweditFindText";
			this.fweditFindText.SelectionLength = 0;
			this.fweditFindText.SelectionStart = 0;
			this.fweditFindText.Leave += new System.EventHandler(this.FwTextBox_Leave);
			this.fweditFindText.Enter += new System.EventHandler(this.FwTextBox_Enter);
			//
			// mnuFormat
			//
			this.mnuFormat.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
			this.mnuWritingSystem,
			this.mnuStyle});
			//
			// mnuWritingSystem
			//
			this.mnuWritingSystem.Index = 0;
			resources.ApplyResources(this.mnuWritingSystem, "mnuWritingSystem");
			//
			// mnuStyle
			//
			this.mnuStyle.Index = 1;
			resources.ApplyResources(this.mnuStyle, "mnuStyle");
			//
			// FwFindReplaceDlg
			//
			this.AcceptButton = this.btnFindNext;
			resources.ApplyResources(this, "$this");
			this.CancelButton = this.btnClose;
			this.Controls.Add(this.tabControls);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.HelpButton = true;
			this.KeyPreview = true;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "FwFindReplaceDlg";
			this.ShowInTaskbar = false;
			this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
			this.tabControls.ResumeLayout(false);
			this.tabReplace.ResumeLayout(false);
			this.panelSearchOptions.ResumeLayout(false);
			this.panelSearchOptions.PerformLayout();
			this.panelBasic.ResumeLayout(false);
			this.panelBasic.PerformLayout();
			((System.ComponentModel.ISupportInitialize)(this.fweditReplaceText)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.fweditFindText)).EndInit();
			this.ResumeLayout(false);

		}
Ejemplo n.º 38
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Initializes the text box control.
		/// </summary>
		/// <param name="fwTxtBox">The FwTextBox control to initialize. When this is null, then
		/// the column's internal FwTextBox (i.e. m_textBoxControl) is initialized.</param>
		/// <param name="tss">The TsString fwTxtBox is initialized to.</param>
		/// <param name="rowIndex">Row whose writing system is used (and whose default value
		/// is used when necessary).</param>
		/// ------------------------------------------------------------------------------------
		public void InitializeTextBoxControl(FwTextBox fwTxtBox, ITsString tss, int rowIndex)
		{
			if (rowIndex < 0 || (TextBoxControl == null && fwTxtBox == null))
				return;

			if (fwTxtBox == null)
				fwTxtBox = m_textBoxControl;

			if (m_cache != null)
				fwTxtBox.WritingSystemFactory =	m_cache.WritingSystemFactory;

			fwTxtBox.Size = new Size(Width, DataGridView.Rows[rowIndex].Height);
			fwTxtBox.StyleSheet = m_styleSheet;
			fwTxtBox.WritingSystemCode = GetWritingSystemHandle(rowIndex);
			fwTxtBox.Tss = tss ?? GetDefaultNewRowValue(rowIndex);
		}
Ejemplo n.º 39
0
		/// <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(BaseGoDlg));
			this.btnClose = new System.Windows.Forms.Button();
			this.btnOK = new System.Windows.Forms.Button();
			this.btnInsert = new System.Windows.Forms.Button();
			this.btnHelp = new System.Windows.Forms.Button();
			this.panel1 = new System.Windows.Forms.Panel();
			this.m_tbForm = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.m_formLabel = new System.Windows.Forms.Label();
			this.m_cbWritingSystems = new SIL.FieldWorks.Common.Controls.FwOverrideComboBox();
			this.label1 = new System.Windows.Forms.Label();
			this.m_fwTextBoxBottomMsg = new SIL.FieldWorks.Common.Widgets.FwTextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.matchingEntries = new System.Windows.Forms.UserControl();
			this.panel1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.m_tbForm)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.m_fwTextBoxBottomMsg)).BeginInit();
			this.SuspendLayout();
			//
			// btnClose
			//
			resources.ApplyResources(this.btnClose, "btnClose");
			this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnClose.Name = "btnClose";
			//
			// btnOK
			//
			resources.ApplyResources(this.btnOK, "btnOK");
			this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.btnOK.Name = "btnOK";
			//
			// btnInsert
			//
			resources.ApplyResources(this.btnInsert, "btnInsert");
			this.btnInsert.Name = "btnInsert";
			this.btnInsert.Click += new System.EventHandler(this.btnInsert_Click);
			//
			// btnHelp
			//
			resources.ApplyResources(this.btnHelp, "btnHelp");
			this.btnHelp.Name = "btnHelp";
			this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
			//
			// panel1
			//
			this.panel1.Controls.Add(this.m_tbForm);
			this.panel1.Controls.Add(this.m_formLabel);
			resources.ApplyResources(this.panel1, "panel1");
			this.panel1.Name = "panel1";
			//
			// m_tbForm
			//
			this.m_tbForm.AdjustStringHeight = true;
			this.m_tbForm.AllowMultipleLines = false;
			this.m_tbForm.BackColor = System.Drawing.SystemColors.Window;
			this.m_tbForm.controlID = null;
			resources.ApplyResources(this.m_tbForm, "m_tbForm");
			this.m_tbForm.Name = "m_tbForm";
			this.m_tbForm.SelectionLength = 0;
			this.m_tbForm.SelectionStart = 0;
			//
			// m_formLabel
			//
			resources.ApplyResources(this.m_formLabel, "m_formLabel");
			this.m_formLabel.Name = "m_formLabel";
			//
			// m_cbWritingSystems
			//
			this.m_cbWritingSystems.AllowSpaceInEditBox = false;
			this.m_cbWritingSystems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			resources.ApplyResources(this.m_cbWritingSystems, "m_cbWritingSystems");
			this.m_cbWritingSystems.Name = "m_cbWritingSystems";
			this.m_cbWritingSystems.Sorted = true;
			//
			// label1
			//
			resources.ApplyResources(this.label1, "label1");
			this.label1.Name = "label1";
			//
			// m_fwTextBoxBottomMsg
			//
			this.m_fwTextBoxBottomMsg.AdjustStringHeight = true;
			this.m_fwTextBoxBottomMsg.AllowMultipleLines = false;
			this.m_fwTextBoxBottomMsg.HasBorder = false;
			resources.ApplyResources(this.m_fwTextBoxBottomMsg, "m_fwTextBoxBottomMsg");
			this.m_fwTextBoxBottomMsg.BackColor = System.Drawing.SystemColors.Control;
			this.m_fwTextBoxBottomMsg.CausesValidation = false;
			this.m_fwTextBoxBottomMsg.controlID = null;
			this.m_fwTextBoxBottomMsg.Name = "m_fwTextBoxBottomMsg";
			this.m_fwTextBoxBottomMsg.SelectionLength = 0;
			this.m_fwTextBoxBottomMsg.SelectionStart = 0;
			//
			// label2
			//
			resources.ApplyResources(this.label2, "label2");
			this.label2.Name = "label2";
			//
			// matchingEntries
			//
			resources.ApplyResources(this.matchingEntries, "matchingEntries");
			this.matchingEntries.Name = "matchingEntries";
			this.matchingEntries.TabStop = false;
			//
			// BaseGoDlg
			//
			this.AcceptButton = this.btnOK;
			resources.ApplyResources(this, "$this");
			this.CancelButton = this.btnClose;
			this.Controls.Add(this.matchingEntries);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.m_fwTextBoxBottomMsg);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.m_cbWritingSystems);
			this.Controls.Add(this.panel1);
			this.Controls.Add(this.btnHelp);
			this.Controls.Add(this.btnInsert);
			this.Controls.Add(this.btnOK);
			this.Controls.Add(this.btnClose);
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "BaseGoDlg";
			this.ShowInTaskbar = false;
			this.Closed += new System.EventHandler(this.BaseGoDlg_Closed);
			this.Activated += new System.EventHandler(this.BaseGoDlg_Activated);
			this.panel1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.m_tbForm)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.m_fwTextBoxBottomMsg)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}