C2023-003 Added tooltips to the buttons

This commit is contained in:
John Jenko 2023-02-02 16:25:42 +00:00
parent b27bfaa5b1
commit 791f9fb386
2 changed files with 29 additions and 13 deletions

View File

@ -99,6 +99,7 @@ namespace Volian.Controls.Library
this.btnReplace.Size = new System.Drawing.Size(56, 28); 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.Tooltip = "Replace Text and\r\nStay where you are";
this.btnReplace.Visible = false; this.btnReplace.Visible = false;
this.btnReplace.Click += new System.EventHandler(this.btnReplace_Click); this.btnReplace.Click += new System.EventHandler(this.btnReplace_Click);
// //
@ -113,6 +114,7 @@ namespace Volian.Controls.Library
this.btnFndRplDone.Size = new System.Drawing.Size(56, 27); 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.Tooltip = "Close this dialog";
this.btnFndRplDone.Click += new System.EventHandler(this.btnFndRplDone_Click); this.btnFndRplDone.Click += new System.EventHandler(this.btnFndRplDone_Click);
// //
// btnFindNext // btnFindNext
@ -125,16 +127,18 @@ namespace Volian.Controls.Library
this.btnFindNext.Size = new System.Drawing.Size(56, 27); 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.Tooltip = "Go To the Next\r\nFound Location";
this.btnFindNext.Click += new System.EventHandler(this.btnFindNext_Click); this.btnFindNext.Click += new System.EventHandler(this.btnFindNext_Click);
// //
// cmboReplaceText // cmboReplaceText
// //
this.cmboReplaceText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) this.cmboReplaceText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.contextMenuBar1.SetContextMenuEx(this.cmboReplaceText, this.btnCmFndRpl); this.contextMenuBar1.SetContextMenuEx(this.cmboReplaceText, this.btnCmFndRpl);
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.ItemHeight = 15;
this.cmboReplaceText.Location = new System.Drawing.Point(83, 41); this.cmboReplaceText.Location = new System.Drawing.Point(83, 41);
this.cmboReplaceText.Margin = new System.Windows.Forms.Padding(2); this.cmboReplaceText.Margin = new System.Windows.Forms.Padding(2);
this.cmboReplaceText.MaxDropDownItems = 10; this.cmboReplaceText.MaxDropDownItems = 10;
@ -164,11 +168,12 @@ namespace Volian.Controls.Library
// cmboFindText // cmboFindText
// //
this.cmboFindText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) this.cmboFindText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.contextMenuBar1.SetContextMenuEx(this.cmboFindText, this.btnCmFndRpl); this.contextMenuBar1.SetContextMenuEx(this.cmboFindText, this.btnCmFndRpl);
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.ItemHeight = 15;
this.cmboFindText.Location = new System.Drawing.Point(83, 8); this.cmboFindText.Location = new System.Drawing.Point(83, 8);
this.cmboFindText.Margin = new System.Windows.Forms.Padding(2); this.cmboFindText.Margin = new System.Windows.Forms.Padding(2);
this.cmboFindText.MaxDropDownItems = 10; this.cmboFindText.MaxDropDownItems = 10;
@ -177,8 +182,8 @@ namespace Volian.Controls.Library
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";
this.cmboFindText.Leave += new System.EventHandler(this.cmboFindText_Leave);
this.cmboFindText.TextChanged += new System.EventHandler(this.cmboFindText_TextChanged); this.cmboFindText.TextChanged += new System.EventHandler(this.cmboFindText_TextChanged);
this.cmboFindText.Leave += new System.EventHandler(this.cmboFindText_Leave);
// //
// labelX3 // labelX3
// //
@ -204,6 +209,7 @@ namespace Volian.Controls.Library
this.btnRplAll.Size = new System.Drawing.Size(80, 28); this.btnRplAll.Size = new System.Drawing.Size(80, 28);
this.btnRplAll.TabIndex = 10; this.btnRplAll.TabIndex = 10;
this.btnRplAll.Text = "Replace ..."; this.btnRplAll.Text = "Replace ...";
this.btnRplAll.Tooltip = "Replace Text Then \r\nGo To Next Location";
this.btnRplAll.Visible = false; this.btnRplAll.Visible = false;
this.btnRplAll.Click += new System.EventHandler(this.btnRplAll_Click); this.btnRplAll.Click += new System.EventHandler(this.btnRplAll_Click);
// //
@ -221,6 +227,7 @@ 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.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx1.Dock = System.Windows.Forms.DockStyle.Top; this.panelEx1.Dock = System.Windows.Forms.DockStyle.Top;
this.panelEx1.Location = new System.Drawing.Point(0, 19); this.panelEx1.Location = new System.Drawing.Point(0, 19);
this.panelEx1.Margin = new System.Windows.Forms.Padding(2); this.panelEx1.Margin = new System.Windows.Forms.Padding(2);
@ -240,6 +247,7 @@ namespace Volian.Controls.Library
this.contextMenuBar1.AntiAlias = true; this.contextMenuBar1.AntiAlias = true;
this.contextMenuBar1.DockSide = DevComponents.DotNetBar.eDockSide.Top; this.contextMenuBar1.DockSide = DevComponents.DotNetBar.eDockSide.Top;
this.contextMenuBar1.Font = new System.Drawing.Font("Segoe UI", 9F); this.contextMenuBar1.Font = new System.Drawing.Font("Segoe UI", 9F);
this.contextMenuBar1.IsMaximized = false;
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(115, 68); this.contextMenuBar1.Location = new System.Drawing.Point(115, 68);
@ -322,6 +330,10 @@ namespace Volian.Controls.Library
// //
// //
// //
this.galSymbols.TitleMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.galSymbols.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.galSymbols.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// cbxReverse // cbxReverse
@ -428,6 +440,7 @@ namespace Volian.Controls.Library
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";
this.btnBookMrkAll.Tooltip = "Add a PROMS Bookmark\r\nFor Each Found Location";
this.btnBookMrkAll.Click += new System.EventHandler(this.btnBookMrkAll_Click); this.btnBookMrkAll.Click += new System.EventHandler(this.btnBookMrkAll_Click);
// //
// tabControl1 // tabControl1
@ -450,8 +463,8 @@ namespace Volian.Controls.Library
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))))), 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)}); 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.tabControlPanel2); this.tabControl1.Controls.Add(this.tabControlPanel2);
this.tabControl1.Controls.Add(this.tabControlPanel1);
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); this.tabControl1.Margin = new System.Windows.Forms.Padding(2);
@ -468,6 +481,7 @@ namespace Volian.Controls.Library
// //
// tabControlPanel1 // tabControlPanel1
// //
this.tabControlPanel1.DisabledBackColor = System.Drawing.Color.Empty;
this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel1.Location = new System.Drawing.Point(0, 22); this.tabControlPanel1.Location = new System.Drawing.Point(0, 22);
this.tabControlPanel1.Margin = new System.Windows.Forms.Padding(2); this.tabControlPanel1.Margin = new System.Windows.Forms.Padding(2);
@ -479,7 +493,7 @@ namespace Volian.Controls.Library
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)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); 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;
this.tabControlPanel1.TabIndex = 1; this.tabControlPanel1.TabIndex = 1;
this.tabControlPanel1.TabItem = this.tabFind; this.tabControlPanel1.TabItem = this.tabFind;
@ -493,6 +507,7 @@ namespace Volian.Controls.Library
// //
// tabControlPanel2 // tabControlPanel2
// //
this.tabControlPanel2.DisabledBackColor = System.Drawing.Color.Empty;
this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel2.Location = new System.Drawing.Point(0, 22); this.tabControlPanel2.Location = new System.Drawing.Point(0, 22);
this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(2); this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(2);
@ -504,7 +519,7 @@ namespace Volian.Controls.Library
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)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); 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;
this.tabControlPanel2.TabIndex = 2; this.tabControlPanel2.TabIndex = 2;
this.tabControlPanel2.TabItem = this.tabReplace; this.tabControlPanel2.TabItem = this.tabReplace;
@ -531,6 +546,7 @@ namespace Volian.Controls.Library
this.Controls.Add(this.btnFindNext); this.Controls.Add(this.btnFindNext);
this.Controls.Add(this.btnFndRplDone); this.Controls.Add(this.btnFndRplDone);
this.Controls.Add(this.btnReplace); this.Controls.Add(this.btnReplace);
this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
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); this.Margin = new System.Windows.Forms.Padding(2);

View File

@ -112,12 +112,12 @@
<value>2.0</value> <value>2.0</value>
</resheader> </resheader>
<resheader name="reader"> <resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
AAABAAIAICAQAAAAAADoAgAAJgAAABAQEAAAAAAAKAEAAA4DAAAoAAAAIAAAAEAAAAABAAQAAAAAAIAC AAABAAIAICAQAAAAAADoAgAAJgAAABAQEAAAAAAAKAEAAA4DAAAoAAAAIAAAAEAAAAABAAQAAAAAAIAC