Help sub menu moved back to main menu so debug sub menu can be more easily reachable

This commit is contained in:
Jaex 2013-11-20 15:05:20 +02:00
parent f23ca55d30
commit 04d5543769
3 changed files with 76 additions and 66 deletions

View file

@ -51,6 +51,7 @@ private void InitializeComponent()
this.cLogo = new HelpersLib.Canvas();
this.uclUpdate = new HelpersLib.UpdateCheckerLabel();
this.lblOwners = new System.Windows.Forms.Label();
this.pbMikeSteamURL = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.pbTR)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbBerkURL)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbMikeURL)).BeginInit();
@ -61,6 +62,7 @@ private void InitializeComponent()
((System.ComponentModel.ISupportInitialize)(this.pbRU)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbDana)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbDanaSteamURL)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbMikeSteamURL)).BeginInit();
this.SuspendLayout();
//
// lblProductName
@ -69,7 +71,7 @@ private void InitializeComponent()
this.lblProductName.BackColor = System.Drawing.Color.Transparent;
this.lblProductName.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.lblProductName.ForeColor = System.Drawing.Color.Black;
this.lblProductName.Location = new System.Drawing.Point(15, 9);
this.lblProductName.Location = new System.Drawing.Point(13, 9);
this.lblProductName.Name = "lblProductName";
this.lblProductName.Size = new System.Drawing.Size(134, 24);
this.lblProductName.TabIndex = 0;
@ -305,12 +307,26 @@ private void InitializeComponent()
this.lblOwners.TabIndex = 33;
this.lblOwners.Text = "Owners:";
//
// pbMikeSteamURL
//
this.pbMikeSteamURL.BackColor = System.Drawing.Color.Transparent;
this.pbMikeSteamURL.Cursor = System.Windows.Forms.Cursors.Hand;
this.pbMikeSteamURL.Image = global::ShareX.Properties.Resources.steam;
this.pbMikeSteamURL.Location = new System.Drawing.Point(63, 166);
this.pbMikeSteamURL.Name = "pbMikeSteamURL";
this.pbMikeSteamURL.Size = new System.Drawing.Size(16, 16);
this.pbMikeSteamURL.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pbMikeSteamURL.TabIndex = 34;
this.pbMikeSteamURL.TabStop = false;
this.pbMikeSteamURL.Click += new System.EventHandler(this.pbMikeSteamURL_Click);
//
// AboutForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.WhiteSmoke;
this.ClientSize = new System.Drawing.Size(400, 451);
this.Controls.Add(this.pbMikeSteamURL);
this.Controls.Add(this.lblOwners);
this.Controls.Add(this.rtbShareXInfo);
this.Controls.Add(this.pbDanaSteamURL);
@ -349,6 +365,7 @@ private void InitializeComponent()
((System.ComponentModel.ISupportInitialize)(this.pbRU)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbDana)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbDanaSteamURL)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbMikeSteamURL)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@ -378,5 +395,6 @@ private void InitializeComponent()
private System.Windows.Forms.RichTextBox rtbShareXInfo;
private System.Windows.Forms.Label lblOwners;
private HelpersLib.UpdateCheckerLabel uclUpdate;
private System.Windows.Forms.PictureBox pbMikeSteamURL;
}
}

View file

