/// <summary> /// Constructor for Morph Break Helper Context Menu /// </summary> /// <param name="textbox">the textbox to insert regex characters into</param> /// <param name="helpTopicProvider">usually FwApp.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(); }
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)."); } }
/// <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); }
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(); }
/// ------------------------------------------------------------------------------------ /// <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); }
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; }
public WebPageInteractor(HtmlControl htmlControl, Mediator mediator, LcmCache cache, FwTextBox tbWordForm) { m_htmlControl = htmlControl; m_mediator = mediator; m_cache = cache; m_tbWordForm = tbWordForm; m_htmlControl.Browser.DomClick += HandleDomClick; }
/// <summary> /// Raises the <see cref="E:System.Windows.Forms.Control.Paint"/> event. /// </summary> /// <param name="e">A <see cref="T:System.Windows.Forms.PaintEventArgs"/> that contains the event data.</param> protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); VisualStyleRenderer renderer = FwTextBox.CreateRenderer(State, ContainsFocus, true); if (renderer != null) { renderer.DrawBackground(e.Graphics, ClientRectangle, e.ClipRectangle); } }
private ConfirmDeleteObjectDlg() { // // Required for Windows Form Designer support // InitializeComponent(); AccessibleName = "ConfirmDeleteObjectDlg"; this.pictureBox1.Image = System.Drawing.SystemIcons.Exclamation.ToBitmap(); // // m_descriptionBox3 // this.m_descriptionBox3 = new FwTextBox(); this.m_descriptionBox3.AdjustStringHeight = true; this.m_descriptionBox3.WordWrap = 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.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.WordWrap = 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.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); }
private void UpdateTextBoxWs(ComboBox wsComboBox, FwTextBox textBox) { var ws = wsComboBox.SelectedItem as CoreWritingSystemDefinition; if (ws == null) { Debug.Assert(wsComboBox.SelectedIndex == -1); return; } textBox.WritingSystemCode = ws.Handle; textBox.Tss = TsStringUtils.MakeString(textBox.Text.Trim(), ws.Handle); }
public WebPageInteractor(HtmlControl htmlControl, ParserTrace parserTrace, Mediator mediator, FwTextBox tbWordForm) { m_htmlControl = htmlControl; ParserTrace = parserTrace; 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 }
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); } }
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); }
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); }
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; } }
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); }
private void SetupAndShowHeaderPanel(Mediator mediator, 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_textSearch = CreateSearchBox(); //m_textSearch.Dock = DockStyle.Fill; m_textSearch.Anchor = (AnchorStyles.Top | AnchorStyles.Left) | AnchorStyles.Right; headerPanel.Controls.Add(m_textSearch); m_textSearch.AdjustForStyleSheet(FontHeightAdjuster.StyleSheetFromMediator(mediator)); headerPanel.Height = SetHeaderPanelHeight(); treeBarControl.AddHeaderControl(headerPanel); SetInfoBarText(node, m_titleBar); } treeBarControl.ShowHeaderControl(); }
/// ------------------------------------------------------------------------------------ /// <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); }
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); }
/// <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) { Controls.Remove(m_fwTextBoxBottomMsg); m_fwTextBoxBottomMsg.Dispose(); if (components != null) { components.Dispose(); } } m_fwTextBoxBottomMsg = null; m_cache = null; base.Dispose(disposing); }
/// <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; }
/// <summary> /// Constructor for the Regex Helper Context Menu /// </summary> /// <param name="textbox">the textbox to insert regex characters into</param> /// <param name="helpTopicProvider">usually IHelpTopicProvider.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(); }
/// <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); }
/// <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.m_btnClose = new System.Windows.Forms.Button(); this.m_btnOK = new System.Windows.Forms.Button(); this.m_btnInsert = new System.Windows.Forms.Button(); this.m_btnHelp = new System.Windows.Forms.Button(); this.m_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.m_wsLabel = new System.Windows.Forms.Label(); this.m_fwTextBoxBottomMsg = new SIL.FieldWorks.Common.Widgets.FwTextBox(); this.m_objectsLabel = new System.Windows.Forms.Label(); this.m_matchingObjectsBrowser = new SIL.FieldWorks.Common.Controls.MatchingObjectsBrowser(); this.m_panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.m_tbForm)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.m_fwTextBoxBottomMsg)).BeginInit(); this.SuspendLayout(); // // m_btnClose // resources.ApplyResources(this.m_btnClose, "m_btnClose"); this.m_btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.m_btnClose.Name = "m_btnClose"; // // m_btnOK // resources.ApplyResources(this.m_btnOK, "m_btnOK"); this.m_btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.m_btnOK.Name = "m_btnOK"; // // m_btnInsert // resources.ApplyResources(this.m_btnInsert, "m_btnInsert"); this.m_btnInsert.Name = "m_btnInsert"; this.m_btnInsert.Click += new System.EventHandler(this.m_btnInsert_Click); // // 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_panel1 // this.m_panel1.Controls.Add(this.m_tbForm); this.m_panel1.Controls.Add(this.m_formLabel); resources.ApplyResources(this.m_panel1, "m_panel1"); this.m_panel1.Name = "m_panel1"; // // m_tbForm // this.m_tbForm.AdjustStringHeight = true; this.m_tbForm.BackColor = System.Drawing.SystemColors.Window; this.m_tbForm.controlID = null; resources.ApplyResources(this.m_tbForm, "m_tbForm"); this.m_tbForm.HasBorder = true; 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; // // m_wsLabel // resources.ApplyResources(this.m_wsLabel, "m_wsLabel"); this.m_wsLabel.Name = "m_wsLabel"; // // m_fwTextBoxBottomMsg // this.m_fwTextBoxBottomMsg.AdjustStringHeight = true; 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.HasBorder = false; this.m_fwTextBoxBottomMsg.Name = "m_fwTextBoxBottomMsg"; this.m_fwTextBoxBottomMsg.SelectionLength = 0; this.m_fwTextBoxBottomMsg.SelectionStart = 0; // // m_objectsLabel // resources.ApplyResources(this.m_objectsLabel, "m_objectsLabel"); this.m_objectsLabel.Name = "m_objectsLabel"; // // m_matchingObjectsBrowser // resources.ApplyResources(this.m_matchingObjectsBrowser, "m_matchingObjectsBrowser"); this.m_matchingObjectsBrowser.Name = "m_matchingObjectsBrowser"; this.m_matchingObjectsBrowser.TabStop = false; this.m_matchingObjectsBrowser.SelectionChanged += new FwSelectionChangedEventHandler(this.m_matchingObjects_SelectionChanged); this.m_matchingObjectsBrowser.SelectionMade += new FwSelectionChangedEventHandler(this.m_matchingObjectsBrowser_SelectionMade); // // BaseGoDlg // this.AcceptButton = this.m_btnOK; resources.ApplyResources(this, "$this"); this.CancelButton = this.m_btnClose; this.Controls.Add(this.m_matchingObjectsBrowser); this.Controls.Add(this.m_objectsLabel); this.Controls.Add(this.m_fwTextBoxBottomMsg); this.Controls.Add(this.m_wsLabel); this.Controls.Add(this.m_cbWritingSystems); this.Controls.Add(this.m_panel1); this.Controls.Add(this.m_btnHelp); this.Controls.Add(this.m_btnInsert); this.Controls.Add(this.m_btnOK); this.Controls.Add(this.m_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.m_panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.m_tbForm)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.m_fwTextBoxBottomMsg)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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 IHelpTopicProvider.App</param> public RegexHelperMenu(FwTextBox textbox, IHelpTopicProvider helpTopicProvider) : this(textbox, helpTopicProvider, true) { }
/// <summary> /// Exposes AddSingleCharacter method /// </summary> public void CallAddSingleCharacter(FwTextBox txt) { AddSingleCharacter(txt); }
/// <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(); }
/// <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(); }
/// <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); }
/// ----------------------------------------------------------------------------------- /// <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); }