Added help button

Added a help button that opens the
DisplayMagician Wiki. I feel like there
are so many functions and features
available in DisplayMagician that I need
to write some help and guidance on how
to use it.
This commit is contained in:
Terry MacDonald 2021-05-20 17:59:09 +12:00
parent ce0b8dc829
commit 8fd4c857ec
3 changed files with 66 additions and 12 deletions

View File

@ -55,6 +55,7 @@
this.shortcutToolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); this.shortcutToolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.btn_help = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout();
@ -72,6 +73,7 @@
// //
// splitContainer1.Panel1 // splitContainer1.Panel1
// //
this.splitContainer1.Panel1.Controls.Add(this.btn_help);
this.splitContainer1.Panel1.Controls.Add(this.btn_donate); this.splitContainer1.Panel1.Controls.Add(this.btn_donate);
this.splitContainer1.Panel1.Controls.Add(this.btn_settings); this.splitContainer1.Panel1.Controls.Add(this.btn_settings);
this.splitContainer1.Panel1.Controls.Add(this.lbl_create_profile); this.splitContainer1.Panel1.Controls.Add(this.lbl_create_profile);
@ -268,6 +270,16 @@
resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem"); resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem");
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
// //
// btn_help
//
resources.ApplyResources(this.btn_help, "btn_help");
this.btn_help.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
this.btn_help.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Brown;
this.btn_help.ForeColor = System.Drawing.Color.White;
this.btn_help.Name = "btn_help";
this.btn_help.UseVisualStyleBackColor = true;
this.btn_help.Click += new System.EventHandler(this.btn_help_Click);
//
// MainForm // MainForm
// //
resources.ApplyResources(this, "$this"); resources.ApplyResources(this, "$this");
@ -319,5 +331,6 @@
private System.Windows.Forms.Label lbl_create_shortcut; private System.Windows.Forms.Label lbl_create_shortcut;
private System.Windows.Forms.Button btn_settings; private System.Windows.Forms.Button btn_settings;
private System.Windows.Forms.Button btn_donate; private System.Windows.Forms.Button btn_donate;
private System.Windows.Forms.Button btn_help;
} }
} }

View File

@ -582,5 +582,10 @@ namespace DisplayMagician.UIForms
} }
} }
private void btn_help_Click(object sender, EventArgs e)
{
string targetURL = @"https://github.com/terrymacdonald/DisplayMagician/wiki";
System.Diagnostics.Process.Start(targetURL);
}
} }
} }

View File