@ -72,6 +72,11 @@ private void pbMikeURL_Click(object sender, EventArgs e)
Helpers.LoadBrowserAsync(Links.URL_MIKE);
}
private void pbMikeSteamURL_Click(object sender, EventArgs e)
{
Helpers.LoadBrowserAsync(Links.URL_MIKE_STEAM);
}
private void pbGregoire_Click(object sender, EventArgs e)
{
Helpers.LoadBrowserAsync(Links.URL_GREGOIRE);

View file

@ -95,10 +95,7 @@ private void InitializeComponent()
this.tsbScreenshotsFolder = new System.Windows.Forms.ToolStripButton();
this.tsbHistory = new System.Windows.Forms.ToolStripButton();
this.tsbImageHistory = new System.Windows.Forms.ToolStripButton();
this.tsddbHelp = new System.Windows.Forms.ToolStripDropDownButton();
this.tsmiAbout = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiDonate = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiDebug = new System.Windows.Forms.ToolStripMenuItem();
this.tsddbDebug = new System.Windows.Forms.ToolStripDropDownButton();
this.tsmiShowDebugLog = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiTestImageUpload = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiTestTextUpload = new System.Windows.Forms.ToolStripMenuItem();
@ -200,6 +197,7 @@ private void InitializeComponent()
this.tsmiTrayScreenColorPicker = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiTrayHashCheck = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiTrayIndexFolder = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiTrayImageEffects = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiScreenshotsFolder = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiTrayHistory = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiTrayImageHistory = new System.Windows.Forms.ToolStripMenuItem();
@ -208,7 +206,8 @@ private void InitializeComponent()
this.tssTray3 = new System.Windows.Forms.ToolStripSeparator();
this.tsmiTrayExit = new System.Windows.Forms.ToolStripMenuItem();
this.ssToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiTrayImageEffects = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiAbout = new System.Windows.Forms.ToolStripButton();
this.tsmiDonate = new System.Windows.Forms.ToolStripButton();
this.tsMain.SuspendLayout();
this.scMain.Panel1.SuspendLayout();
this.scMain.Panel2.SuspendLayout();
@ -240,13 +239,15 @@ private void InitializeComponent()
this.tsbScreenshotsFolder,
this.tsbHistory,
this.tsbImageHistory,
this.tsddbHelp});
this.tsddbDebug,
this.tsmiDonate,
this.tsmiAbout});
this.tsMain.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.VerticalStackWithOverflow;
this.tsMain.Location = new System.Drawing.Point(0, 0);
this.tsMain.Name = "tsMain";
this.tsMain.Padding = new System.Windows.Forms.Padding(6);
this.tsMain.ShowItemToolTips = false;
this.tsMain.Size = new System.Drawing.Size(160, 392);
this.tsMain.Size = new System.Drawing.Size(160, 430);
this.tsMain.TabIndex = 0;
this.tsMain.Text = "toolStrip1";
//
@ -602,42 +603,9 @@ private void InitializeComponent()
this.tsbImageHistory.Text = "Image history...";
this.tsbImageHistory.Click += new System.EventHandler(this.tsbImageHistory_Click);
//
// tsddbHelp
// tsddbDebug
//
this.tsddbHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiAbout,
this.tsmiDonate,
this.tsmiDebug});
this.tsddbHelp.Image = global::ShareX.Properties.Resources.question_button;
this.tsddbHelp.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.tsddbHelp.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsddbHelp.Name = "tsddbHelp";
this.tsddbHelp.Size = new System.Drawing.Size(147, 20);
this.tsddbHelp.Text = "Help";
//
// tsmiAbout
//
this.tsmiAbout.Image = global::ShareX.Properties.Resources.application_browser;
this.tsmiAbout.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.tsmiAbout.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsmiAbout.Name = "tsmiAbout";
this.tsmiAbout.Size = new System.Drawing.Size(121, 22);
this.tsmiAbout.Text = "About...";
this.tsmiAbout.Click += new System.EventHandler(this.tsbAbout_Click);
//
// tsmiDonate
//
this.tsmiDonate.Image = global::ShareX.Properties.Resources.present;
this.tsmiDonate.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.tsmiDonate.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsmiDonate.Name = "tsmiDonate";
this.tsmiDonate.Size = new System.Drawing.Size(121, 22);
this.tsmiDonate.Text = "Donate...";
this.tsmiDonate.Click += new System.EventHandler(this.tsbDonate_Click);
//
// tsmiDebug
//
this.tsmiDebug.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsddbDebug.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiShowDebugLog,
this.tsmiTestImageUpload,
this.tsmiTestTextUpload,
@ -645,12 +613,12 @@ private void InitializeComponent()
this.tsmiTestURLShortener,
this.tsmiTestUploaders,
this.tsmiTestShapeCapture});
this.tsmiDebug.Image = global::ShareX.Properties.Resources.block;
this.tsmiDebug.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.tsmiDebug.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsmiDebug.Name = "tsmiDebug";
this.tsmiDebug.Size = new System.Drawing.Size(121, 22);
this.tsmiDebug.Text = "Debug";
this.tsddbDebug.Image = global::ShareX.Properties.Resources.block;
this.tsddbDebug.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.tsddbDebug.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsddbDebug.Name = "tsddbDebug";
this.tsddbDebug.Size = new System.Drawing.Size(147, 20);
this.tsddbDebug.Text = "Debug";
//
// tsmiShowDebugLog
//
@ -724,7 +692,7 @@ private void InitializeComponent()
// scMain.Panel2
//
this.scMain.Panel2.Controls.Add(this.pbPreview);
this.scMain.Size = new System.Drawing.Size(784, 392);
this.scMain.Size = new System.Drawing.Size(784, 430);
this.scMain.SplitterDistance = 400;
this.scMain.SplitterWidth = 6;
this.scMain.TabIndex = 1;
@ -741,7 +709,7 @@ private void InitializeComponent()
this.lblDragAndDropTip.Location = new System.Drawing.Point(8, 92);
this.lblDragAndDropTip.Name = "lblDragAndDropTip";
this.lblDragAndDropTip.Padding = new System.Windows.Forms.Padding(30, 20, 30, 30);
this.lblDragAndDropTip.Size = new System.Drawing.Size(384, 208);
this.lblDragAndDropTip.Size = new System.Drawing.Size(384, 246);
this.lblDragAndDropTip.TabIndex = 2;
this.lblDragAndDropTip.Text = "You can drag and drop files to this window";
this.lblDragAndDropTip.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -753,7 +721,7 @@ private void InitializeComponent()
this.lblSplitter.Dock = System.Windows.Forms.DockStyle.Left;
this.lblSplitter.Location = new System.Drawing.Point(0, 0);
this.lblSplitter.Name = "lblSplitter";
this.lblSplitter.Size = new System.Drawing.Size(1, 392);
this.lblSplitter.Size = new System.Drawing.Size(1, 430);
this.lblSplitter.TabIndex = 0;
//
// lvUploads
@ -778,7 +746,7 @@ private void InitializeComponent()
this.lvUploads.Location = new System.Drawing.Point(0, 0);
this.lvUploads.Name = "lvUploads";
this.lvUploads.ShowItemToolTips = true;
this.lvUploads.Size = new System.Drawing.Size(400, 392);
this.lvUploads.Size = new System.Drawing.Size(400, 430);
this.lvUploads.TabIndex = 1;
this.lvUploads.UseCompatibleStateImageBehavior = false;
this.lvUploads.View = System.Windows.Forms.View.Details;
@ -840,7 +808,7 @@ private void InitializeComponent()
this.pbPreview.FullscreenOnClick = true;
this.pbPreview.Location = new System.Drawing.Point(0, 0);
this.pbPreview.Name = "pbPreview";
this.pbPreview.Size = new System.Drawing.Size(378, 392);
this.pbPreview.Size = new System.Drawing.Size(378, 430);
this.pbPreview.TabIndex = 1;
//
// cmsUploadInfo
@ -1198,8 +1166,8 @@ private void InitializeComponent()
this.tsmiScreenshotsFolder,
this.tsmiTrayHistory,
this.tsmiTrayImageHistory,
this.tsmiTrayAbout,
this.tsmiTrayDonate,
this.tsmiTrayAbout,
this.tssTray3,
this.tsmiTrayExit});
this.cmsTray.Name = "cmsTray";
@ -1495,6 +1463,14 @@ private void InitializeComponent()
this.tsmiTrayIndexFolder.Text = "Index folder...";
this.tsmiTrayIndexFolder.Click += new System.EventHandler(this.tsmiIndexFolder_Click);
//
// tsmiTrayImageEffects
//
this.tsmiTrayImageEffects.Image = global::ShareX.Properties.Resources.image_saturation;
this.tsmiTrayImageEffects.Name = "tsmiTrayImageEffects";
this.tsmiTrayImageEffects.Size = new System.Drawing.Size(183, 22);
this.tsmiTrayImageEffects.Text = "Image effects...";
this.tsmiTrayImageEffects.Click += new System.EventHandler(this.tsmiImageEffects_Click);
//
// tsmiScreenshotsFolder
//
this.tsmiScreenshotsFolder.Image = global::ShareX.Properties.Resources.folder_open_image;
@ -1554,20 +1530,32 @@ private void InitializeComponent()
this.ssToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.ssToolStripMenuItem.Text = "ss";
//
// tsmiTrayImageEffects
// tsmiAbout
//
this.tsmiTrayImageEffects.Image = global::ShareX.Properties.Resources.image_saturation;
this.tsmiTrayImageEffects.Name = "tsmiTrayImageEffects";
this.tsmiTrayImageEffects.Size = new System.Drawing.Size(183, 22);
this.tsmiTrayImageEffects.Text = "Image effects...";
this.tsmiTrayImageEffects.Click += new System.EventHandler(this.tsmiImageEffects_Click);
this.tsmiAbout.Image = global::ShareX.Properties.Resources.application_browser;
this.tsmiAbout.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.tsmiAbout.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsmiAbout.Name = "tsmiAbout";
this.tsmiAbout.Size = new System.Drawing.Size(147, 20);
this.tsmiAbout.Text = "About...";
this.tsmiAbout.Click += new System.EventHandler(this.tsbAbout_Click);
//
// tsmiDonate
//
this.tsmiDonate.Image = global::ShareX.Properties.Resources.present;
this.tsmiDonate.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.tsmiDonate.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsmiDonate.Name = "tsmiDonate";
this.tsmiDonate.Size = new System.Drawing.Size(147, 20);
this.tsmiDonate.Text = "Donate...";
this.tsmiDonate.Click += new System.EventHandler(this.tsbDonate_Click);
//
// MainForm
//
this.AllowDrop = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(944, 392);
this.ClientSize = new System.Drawing.Size(944, 430);
this.Controls.Add(this.scMain);
this.Controls.Add(this.tsMain);
this.DoubleBuffered = true;
@ -1605,7 +1593,6 @@ private void InitializeComponent()
private System.Windows.Forms.ToolStrip tsMain;
private System.Windows.Forms.ToolStripButton tsbClipboardUpload;
private System.Windows.Forms.ToolStripButton tsbFileUpload;
private System.Windows.Forms.ToolStripMenuItem tsmiAbout;
private System.Windows.Forms.ToolStripSeparator tssMain1;
private System.Windows.Forms.ColumnHeader chSpeed;
private System.Windows.Forms.ColumnHeader chRemaining;
@ -1722,10 +1709,8 @@ private void InitializeComponent()
private System.Windows.Forms.ToolStripMenuItem tsmiHideMenu;
private System.Windows.Forms.ToolStripMenuItem tsmiAutoCapture;
private System.Windows.Forms.ToolStripMenuItem tsmiTrayAutoCapture;
private System.Windows.Forms.ToolStripDropDownButton tsddbHelp;
private System.Windows.Forms.ToolStripDropDownButton tsddbDebug;
private System.Windows.Forms.ToolStripMenuItem ssToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem tsmiDonate;
private System.Windows.Forms.ToolStripMenuItem tsmiDebug;
private System.Windows.Forms.ToolStripMenuItem tsmiTestImageUpload;
private System.Windows.Forms.ToolStripMenuItem tsmiTestTextUpload;
private System.Windows.Forms.ToolStripMenuItem tsmiTestFileUpload;
@ -1749,5 +1734,7 @@ private void InitializeComponent()
public System.Windows.Forms.Label lblDragAndDropTip;
private System.Windows.Forms.ToolStripMenuItem tsmiImageEffects;
private System.Windows.Forms.ToolStripMenuItem tsmiTrayImageEffects;
private System.Windows.Forms.ToolStripButton tsmiAbout;
private System.Windows.Forms.ToolStripButton tsmiDonate;
}
}