Getting everthing functional
This commit is contained in:
136
PROMS/Volian.Controls.Library/FindReplace.Designer.cs
generated
136
PROMS/Volian.Controls.Library/FindReplace.Designer.cs
generated
@@ -13,6 +13,25 @@ namespace Volian.Controls.Library
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (cmboFindText.Items.Count == 0)
|
||||
Properties.Settings.Default["FindTextList"] = null;
|
||||
else
|
||||
{
|
||||
System.Collections.Specialized.StringCollection lstfnd = new System.Collections.Specialized.StringCollection();
|
||||
foreach (string str in cmboFindText.Items)
|
||||
lstfnd.Add(str);
|
||||
Properties.Settings.Default.FindTextList = lstfnd;
|
||||
}
|
||||
if (cmboReplaceText.Items.Count == 0)
|
||||
Properties.Settings.Default["ReplaceTextList"] = null;
|
||||
else
|
||||
{
|
||||
System.Collections.Specialized.StringCollection lstrpl = new System.Collections.Specialized.StringCollection();
|
||||
foreach (string str in cmboReplaceText.Items)
|
||||
lstrpl.Add(str);
|
||||
Properties.Settings.Default.ReplaceTextList = lstrpl;
|
||||
}
|
||||
Properties.Settings.Default.Save();
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
@@ -39,6 +58,16 @@ namespace Volian.Controls.Library
|
||||
this.labelX3 = new DevComponents.DotNetBar.LabelX();
|
||||
this.btnRplAll = new DevComponents.DotNetBar.ButtonX();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.contextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar();
|
||||
this.btnCmFndRpl = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnCmEdit = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnCmCut = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnCmCopy = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnCmPaste = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnCmInsert = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnCmHardSp = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnCmSymbol = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.galSymbols = new DevComponents.DotNetBar.GalleryContainer();
|
||||
this.cbxReverse = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbxWholeWord = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbxCaseSensitive = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
@@ -55,6 +84,7 @@ namespace Volian.Controls.Library
|
||||
this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tabReplace = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.panelEx1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit();
|
||||
this.tabControl1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@@ -98,10 +128,12 @@ namespace Volian.Controls.Library
|
||||
//
|
||||
this.cmboReplaceText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.contextMenuBar1.SetContextMenuEx(this.cmboReplaceText, this.btnCmFndRpl);
|
||||
this.cmboReplaceText.DisplayMember = "Text";
|
||||
this.cmboReplaceText.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.cmboReplaceText.FormattingEnabled = true;
|
||||
this.cmboReplaceText.Location = new System.Drawing.Point(108, 50);
|
||||
this.cmboReplaceText.MaxDropDownItems = 10;
|
||||
this.cmboReplaceText.Name = "cmboReplaceText";
|
||||
this.cmboReplaceText.Size = new System.Drawing.Size(463, 23);
|
||||
this.cmboReplaceText.TabIndex = 2;
|
||||
@@ -128,15 +160,18 @@ namespace Volian.Controls.Library
|
||||
//
|
||||
this.cmboFindText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.contextMenuBar1.SetContextMenuEx(this.cmboFindText, this.btnCmFndRpl);
|
||||
this.cmboFindText.DisplayMember = "Text";
|
||||
this.cmboFindText.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.cmboFindText.FormattingEnabled = true;
|
||||
this.cmboFindText.Location = new System.Drawing.Point(108, 10);
|
||||
this.cmboFindText.MaxDropDownItems = 10;
|
||||
this.cmboFindText.Name = "cmboFindText";
|
||||
this.cmboFindText.Size = new System.Drawing.Size(463, 23);
|
||||
this.cmboFindText.TabIndex = 1;
|
||||
this.cmboFindText.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cmboFindText.WatermarkText = "Enter text to find";
|
||||
this.cmboFindText.Leave += new System.EventHandler(this.cmboFindText_Leave);
|
||||
this.cmboFindText.TextChanged += new System.EventHandler(this.cmboFindText_TextChanged);
|
||||
//
|
||||
// labelX3
|
||||
@@ -162,6 +197,7 @@ namespace Volian.Controls.Library
|
||||
this.btnRplAll.TabIndex = 10;
|
||||
this.btnRplAll.Text = "Replace All";
|
||||
this.btnRplAll.Visible = false;
|
||||
this.btnRplAll.Click += new System.EventHandler(this.btnRplAll_Click);
|
||||
//
|
||||
// panelEx1
|
||||
//
|
||||
@@ -170,6 +206,7 @@ namespace Volian.Controls.Library
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panelEx1.CanvasColor = System.Drawing.Color.Transparent;
|
||||
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.panelEx1.Controls.Add(this.contextMenuBar1);
|
||||
this.panelEx1.Controls.Add(this.cbxReverse);
|
||||
this.panelEx1.Controls.Add(this.cbxWholeWord);
|
||||
this.panelEx1.Controls.Add(this.cbxCaseSensitive);
|
||||
@@ -191,6 +228,88 @@ namespace Volian.Controls.Library
|
||||
this.panelEx1.Style.GradientAngle = 90;
|
||||
this.panelEx1.TabIndex = 15;
|
||||
//
|
||||
// contextMenuBar1
|
||||
//
|
||||
this.contextMenuBar1.AntiAlias = true;
|
||||
this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.btnCmFndRpl});
|
||||
this.contextMenuBar1.Location = new System.Drawing.Point(153, 84);
|
||||
this.contextMenuBar1.Name = "contextMenuBar1";
|
||||
this.contextMenuBar1.Size = new System.Drawing.Size(75, 29);
|
||||
this.contextMenuBar1.Stretch = true;
|
||||
this.contextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.contextMenuBar1.TabIndex = 13;
|
||||
this.contextMenuBar1.TabStop = false;
|
||||
this.contextMenuBar1.Text = "contextMenuBar1";
|
||||
//
|
||||
// btnCmFndRpl
|
||||
//
|
||||
this.btnCmFndRpl.AutoExpandOnClick = true;
|
||||
this.btnCmFndRpl.Name = "btnCmFndRpl";
|
||||
this.btnCmFndRpl.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.btnCmEdit,
|
||||
this.btnCmInsert});
|
||||
this.btnCmFndRpl.Text = "cmFndRpl";
|
||||
//
|
||||
// btnCmEdit
|
||||
//
|
||||
this.btnCmEdit.Name = "btnCmEdit";
|
||||
this.btnCmEdit.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.btnCmCut,
|
||||
this.btnCmCopy,
|
||||
this.btnCmPaste});
|
||||
this.btnCmEdit.Text = "Edit";
|
||||
//
|
||||
// btnCmCut
|
||||
//
|
||||
this.btnCmCut.Name = "btnCmCut";
|
||||
this.btnCmCut.Text = "Cut";
|
||||
this.btnCmCut.Click += new System.EventHandler(this.btnCmCut_Click);
|
||||
//
|
||||
// btnCmCopy
|
||||
//
|
||||
this.btnCmCopy.Name = "btnCmCopy";
|
||||
this.btnCmCopy.Text = "Copy";
|
||||
this.btnCmCopy.Click += new System.EventHandler(this.btnCmCopy_Click);
|
||||
//
|
||||
// btnCmPaste
|
||||
//
|
||||
this.btnCmPaste.Name = "btnCmPaste";
|
||||
this.btnCmPaste.Text = "Paste";
|
||||
this.btnCmPaste.Click += new System.EventHandler(this.btnCmPaste_Click);
|
||||
//
|
||||
// btnCmInsert
|
||||
//
|
||||
this.btnCmInsert.Name = "btnCmInsert";
|
||||
this.btnCmInsert.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.btnCmHardSp,
|
||||
this.btnCmSymbol});
|
||||
this.btnCmInsert.Text = "Insert";
|
||||
//
|
||||
// btnCmHardSp
|
||||
//
|
||||
this.btnCmHardSp.Name = "btnCmHardSp";
|
||||
this.btnCmHardSp.Text = "Hard Space";
|
||||
this.btnCmHardSp.Click += new System.EventHandler(this.btnCmHardSp_Click);
|
||||
//
|
||||
// btnCmSymbol
|
||||
//
|
||||
this.btnCmSymbol.Name = "btnCmSymbol";
|
||||
this.btnCmSymbol.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.galSymbols});
|
||||
this.btnCmSymbol.Text = "Symbol";
|
||||
//
|
||||
// galSymbols
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.galSymbols.BackgroundStyle.Class = "";
|
||||
this.galSymbols.EnableGalleryPopup = false;
|
||||
this.galSymbols.MinimumSize = new System.Drawing.Size(150, 200);
|
||||
this.galSymbols.Name = "galSymbols";
|
||||
this.galSymbols.Text = "galleryContainer1";
|
||||
//
|
||||
// cbxReverse
|
||||
//
|
||||
//
|
||||
@@ -246,6 +365,7 @@ namespace Volian.Controls.Library
|
||||
this.cmbScope.Size = new System.Drawing.Size(248, 22);
|
||||
this.cmbScope.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.cmbScope.TabIndex = 6;
|
||||
this.cmbScope.Visible = false;
|
||||
//
|
||||
// comboItem1
|
||||
//
|
||||
@@ -270,11 +390,12 @@ namespace Volian.Controls.Library
|
||||
//
|
||||
this.labelX1.BackgroundStyle.Class = "";
|
||||
this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX1.Location = new System.Drawing.Point(263, 103);
|
||||
this.labelX1.Location = new System.Drawing.Point(253, 104);
|
||||
this.labelX1.Name = "labelX1";
|
||||
this.labelX1.Size = new System.Drawing.Size(56, 23);
|
||||
this.labelX1.TabIndex = 12;
|
||||
this.labelX1.Text = "Scope:";
|
||||
this.labelX1.Visible = false;
|
||||
//
|
||||
// btnBookMrkAll
|
||||
//
|
||||
@@ -287,6 +408,7 @@ namespace Volian.Controls.Library
|
||||
this.btnBookMrkAll.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnBookMrkAll.TabIndex = 8;
|
||||
this.btnBookMrkAll.Text = "Bookmark All";
|
||||
this.btnBookMrkAll.Click += new System.EventHandler(this.btnBookMrkAll_Click);
|
||||
//
|
||||
// tabControl1
|
||||
//
|
||||
@@ -376,8 +498,10 @@ namespace Volian.Controls.Library
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Find and Replace";
|
||||
this.TopMost = true;
|
||||
this.Activated += new System.EventHandler(this.FindReplace_Activated);
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FindReplace_FormClosing);
|
||||
this.panelEx1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit();
|
||||
this.tabControl1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
@@ -410,5 +534,15 @@ namespace Volian.Controls.Library
|
||||
private DevComponents.DotNetBar.TabItem tabFind;
|
||||
private DevComponents.DotNetBar.TabControlPanel tabControlPanel2;
|
||||
private DevComponents.DotNetBar.TabItem tabReplace;
|
||||
private DevComponents.DotNetBar.ContextMenuBar contextMenuBar1;
|
||||
private DevComponents.DotNetBar.ButtonItem btnCmFndRpl;
|
||||
private DevComponents.DotNetBar.ButtonItem btnCmEdit;
|
||||
private DevComponents.DotNetBar.ButtonItem btnCmInsert;
|
||||
private DevComponents.DotNetBar.ButtonItem btnCmCut;
|
||||
private DevComponents.DotNetBar.ButtonItem btnCmCopy;
|
||||
private DevComponents.DotNetBar.ButtonItem btnCmPaste;
|
||||
private DevComponents.DotNetBar.ButtonItem btnCmHardSp;
|
||||
private DevComponents.DotNetBar.ButtonItem btnCmSymbol;
|
||||
private DevComponents.DotNetBar.GalleryContainer galSymbols;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user