@ -132,6 +132,39 @@
<data name="splitContainer1.Orientation" type="System.Windows.Forms.Orientation, System.Windows.Forms"> <data name="splitContainer1.Orientation" type="System.Windows.Forms.Orientation, System.Windows.Forms">
<value>Horizontal</value> <value>Horizontal</value>
</data> </data>
<data name="btn_help.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="btn_help.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="btn_help.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="btn_help.Location" type="System.Drawing.Point, System.Drawing">
<value>536, 8</value>
</data>
<data name="btn_help.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="btn_help.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="btn_help.Text" xml:space="preserve">
<value>&amp;Help</value>
</data>
<data name="&gt;&gt;btn_help.Name" xml:space="preserve">
<value>btn_help</value>
</data>
<data name="&gt;&gt;btn_help.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;btn_help.Parent" xml:space="preserve">
<value>splitContainer1.Panel1</value>
</data>
<data name="&gt;&gt;btn_help.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="btn_donate.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> <data name="btn_donate.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value> <value>Top, Right</value>
</data> </data>
@ -163,7 +196,7 @@
<value>splitContainer1.Panel1</value> <value>splitContainer1.Panel1</value>
</data> </data>
<data name="&gt;&gt;btn_donate.ZOrder" xml:space="preserve"> <data name="&gt;&gt;btn_donate.ZOrder" xml:space="preserve">
<value>0</value> <value>1</value>
</data> </data>
<data name="btn_settings.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> <data name="btn_settings.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value> <value>Top, Right</value>
@ -193,7 +226,7 @@
<value>splitContainer1.Panel1</value> <value>splitContainer1.Panel1</value>
</data> </data>
<data name="&gt;&gt;btn_settings.ZOrder" xml:space="preserve"> <data name="&gt;&gt;btn_settings.ZOrder" xml:space="preserve">
<value>1</value> <value>2</value>
</data> </data>
<data name="lbl_create_profile.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> <data name="lbl_create_profile.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>None</value> <value>None</value>
@ -205,7 +238,7 @@
<value>Microsoft Sans Serif, 12pt</value> <value>Microsoft Sans Serif, 12pt</value>
</data> </data>
<data name="lbl_create_profile.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbl_create_profile.Location" type="System.Drawing.Point, System.Drawing">
<value>230, 239</value> <value>230, 238</value>
</data> </data>
<data name="lbl_create_profile.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbl_create_profile.Size" type="System.Drawing.Size, System.Drawing">
<value>316, 22</value> <value>316, 22</value>
@ -229,7 +262,7 @@
<value>splitContainer1.Panel1</value> <value>splitContainer1.Panel1</value>
</data> </data>
<data name="&gt;&gt;lbl_create_profile.ZOrder" xml:space="preserve"> <data name="&gt;&gt;lbl_create_profile.ZOrder" xml:space="preserve">
<value>2</value> <value>3</value>
</data> </data>
<data name="btn_setup_display_profiles.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> <data name="btn_setup_display_profiles.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>None</value> <value>None</value>
@ -241,7 +274,7 @@
<value>Microsoft Sans Serif, 21.75pt</value> <value>Microsoft Sans Serif, 21.75pt</value>
</data> </data>
<data name="btn_setup_display_profiles.Location" type="System.Drawing.Point, System.Drawing"> <data name="btn_setup_display_profiles.Location" type="System.Drawing.Point, System.Drawing">
<value>210, 166</value> <value>210, 165</value>
</data> </data>
<data name="btn_setup_display_profiles.Size" type="System.Drawing.Size, System.Drawing"> <data name="btn_setup_display_profiles.Size" type="System.Drawing.Size, System.Drawing">
<value>360, 50</value> <value>360, 50</value>
@ -262,7 +295,7 @@
<value>splitContainer1.Panel1</value> <value>splitContainer1.Panel1</value>
</data> </data>
<data name="&gt;&gt;btn_setup_display_profiles.ZOrder" xml:space="preserve"> <data name="&gt;&gt;btn_setup_display_profiles.ZOrder" xml:space="preserve">
<value>3</value> <value>4</value>
</data> </data>
<data name="pb_display_profile.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms"> <data name="pb_display_profile.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value> <value>Fill</value>
@ -10810,7 +10843,7 @@
<value>splitContainer1.Panel1</value> <value>splitContainer1.Panel1</value>
</data> </data>
<data name="&gt;&gt;pb_display_profile.ZOrder" xml:space="preserve"> <data name="&gt;&gt;pb_display_profile.ZOrder" xml:space="preserve">
<value>4</value> <value>5</value>
</data> </data>
<data name="&gt;&gt;splitContainer1.Panel1.Name" xml:space="preserve"> <data name="&gt;&gt;splitContainer1.Panel1.Name" xml:space="preserve">
<value>splitContainer1.Panel1</value> <value>splitContainer1.Panel1</value>
@ -10837,7 +10870,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbl_create_shortcut.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbl_create_shortcut.Location" type="System.Drawing.Point, System.Drawing">
<value>282, 247</value> <value>282, 248</value>
</data> </data>
<data name="lbl_create_shortcut.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbl_create_shortcut.Size" type="System.Drawing.Size, System.Drawing">
<value>222, 22</value> <value>222, 22</value>
@ -10879,7 +10912,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="cb_minimise_notification_area.Location" type="System.Drawing.Point, System.Drawing"> <data name="cb_minimise_notification_area.Location" type="System.Drawing.Point, System.Drawing">
<value>162, 356</value> <value>162, 354</value>
</data> </data>
<data name="cb_minimise_notification_area.Size" type="System.Drawing.Size, System.Drawing"> <data name="cb_minimise_notification_area.Size" type="System.Drawing.Size, System.Drawing">
<value>460, 20</value> <value>460, 20</value>
@ -10912,7 +10945,7 @@
<value>Microsoft Sans Serif, 9.75pt</value> <value>Microsoft Sans Serif, 9.75pt</value>
</data> </data>
<data name="lbl_version.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbl_version.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 357</value> <value>12, 355</value>
</data> </data>
<data name="lbl_version.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbl_version.Size" type="System.Drawing.Size, System.Drawing">
<value>25, 16</value> <value>25, 16</value>
@ -10948,7 +10981,7 @@
<value>Microsoft Sans Serif, 21.75pt</value> <value>Microsoft Sans Serif, 21.75pt</value>
</data> </data>
<data name="btn_setup_game_shortcuts.Location" type="System.Drawing.Point, System.Drawing"> <data name="btn_setup_game_shortcuts.Location" type="System.Drawing.Point, System.Drawing">
<value>212, 174</value> <value>212, 175</value>
</data> </data>
<data name="btn_setup_game_shortcuts.Size" type="System.Drawing.Size, System.Drawing"> <data name="btn_setup_game_shortcuts.Size" type="System.Drawing.Size, System.Drawing">
<value>360, 50</value> <value>360, 50</value>
@ -10981,7 +11014,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="btn_exit.Location" type="System.Drawing.Point, System.Drawing"> <data name="btn_exit.Location" type="System.Drawing.Point, System.Drawing">
<value>700, 353</value> <value>700, 351</value>
</data> </data>
<data name="btn_exit.Size" type="System.Drawing.Size, System.Drawing"> <data name="btn_exit.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value> <value>75, 23</value>
@ -79070,6 +79103,9 @@
rjGJe6619efaHz2S/5D4v/OFla+gZqVXAAAAAElFTkSuQmCC rjGJe6619efaHz2S/5D4v/OFla+gZqVXAAAAAElFTkSuQmCC
</value> </value>
</data> </data>
<data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="$this.MaximumSize" type="System.Drawing.Size, System.Drawing"> <data name="$this.MaximumSize" type="System.Drawing.Size, System.Drawing">
<value>1100, 950</value> <value>1100, 950</value>
</data> </data>