adjust dialog for small and large screen dpi

allow for infinate number of bookmarks
This commit is contained in:
John Jenko 2010-02-03 17:27:05 +00:00
parent c0c5216d95
commit 7c5b2f7278
2 changed files with 85 additions and 50 deletions

View File

@ -49,7 +49,7 @@ namespace Volian.Controls.Library
{ {
if (_MyBookMarks == null) if (_MyBookMarks == null)
{ {
_MyBookMarks = MostRecentItemList.GetMRILst((System.Collections.Specialized.StringCollection)(Properties.Settings.Default["BookMarks"])); _MyBookMarks = MostRecentItemList.GetMRILst((System.Collections.Specialized.StringCollection)(Properties.Settings.Default["BookMarks"]),0);
_MyBookMarks.AfterRemove += new ItemInfoEvent(_MyBookMarks_AfterRemove); _MyBookMarks.AfterRemove += new ItemInfoEvent(_MyBookMarks_AfterRemove);
} }
lbxBookMarks.SelectedValueChanged += new EventHandler(lbxBookMarks_SelectedValueChanged); lbxBookMarks.SelectedValueChanged += new EventHandler(lbxBookMarks_SelectedValueChanged);

View File

@ -93,9 +93,10 @@ namespace Volian.Controls.Library
// //
this.btnReplace.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnReplace.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnReplace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnReplace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnReplace.Location = new System.Drawing.Point(267, 179); this.btnReplace.Location = new System.Drawing.Point(200, 149);
this.btnReplace.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnReplace.Name = "btnReplace"; this.btnReplace.Name = "btnReplace";
this.btnReplace.Size = new System.Drawing.Size(75, 34); this.btnReplace.Size = new System.Drawing.Size(56, 28);
this.btnReplace.TabIndex = 9; this.btnReplace.TabIndex = 9;
this.btnReplace.Text = "Replace"; this.btnReplace.Text = "Replace";
this.btnReplace.Visible = false; this.btnReplace.Visible = false;
@ -106,9 +107,10 @@ namespace Volian.Controls.Library
this.btnFndRplDone.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnFndRplDone.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnFndRplDone.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnFndRplDone.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnFndRplDone.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnFndRplDone.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnFndRplDone.Location = new System.Drawing.Point(491, 179); this.btnFndRplDone.Location = new System.Drawing.Point(368, 149);
this.btnFndRplDone.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnFndRplDone.Name = "btnFndRplDone"; this.btnFndRplDone.Name = "btnFndRplDone";
this.btnFndRplDone.Size = new System.Drawing.Size(75, 33); this.btnFndRplDone.Size = new System.Drawing.Size(56, 27);
this.btnFndRplDone.TabIndex = 11; this.btnFndRplDone.TabIndex = 11;
this.btnFndRplDone.Text = "Done"; this.btnFndRplDone.Text = "Done";
this.btnFndRplDone.Click += new System.EventHandler(this.btnFndRplDone_Click); this.btnFndRplDone.Click += new System.EventHandler(this.btnFndRplDone_Click);
@ -117,9 +119,10 @@ namespace Volian.Controls.Library
// //
this.btnFindNext.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnFindNext.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnFindNext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnFindNext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnFindNext.Location = new System.Drawing.Point(10, 179); this.btnFindNext.Location = new System.Drawing.Point(8, 149);
this.btnFindNext.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnFindNext.Name = "btnFindNext"; this.btnFindNext.Name = "btnFindNext";
this.btnFindNext.Size = new System.Drawing.Size(75, 33); this.btnFindNext.Size = new System.Drawing.Size(56, 27);
this.btnFindNext.TabIndex = 7; this.btnFindNext.TabIndex = 7;
this.btnFindNext.Text = "Find Next"; this.btnFindNext.Text = "Find Next";
this.btnFindNext.Click += new System.EventHandler(this.btnFindNext_Click); this.btnFindNext.Click += new System.EventHandler(this.btnFindNext_Click);
@ -132,10 +135,11 @@ namespace Volian.Controls.Library
this.cmboReplaceText.DisplayMember = "Text"; this.cmboReplaceText.DisplayMember = "Text";
this.cmboReplaceText.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.cmboReplaceText.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.cmboReplaceText.FormattingEnabled = true; this.cmboReplaceText.FormattingEnabled = true;
this.cmboReplaceText.Location = new System.Drawing.Point(108, 50); this.cmboReplaceText.Location = new System.Drawing.Point(83, 41);
this.cmboReplaceText.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cmboReplaceText.MaxDropDownItems = 10; this.cmboReplaceText.MaxDropDownItems = 10;
this.cmboReplaceText.Name = "cmboReplaceText"; this.cmboReplaceText.Name = "cmboReplaceText";
this.cmboReplaceText.Size = new System.Drawing.Size(463, 23); this.cmboReplaceText.Size = new System.Drawing.Size(345, 21);
this.cmboReplaceText.TabIndex = 2; this.cmboReplaceText.TabIndex = 2;
this.cmboReplaceText.Visible = false; this.cmboReplaceText.Visible = false;
this.cmboReplaceText.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmboReplaceText.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -149,9 +153,10 @@ namespace Volian.Controls.Library
// //
this.lblRplTxt.BackgroundStyle.Class = ""; this.lblRplTxt.BackgroundStyle.Class = "";
this.lblRplTxt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblRplTxt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblRplTxt.Location = new System.Drawing.Point(10, 50); this.lblRplTxt.Location = new System.Drawing.Point(4, 40);
this.lblRplTxt.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.lblRplTxt.Name = "lblRplTxt"; this.lblRplTxt.Name = "lblRplTxt";
this.lblRplTxt.Size = new System.Drawing.Size(96, 28); this.lblRplTxt.Size = new System.Drawing.Size(79, 23);
this.lblRplTxt.TabIndex = 6; this.lblRplTxt.TabIndex = 6;
this.lblRplTxt.Text = "Replace Text:"; this.lblRplTxt.Text = "Replace Text:";
this.lblRplTxt.Visible = false; this.lblRplTxt.Visible = false;
@ -164,10 +169,11 @@ namespace Volian.Controls.Library
this.cmboFindText.DisplayMember = "Text"; this.cmboFindText.DisplayMember = "Text";
this.cmboFindText.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.cmboFindText.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.cmboFindText.FormattingEnabled = true; this.cmboFindText.FormattingEnabled = true;
this.cmboFindText.Location = new System.Drawing.Point(108, 10); this.cmboFindText.Location = new System.Drawing.Point(83, 8);
this.cmboFindText.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cmboFindText.MaxDropDownItems = 10; this.cmboFindText.MaxDropDownItems = 10;
this.cmboFindText.Name = "cmboFindText"; this.cmboFindText.Name = "cmboFindText";
this.cmboFindText.Size = new System.Drawing.Size(463, 23); this.cmboFindText.Size = new System.Drawing.Size(345, 21);
this.cmboFindText.TabIndex = 1; 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.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.WatermarkText = "Enter text to find";
@ -181,9 +187,10 @@ namespace Volian.Controls.Library
// //
this.labelX3.BackgroundStyle.Class = ""; this.labelX3.BackgroundStyle.Class = "";
this.labelX3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelX3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelX3.Location = new System.Drawing.Point(29, 10); this.labelX3.Location = new System.Drawing.Point(22, 8);
this.labelX3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.labelX3.Name = "labelX3"; this.labelX3.Name = "labelX3";
this.labelX3.Size = new System.Drawing.Size(74, 26); this.labelX3.Size = new System.Drawing.Size(56, 21);
this.labelX3.TabIndex = 8; this.labelX3.TabIndex = 8;
this.labelX3.Text = "Find Text: "; this.labelX3.Text = "Find Text: ";
// //
@ -191,9 +198,10 @@ namespace Volian.Controls.Library
// //
this.btnRplAll.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnRplAll.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnRplAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnRplAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnRplAll.Location = new System.Drawing.Point(348, 179); this.btnRplAll.Location = new System.Drawing.Point(261, 149);
this.btnRplAll.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnRplAll.Name = "btnRplAll"; this.btnRplAll.Name = "btnRplAll";
this.btnRplAll.Size = new System.Drawing.Size(107, 34); this.btnRplAll.Size = new System.Drawing.Size(80, 28);
this.btnRplAll.TabIndex = 10; this.btnRplAll.TabIndex = 10;
this.btnRplAll.Text = "Replace All"; this.btnRplAll.Text = "Replace All";
this.btnRplAll.Visible = false; this.btnRplAll.Visible = false;
@ -201,9 +209,6 @@ namespace Volian.Controls.Library
// //
// panelEx1 // panelEx1
// //
this.panelEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panelEx1.CanvasColor = System.Drawing.Color.Transparent; this.panelEx1.CanvasColor = System.Drawing.Color.Transparent;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.panelEx1.Controls.Add(this.contextMenuBar1); this.panelEx1.Controls.Add(this.contextMenuBar1);
@ -216,9 +221,11 @@ namespace Volian.Controls.Library
this.panelEx1.Controls.Add(this.lblRplTxt); this.panelEx1.Controls.Add(this.lblRplTxt);
this.panelEx1.Controls.Add(this.cmboReplaceText); this.panelEx1.Controls.Add(this.cmboReplaceText);
this.panelEx1.Controls.Add(this.cmboFindText); this.panelEx1.Controls.Add(this.cmboFindText);
this.panelEx1.Location = new System.Drawing.Point(0, 22); this.panelEx1.Dock = System.Windows.Forms.DockStyle.Top;
this.panelEx1.Location = new System.Drawing.Point(0, 19);
this.panelEx1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.panelEx1.Name = "panelEx1"; this.panelEx1.Name = "panelEx1";
this.panelEx1.Size = new System.Drawing.Size(584, 153); this.panelEx1.Size = new System.Drawing.Size(437, 124);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
@ -231,11 +238,13 @@ namespace Volian.Controls.Library
// contextMenuBar1 // contextMenuBar1
// //
this.contextMenuBar1.AntiAlias = true; this.contextMenuBar1.AntiAlias = true;
this.contextMenuBar1.DockSide = DevComponents.DotNetBar.eDockSide.Top;
this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.btnCmFndRpl}); this.btnCmFndRpl});
this.contextMenuBar1.Location = new System.Drawing.Point(153, 84); this.contextMenuBar1.Location = new System.Drawing.Point(115, 68);
this.contextMenuBar1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.contextMenuBar1.Name = "contextMenuBar1"; this.contextMenuBar1.Name = "contextMenuBar1";
this.contextMenuBar1.Size = new System.Drawing.Size(75, 29); this.contextMenuBar1.Size = new System.Drawing.Size(56, 25);
this.contextMenuBar1.Stretch = true; this.contextMenuBar1.Stretch = true;
this.contextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.contextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.contextMenuBar1.TabIndex = 13; this.contextMenuBar1.TabIndex = 13;
@ -316,9 +325,10 @@ namespace Volian.Controls.Library
// //
// //
this.cbxReverse.BackgroundStyle.Class = ""; this.cbxReverse.BackgroundStyle.Class = "";
this.cbxReverse.Location = new System.Drawing.Point(10, 127); this.cbxReverse.Location = new System.Drawing.Point(8, 103);
this.cbxReverse.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cbxReverse.Name = "cbxReverse"; this.cbxReverse.Name = "cbxReverse";
this.cbxReverse.Size = new System.Drawing.Size(100, 23); this.cbxReverse.Size = new System.Drawing.Size(103, 19);
this.cbxReverse.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.cbxReverse.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cbxReverse.TabIndex = 5; this.cbxReverse.TabIndex = 5;
this.cbxReverse.Text = "Reverse Find"; this.cbxReverse.Text = "Reverse Find";
@ -329,9 +339,10 @@ namespace Volian.Controls.Library
// //
// //
this.cbxWholeWord.BackgroundStyle.Class = ""; this.cbxWholeWord.BackgroundStyle.Class = "";
this.cbxWholeWord.Location = new System.Drawing.Point(10, 103); this.cbxWholeWord.Location = new System.Drawing.Point(8, 84);
this.cbxWholeWord.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cbxWholeWord.Name = "cbxWholeWord"; this.cbxWholeWord.Name = "cbxWholeWord";
this.cbxWholeWord.Size = new System.Drawing.Size(100, 27); this.cbxWholeWord.Size = new System.Drawing.Size(94, 22);
this.cbxWholeWord.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.cbxWholeWord.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cbxWholeWord.TabIndex = 4; this.cbxWholeWord.TabIndex = 4;
this.cbxWholeWord.Text = "Whole Word"; this.cbxWholeWord.Text = "Whole Word";
@ -342,9 +353,10 @@ namespace Volian.Controls.Library
// //
// //
this.cbxCaseSensitive.BackgroundStyle.Class = ""; this.cbxCaseSensitive.BackgroundStyle.Class = "";
this.cbxCaseSensitive.Location = new System.Drawing.Point(10, 84); this.cbxCaseSensitive.Location = new System.Drawing.Point(8, 68);
this.cbxCaseSensitive.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cbxCaseSensitive.Name = "cbxCaseSensitive"; this.cbxCaseSensitive.Name = "cbxCaseSensitive";
this.cbxCaseSensitive.Size = new System.Drawing.Size(116, 23); this.cbxCaseSensitive.Size = new System.Drawing.Size(103, 19);
this.cbxCaseSensitive.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.cbxCaseSensitive.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cbxCaseSensitive.TabIndex = 3; this.cbxCaseSensitive.TabIndex = 3;
this.cbxCaseSensitive.Text = "Case Sensitive"; this.cbxCaseSensitive.Text = "Case Sensitive";
@ -360,9 +372,10 @@ namespace Volian.Controls.Library
this.comboItem2, this.comboItem2,
this.comboItem3, this.comboItem3,
this.comboItem4}); this.comboItem4});
this.cmbScope.Location = new System.Drawing.Point(315, 104); this.cmbScope.Location = new System.Drawing.Point(236, 84);
this.cmbScope.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cmbScope.Name = "cmbScope"; this.cmbScope.Name = "cmbScope";
this.cmbScope.Size = new System.Drawing.Size(248, 22); this.cmbScope.Size = new System.Drawing.Size(187, 22);
this.cmbScope.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.cmbScope.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cmbScope.TabIndex = 6; this.cmbScope.TabIndex = 6;
this.cmbScope.Visible = false; this.cmbScope.Visible = false;
@ -390,9 +403,10 @@ namespace Volian.Controls.Library
// //
this.labelX1.BackgroundStyle.Class = ""; 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.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(253, 104); this.labelX1.Location = new System.Drawing.Point(190, 84);
this.labelX1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.labelX1.Name = "labelX1"; this.labelX1.Name = "labelX1";
this.labelX1.Size = new System.Drawing.Size(56, 23); this.labelX1.Size = new System.Drawing.Size(42, 19);
this.labelX1.TabIndex = 12; this.labelX1.TabIndex = 12;
this.labelX1.Text = "Scope:"; this.labelX1.Text = "Scope:";
this.labelX1.Visible = false; this.labelX1.Visible = false;
@ -402,9 +416,10 @@ namespace Volian.Controls.Library
this.btnBookMrkAll.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnBookMrkAll.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnBookMrkAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnBookMrkAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnBookMrkAll.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnBookMrkAll.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnBookMrkAll.Location = new System.Drawing.Point(134, 179); this.btnBookMrkAll.Location = new System.Drawing.Point(100, 149);
this.btnBookMrkAll.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnBookMrkAll.Name = "btnBookMrkAll"; this.btnBookMrkAll.Name = "btnBookMrkAll";
this.btnBookMrkAll.Size = new System.Drawing.Size(94, 33); this.btnBookMrkAll.Size = new System.Drawing.Size(70, 27);
this.btnBookMrkAll.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnBookMrkAll.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnBookMrkAll.TabIndex = 8; this.btnBookMrkAll.TabIndex = 8;
this.btnBookMrkAll.Text = "Bookmark All"; this.btnBookMrkAll.Text = "Bookmark All";
@ -414,15 +429,32 @@ namespace Volian.Controls.Library
// //
this.tabControl1.BackColor = System.Drawing.Color.White; this.tabControl1.BackColor = System.Drawing.Color.White;
this.tabControl1.CanReorderTabs = true; this.tabControl1.CanReorderTabs = true;
this.tabControl1.ColorScheme.TabItemBackgroundColorBlend.AddRange(new DevComponents.DotNetBar.BackgroundColorBlend[] {
new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(230)))), ((int)(((byte)(249))))), 0F),
new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(199)))), ((int)(((byte)(220)))), ((int)(((byte)(248))))), 0.45F),
new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(208)))), ((int)(((byte)(245))))), 0.45F),
new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(229)))), ((int)(((byte)(247))))), 1F)});
this.tabControl1.ColorScheme.TabItemHotBackgroundColorBlend.AddRange(new DevComponents.DotNetBar.BackgroundColorBlend[] {
new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(253)))), ((int)(((byte)(235))))), 0F),
new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(236)))), ((int)(((byte)(168))))), 0.45F),
new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(218)))), ((int)(((byte)(89))))), 0.45F),
new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(230)))), ((int)(((byte)(141))))), 1F)});
this.tabControl1.ColorScheme.TabItemSelectedBackground2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.tabControl1.ColorScheme.TabItemSelectedBackground2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.tabControl1.ColorScheme.TabItemSelectedBackgroundColorBlend.AddRange(new DevComponents.DotNetBar.BackgroundColorBlend[] {
new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.White, 0F),
new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))), 0.45F),
new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))), 0.45F),
new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))), 1F)});
this.tabControl1.Controls.Add(this.tabControlPanel1); this.tabControl1.Controls.Add(this.tabControlPanel1);
this.tabControl1.Controls.Add(this.tabControlPanel2); this.tabControl1.Controls.Add(this.tabControlPanel2);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Top; this.tabControl1.Dock = System.Windows.Forms.DockStyle.Top;
this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Location = new System.Drawing.Point(0, 0);
this.tabControl1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tabControl1.Name = "tabControl1"; this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabControl1.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabControl1.SelectedTabIndex = 0; this.tabControl1.SelectedTabIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(584, 22); this.tabControl1.Size = new System.Drawing.Size(437, 19);
this.tabControl1.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Document;
this.tabControl1.TabIndex = 14; this.tabControl1.TabIndex = 14;
this.tabControl1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.tabControl1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
this.tabControl1.Tabs.Add(this.tabFind); this.tabControl1.Tabs.Add(this.tabFind);
@ -432,14 +464,15 @@ namespace Volian.Controls.Library
// tabControlPanel1 // tabControlPanel1
// //
this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel1.Location = new System.Drawing.Point(0, 26); this.tabControlPanel1.Location = new System.Drawing.Point(0, 22);
this.tabControlPanel1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tabControlPanel1.Name = "tabControlPanel1"; this.tabControlPanel1.Name = "tabControlPanel1";
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel1.Size = new System.Drawing.Size(584, 0); this.tabControlPanel1.Size = new System.Drawing.Size(437, 0);
this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom))); | DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel1.Style.GradientAngle = 90; this.tabControlPanel1.Style.GradientAngle = 90;
@ -456,14 +489,15 @@ namespace Volian.Controls.Library
// tabControlPanel2 // tabControlPanel2
// //
this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel2.Location = new System.Drawing.Point(0, 26); this.tabControlPanel2.Location = new System.Drawing.Point(0, 22);
this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tabControlPanel2.Name = "tabControlPanel2"; this.tabControlPanel2.Name = "tabControlPanel2";
this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel2.Size = new System.Drawing.Size(584, 0); this.tabControlPanel2.Size = new System.Drawing.Size(437, 0);
this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom))); | DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel2.Style.GradientAngle = 90; this.tabControlPanel2.Style.GradientAngle = 90;
@ -480,11 +514,11 @@ namespace Volian.Controls.Library
// FindReplace // FindReplace
// //
this.AcceptButton = this.btnFindNext; this.AcceptButton = this.btnFindNext;
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Gray; this.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.CancelButton = this.btnFndRplDone; this.CancelButton = this.btnFndRplDone;
this.ClientSize = new System.Drawing.Size(584, 217); this.ClientSize = new System.Drawing.Size(437, 180);
this.Controls.Add(this.panelEx1); this.Controls.Add(this.panelEx1);
this.Controls.Add(this.tabControl1); this.Controls.Add(this.tabControl1);
this.Controls.Add(this.btnBookMrkAll); this.Controls.Add(this.btnBookMrkAll);
@ -494,6 +528,7 @@ namespace Volian.Controls.Library
this.Controls.Add(this.btnReplace); this.Controls.Add(this.btnReplace);
this.DoubleBuffered = true; this.DoubleBuffered = true;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "FindReplace"; this.Name = "FindReplace";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Find and Replace"; this.Text = "Find and Replace";