diff --git a/ShareX/Forms/MainForm.Designer.cs b/ShareX/Forms/MainForm.Designer.cs index 6229cb1ab..e645c2b72 100644 --- a/ShareX/Forms/MainForm.Designer.cs +++ b/ShareX/Forms/MainForm.Designer.cs @@ -30,68 +30,8 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.tsMain = new System.Windows.Forms.ToolStrip(); - this.tsddbCapture = new System.Windows.Forms.ToolStripDropDownButton(); - this.tsmiFullscreen = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiWindow = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiMonitor = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiRectangle = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiWindowRectangle = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiRectangleAnnotate = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiRectangleLight = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiRoundedRectangle = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiEllipse = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiTriangle = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiDiamond = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiPolygon = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiFreeHand = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiLastRegion = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiScreenRecorder = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiAutoCapture = new System.Windows.Forms.ToolStripMenuItem(); - this.tsddbUpload = new System.Windows.Forms.ToolStripDropDownButton(); - this.tsmiUploadFile = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiUploadClipboard = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiUploadURL = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiUploadDragDrop = new System.Windows.Forms.ToolStripMenuItem(); - this.tsddbWorkflows = new System.Windows.Forms.ToolStripDropDownButton(); - this.tsddbTools = new System.Windows.Forms.ToolStripDropDownButton(); - this.tsmiScreenColorPicker = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiRuler = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiFTPClient = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiHashCheck = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiIndexFolder = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiImageEditor = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiImageEffects = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiMonitorTest = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiDNSChanger = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiQRCode = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiTweetMessage = new System.Windows.Forms.ToolStripMenuItem(); this.tssMain1 = new System.Windows.Forms.ToolStripSeparator(); - this.tsddbAfterCaptureTasks = new System.Windows.Forms.ToolStripDropDownButton(); - this.tsddbAfterUploadTasks = new System.Windows.Forms.ToolStripDropDownButton(); - this.tsddbDestinations = new System.Windows.Forms.ToolStripDropDownButton(); - this.tsmiImageUploaders = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiTextUploaders = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiFileUploaders = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiURLShorteners = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiURLSharingServices = new System.Windows.Forms.ToolStripMenuItem(); - this.tssDestinations1 = new System.Windows.Forms.ToolStripSeparator(); - this.tsmiDestinationSettings = new System.Windows.Forms.ToolStripMenuItem(); - this.tsbApplicationSettings = new System.Windows.Forms.ToolStripButton(); - this.tsbTaskSettings = new System.Windows.Forms.ToolStripButton(); - this.tsbHotkeySettings = new System.Windows.Forms.ToolStripButton(); this.tssMain2 = new System.Windows.Forms.ToolStripSeparator(); - this.tsbScreenshotsFolder = new System.Windows.Forms.ToolStripButton(); - this.tsbHistory = new System.Windows.Forms.ToolStripButton(); - this.tsbImageHistory = new System.Windows.Forms.ToolStripButton(); - 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(); - this.tsmiTestFileUpload = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiTestURLShortener = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiTestUploaders = new System.Windows.Forms.ToolStripMenuItem(); - this.tsmiDonate = new System.Windows.Forms.ToolStripButton(); - this.tsmiAbout = new System.Windows.Forms.ToolStripButton(); this.scMain = new HelpersLib.SplitContainerCustomSplitter(); this.lblDragAndDropTip = new System.Windows.Forms.Label(); this.lblSplitter = new System.Windows.Forms.Label(); @@ -155,6 +95,70 @@ private void InitializeComponent() this.tsmiImagePreviewAutomatic = new System.Windows.Forms.ToolStripMenuItem(); this.niTray = new System.Windows.Forms.NotifyIcon(this.components); this.cmsTray = new System.Windows.Forms.ContextMenuStrip(this.components); + this.tssTray1 = new System.Windows.Forms.ToolStripSeparator(); + this.tssTray2 = new System.Windows.Forms.ToolStripSeparator(); + this.tssTray3 = new System.Windows.Forms.ToolStripSeparator(); + this.ssToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.tsddbCapture = new System.Windows.Forms.ToolStripDropDownButton(); + this.tsmiFullscreen = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiWindow = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiMonitor = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiRectangle = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiWindowRectangle = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiRectangleAnnotate = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiRectangleLight = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiRoundedRectangle = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiEllipse = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiTriangle = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiDiamond = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiPolygon = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiFreeHand = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiLastRegion = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiScreenRecorder = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiAutoCapture = new System.Windows.Forms.ToolStripMenuItem(); + this.tsddbUpload = new System.Windows.Forms.ToolStripDropDownButton(); + this.tsmiUploadFile = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiUploadClipboard = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiUploadURL = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiUploadDragDrop = new System.Windows.Forms.ToolStripMenuItem(); + this.tsddbWorkflows = new System.Windows.Forms.ToolStripDropDownButton(); + this.tsddbTools = new System.Windows.Forms.ToolStripDropDownButton(); + this.tsmiScreenColorPicker = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiRuler = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiFTPClient = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiHashCheck = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiIndexFolder = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiImageEditor = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiImageEffects = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiMonitorTest = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiDNSChanger = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiQRCode = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiTweetMessage = new System.Windows.Forms.ToolStripMenuItem(); + this.tsddbAfterCaptureTasks = new System.Windows.Forms.ToolStripDropDownButton(); + this.tsddbAfterUploadTasks = new System.Windows.Forms.ToolStripDropDownButton(); + this.tsddbDestinations = new System.Windows.Forms.ToolStripDropDownButton(); + this.tsmiImageUploaders = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiTextUploaders = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiFileUploaders = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiURLShorteners = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiURLSharingServices = new System.Windows.Forms.ToolStripMenuItem(); + this.tssDestinations1 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiDestinationSettings = new System.Windows.Forms.ToolStripMenuItem(); + this.tsbApplicationSettings = new System.Windows.Forms.ToolStripButton(); + this.tsbTaskSettings = new System.Windows.Forms.ToolStripButton(); + this.tsbHotkeySettings = new System.Windows.Forms.ToolStripButton(); + this.tsbScreenshotsFolder = new System.Windows.Forms.ToolStripButton(); + this.tsbHistory = new System.Windows.Forms.ToolStripButton(); + this.tsbImageHistory = new System.Windows.Forms.ToolStripButton(); + 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(); + this.tsmiTestFileUpload = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiTestURLShortener = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiTestUploaders = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiDonate = new System.Windows.Forms.ToolStripButton(); + this.tsmiAbout = new System.Windows.Forms.ToolStripButton(); this.tsmiTrayCapture = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayFullscreen = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayWindow = new System.Windows.Forms.ToolStripMenuItem(); @@ -190,7 +194,6 @@ private void InitializeComponent() this.tsmiTrayDNSChanger = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayQRCode = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayTweetMessage = new System.Windows.Forms.ToolStripMenuItem(); - this.tssTray1 = new System.Windows.Forms.ToolStripSeparator(); this.tsmiTrayAfterCaptureTasks = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayAfterUploadTasks = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayDestinations = new System.Windows.Forms.ToolStripMenuItem(); @@ -204,16 +207,13 @@ private void InitializeComponent() this.tsmiTrayApplicationSettings = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayTaskSettings = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayHotkeySettings = new System.Windows.Forms.ToolStripMenuItem(); - this.tssTray2 = new System.Windows.Forms.ToolStripSeparator(); this.tsmiScreenshotsFolder = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayHistory = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayImageHistory = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayDonate = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayAbout = new System.Windows.Forms.ToolStripMenuItem(); - this.tssTray3 = new System.Windows.Forms.ToolStripSeparator(); this.tsmiTrayShow = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTrayExit = new System.Windows.Forms.ToolStripMenuItem(); - this.ssToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tsMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.scMain)).BeginInit(); this.scMain.Panel1.SuspendLayout(); @@ -257,563 +257,18 @@ private void InitializeComponent() this.tsMain.TabIndex = 1; this.tsMain.TabStop = true; // - // tsddbCapture - // - this.tsddbCapture.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.tsmiFullscreen, - this.tsmiWindow, - this.tsmiMonitor, - this.tsmiRectangle, - this.tsmiWindowRectangle, - this.tsmiRectangleAnnotate, - this.tsmiRectangleLight, - this.tsmiRoundedRectangle, - this.tsmiEllipse, - this.tsmiTriangle, - this.tsmiDiamond, - this.tsmiPolygon, - this.tsmiFreeHand, - this.tsmiLastRegion, - this.tsmiScreenRecorder, - this.tsmiAutoCapture}); - this.tsddbCapture.Image = global::ShareX.Properties.Resources.camera; - this.tsddbCapture.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tsddbCapture.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsddbCapture.Name = "tsddbCapture"; - this.tsddbCapture.Size = new System.Drawing.Size(157, 20); - this.tsddbCapture.Text = "Capture"; - this.tsddbCapture.DropDownOpening += new System.EventHandler(this.tsddbCapture_DropDownOpening); - // - // tsmiFullscreen - // - this.tsmiFullscreen.Image = global::ShareX.Properties.Resources.layer; - this.tsmiFullscreen.Name = "tsmiFullscreen"; - this.tsmiFullscreen.Size = new System.Drawing.Size(186, 22); - this.tsmiFullscreen.Text = "Fullscreen"; - this.tsmiFullscreen.Click += new System.EventHandler(this.tsmiFullscreen_Click); - // - // tsmiWindow - // - this.tsmiWindow.Image = global::ShareX.Properties.Resources.application_blue; - this.tsmiWindow.Name = "tsmiWindow"; - this.tsmiWindow.Size = new System.Drawing.Size(186, 22); - this.tsmiWindow.Text = "Window"; - // - // tsmiMonitor - // - this.tsmiMonitor.Image = global::ShareX.Properties.Resources.monitor; - this.tsmiMonitor.Name = "tsmiMonitor"; - this.tsmiMonitor.Size = new System.Drawing.Size(186, 22); - this.tsmiMonitor.Text = "Monitor"; - // - // tsmiRectangle - // - this.tsmiRectangle.Image = global::ShareX.Properties.Resources.layer_shape; - this.tsmiRectangle.Name = "tsmiRectangle"; - this.tsmiRectangle.Size = new System.Drawing.Size(186, 22); - this.tsmiRectangle.Text = "Rectangle"; - this.tsmiRectangle.Click += new System.EventHandler(this.tsmiRectangle_Click); - // - // tsmiWindowRectangle - // - this.tsmiWindowRectangle.Image = global::ShareX.Properties.Resources.layers_ungroup; - this.tsmiWindowRectangle.Name = "tsmiWindowRectangle"; - this.tsmiWindowRectangle.Size = new System.Drawing.Size(186, 22); - this.tsmiWindowRectangle.Text = "Rectangle (Objects)"; - this.tsmiWindowRectangle.Click += new System.EventHandler(this.tsmiWindowRectangle_Click); - // - // tsmiRectangleAnnotate - // - this.tsmiRectangleAnnotate.Image = global::ShareX.Properties.Resources.layer_pencil; - this.tsmiRectangleAnnotate.Name = "tsmiRectangleAnnotate"; - this.tsmiRectangleAnnotate.Size = new System.Drawing.Size(186, 22); - this.tsmiRectangleAnnotate.Text = "Rectangle (Annotate)"; - this.tsmiRectangleAnnotate.Click += new System.EventHandler(this.tsmiRectangleAnnotate_Click); - // - // tsmiRectangleLight - // - this.tsmiRectangleLight.Image = global::ShareX.Properties.Resources.Rectangle; - this.tsmiRectangleLight.Name = "tsmiRectangleLight"; - this.tsmiRectangleLight.Size = new System.Drawing.Size(186, 22); - this.tsmiRectangleLight.Text = "Rectangle (Light)"; - this.tsmiRectangleLight.Click += new System.EventHandler(this.tsmiRectangleLight_Click); - // - // tsmiRoundedRectangle - // - this.tsmiRoundedRectangle.Image = global::ShareX.Properties.Resources.layer_shape_round; - this.tsmiRoundedRectangle.Name = "tsmiRoundedRectangle"; - this.tsmiRoundedRectangle.Size = new System.Drawing.Size(186, 22); - this.tsmiRoundedRectangle.Text = "Rounded rectangle"; - this.tsmiRoundedRectangle.Click += new System.EventHandler(this.tsmiRoundedRectangle_Click); - // - // tsmiEllipse - // - this.tsmiEllipse.Image = global::ShareX.Properties.Resources.layer_shape_ellipse; - this.tsmiEllipse.Name = "tsmiEllipse"; - this.tsmiEllipse.Size = new System.Drawing.Size(186, 22); - this.tsmiEllipse.Text = "Ellipse"; - this.tsmiEllipse.Click += new System.EventHandler(this.tsmiEllipse_Click); - // - // tsmiTriangle - // - this.tsmiTriangle.Image = global::ShareX.Properties.Resources.Triangle; - this.tsmiTriangle.Name = "tsmiTriangle"; - this.tsmiTriangle.Size = new System.Drawing.Size(186, 22); - this.tsmiTriangle.Text = "Triangle"; - this.tsmiTriangle.Click += new System.EventHandler(this.tsmiTriangle_Click); - // - // tsmiDiamond - // - this.tsmiDiamond.Image = global::ShareX.Properties.Resources.Diamond; - this.tsmiDiamond.Name = "tsmiDiamond"; - this.tsmiDiamond.Size = new System.Drawing.Size(186, 22); - this.tsmiDiamond.Text = "Diamond"; - this.tsmiDiamond.Click += new System.EventHandler(this.tsmiDiamond_Click); - // - // tsmiPolygon - // - this.tsmiPolygon.Image = global::ShareX.Properties.Resources.layer_shape_polygon; - this.tsmiPolygon.Name = "tsmiPolygon"; - this.tsmiPolygon.Size = new System.Drawing.Size(186, 22); - this.tsmiPolygon.Text = "Polygon"; - this.tsmiPolygon.Click += new System.EventHandler(this.tsmiPolygon_Click); - // - // tsmiFreeHand - // - this.tsmiFreeHand.Image = global::ShareX.Properties.Resources.layer_shape_curve; - this.tsmiFreeHand.Name = "tsmiFreeHand"; - this.tsmiFreeHand.Size = new System.Drawing.Size(186, 22); - this.tsmiFreeHand.Text = "Freehand"; - this.tsmiFreeHand.Click += new System.EventHandler(this.tsmiFreeHand_Click); - // - // tsmiLastRegion - // - this.tsmiLastRegion.Image = global::ShareX.Properties.Resources.layers_arrange; - this.tsmiLastRegion.Name = "tsmiLastRegion"; - this.tsmiLastRegion.Size = new System.Drawing.Size(186, 22); - this.tsmiLastRegion.Text = "Last region"; - this.tsmiLastRegion.Click += new System.EventHandler(this.tsmiLastRegion_Click); - // - // tsmiScreenRecorder - // - this.tsmiScreenRecorder.Image = global::ShareX.Properties.Resources.camcorder_image; - this.tsmiScreenRecorder.Name = "tsmiScreenRecorder"; - this.tsmiScreenRecorder.Size = new System.Drawing.Size(186, 22); - this.tsmiScreenRecorder.Text = "Screen recording..."; - this.tsmiScreenRecorder.Click += new System.EventHandler(this.tsmiScreenRecorder_Click); - // - // tsmiAutoCapture - // - this.tsmiAutoCapture.Image = global::ShareX.Properties.Resources.clock; - this.tsmiAutoCapture.Name = "tsmiAutoCapture"; - this.tsmiAutoCapture.Size = new System.Drawing.Size(186, 22); - this.tsmiAutoCapture.Text = "Auto capture..."; - this.tsmiAutoCapture.Click += new System.EventHandler(this.tsmiAutoCapture_Click); - // - // tsddbUpload - // - this.tsddbUpload.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.tsmiUploadFile, - this.tsmiUploadClipboard, - this.tsmiUploadURL, - this.tsmiUploadDragDrop}); - this.tsddbUpload.Image = global::ShareX.Properties.Resources.arrow_090; - this.tsddbUpload.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tsddbUpload.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsddbUpload.Name = "tsddbUpload"; - this.tsddbUpload.Size = new System.Drawing.Size(157, 20); - this.tsddbUpload.Text = "Upload"; - // - // tsmiUploadFile - // - this.tsmiUploadFile.Image = global::ShareX.Properties.Resources.folder; - this.tsmiUploadFile.Name = "tsmiUploadFile"; - this.tsmiUploadFile.Size = new System.Drawing.Size(203, 22); - this.tsmiUploadFile.Text = "Upload file..."; - this.tsmiUploadFile.Click += new System.EventHandler(this.tsbFileUpload_Click); - // - // tsmiUploadClipboard - // - this.tsmiUploadClipboard.Image = global::ShareX.Properties.Resources.clipboard; - this.tsmiUploadClipboard.Name = "tsmiUploadClipboard"; - this.tsmiUploadClipboard.Size = new System.Drawing.Size(203, 22); - this.tsmiUploadClipboard.Text = "Upload from clipboard..."; - this.tsmiUploadClipboard.Click += new System.EventHandler(this.tsbClipboardUpload_Click); - // - // tsmiUploadURL - // - this.tsmiUploadURL.Image = global::ShareX.Properties.Resources.drive; - this.tsmiUploadURL.Name = "tsmiUploadURL"; - this.tsmiUploadURL.Size = new System.Drawing.Size(203, 22); - this.tsmiUploadURL.Text = "Upload from URL..."; - this.tsmiUploadURL.Click += new System.EventHandler(this.tsmiUploadURL_Click); - // - // tsmiUploadDragDrop - // - this.tsmiUploadDragDrop.Image = global::ShareX.Properties.Resources.inbox; - this.tsmiUploadDragDrop.Name = "tsmiUploadDragDrop"; - this.tsmiUploadDragDrop.Size = new System.Drawing.Size(203, 22); - this.tsmiUploadDragDrop.Text = "Drag and drop upload..."; - this.tsmiUploadDragDrop.Click += new System.EventHandler(this.tsbDragDropUpload_Click); - // - // tsddbWorkflows - // - this.tsddbWorkflows.Image = global::ShareX.Properties.Resources.categories; - this.tsddbWorkflows.ImageAlign = System.Drawing.ContentAlignment.BottomLeft; - this.tsddbWorkflows.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsddbWorkflows.Name = "tsddbWorkflows"; - this.tsddbWorkflows.Size = new System.Drawing.Size(157, 20); - this.tsddbWorkflows.Text = "Workflows"; - // - // tsddbTools - // - this.tsddbTools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.tsmiScreenColorPicker, - this.tsmiRuler, - this.tsmiFTPClient, - this.tsmiHashCheck, - this.tsmiIndexFolder, - this.tsmiImageEditor, - this.tsmiImageEffects, - this.tsmiMonitorTest, - this.tsmiDNSChanger, - this.tsmiQRCode, - this.tsmiTweetMessage}); - this.tsddbTools.Image = global::ShareX.Properties.Resources.toolbox; - this.tsddbTools.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tsddbTools.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsddbTools.Name = "tsddbTools"; - this.tsddbTools.Size = new System.Drawing.Size(157, 20); - this.tsddbTools.Text = "Tools"; - // - // tsmiScreenColorPicker - // - this.tsmiScreenColorPicker.Image = global::ShareX.Properties.Resources.color; - this.tsmiScreenColorPicker.Name = "tsmiScreenColorPicker"; - this.tsmiScreenColorPicker.Size = new System.Drawing.Size(183, 22); - this.tsmiScreenColorPicker.Text = "Screen color picker..."; - this.tsmiScreenColorPicker.Click += new System.EventHandler(this.tsmiCursorHelper_Click); - // - // tsmiRuler - // - this.tsmiRuler.Image = global::ShareX.Properties.Resources.ruler_triangle; - this.tsmiRuler.Name = "tsmiRuler"; - this.tsmiRuler.Size = new System.Drawing.Size(183, 22); - this.tsmiRuler.Text = "Ruler..."; - this.tsmiRuler.Click += new System.EventHandler(this.tsmiRuler_Click); - // - // tsmiFTPClient - // - this.tsmiFTPClient.Image = global::ShareX.Properties.Resources.application_network; - this.tsmiFTPClient.Name = "tsmiFTPClient"; - this.tsmiFTPClient.Size = new System.Drawing.Size(183, 22); - this.tsmiFTPClient.Text = "FTP client..."; - this.tsmiFTPClient.Click += new System.EventHandler(this.tsmiFTPClient_Click); - // - // tsmiHashCheck - // - this.tsmiHashCheck.Image = global::ShareX.Properties.Resources.application_task; - this.tsmiHashCheck.Name = "tsmiHashCheck"; - this.tsmiHashCheck.Size = new System.Drawing.Size(183, 22); - this.tsmiHashCheck.Text = "Hash check..."; - this.tsmiHashCheck.Click += new System.EventHandler(this.tsmiHashCheck_Click); - // - // tsmiIndexFolder - // - this.tsmiIndexFolder.Image = global::ShareX.Properties.Resources.folder_tree; - this.tsmiIndexFolder.Name = "tsmiIndexFolder"; - this.tsmiIndexFolder.Size = new System.Drawing.Size(183, 22); - this.tsmiIndexFolder.Text = "Index folder..."; - this.tsmiIndexFolder.Click += new System.EventHandler(this.tsmiIndexFolder_Click); - // - // tsmiImageEditor - // - this.tsmiImageEditor.Image = global::ShareX.Properties.Resources.Greenshot; - this.tsmiImageEditor.Name = "tsmiImageEditor"; - this.tsmiImageEditor.Size = new System.Drawing.Size(183, 22); - this.tsmiImageEditor.Text = "Image editor..."; - this.tsmiImageEditor.Click += new System.EventHandler(this.tsmiImageEditor_Click); - // - // tsmiImageEffects - // - this.tsmiImageEffects.Image = global::ShareX.Properties.Resources.image_saturation; - this.tsmiImageEffects.Name = "tsmiImageEffects"; - this.tsmiImageEffects.Size = new System.Drawing.Size(183, 22); - this.tsmiImageEffects.Text = "Image effects..."; - this.tsmiImageEffects.Click += new System.EventHandler(this.tsmiImageEffects_Click); - // - // tsmiMonitorTest - // - this.tsmiMonitorTest.Image = global::ShareX.Properties.Resources.monitor; - this.tsmiMonitorTest.Name = "tsmiMonitorTest"; - this.tsmiMonitorTest.Size = new System.Drawing.Size(183, 22); - this.tsmiMonitorTest.Text = "Monitor test..."; - this.tsmiMonitorTest.Click += new System.EventHandler(this.tsmiMonitorTest_Click); - // - // tsmiDNSChanger - // - this.tsmiDNSChanger.Image = global::ShareX.Properties.Resources.network_ip; - this.tsmiDNSChanger.Name = "tsmiDNSChanger"; - this.tsmiDNSChanger.Size = new System.Drawing.Size(183, 22); - this.tsmiDNSChanger.Text = "DNS changer..."; - this.tsmiDNSChanger.Click += new System.EventHandler(this.tsmiDNSChanger_Click); - // - // tsmiQRCode - // - this.tsmiQRCode.Image = global::ShareX.Properties.Resources.barcode_2d; - this.tsmiQRCode.Name = "tsmiQRCode"; - this.tsmiQRCode.Size = new System.Drawing.Size(183, 22); - this.tsmiQRCode.Text = "QR code..."; - this.tsmiQRCode.Click += new System.EventHandler(this.tsmiQRCode_Click); - // - // tsmiTweetMessage - // - this.tsmiTweetMessage.Image = global::ShareX.Properties.Resources.Twitter; - this.tsmiTweetMessage.Name = "tsmiTweetMessage"; - this.tsmiTweetMessage.Size = new System.Drawing.Size(183, 22); - this.tsmiTweetMessage.Text = "Tweet message..."; - this.tsmiTweetMessage.Click += new System.EventHandler(this.tsmiTweetMessage_Click); - // // tssMain1 // this.tssMain1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); this.tssMain1.Name = "tssMain1"; this.tssMain1.Size = new System.Drawing.Size(157, 6); // - // tsddbAfterCaptureTasks - // - this.tsddbAfterCaptureTasks.Image = global::ShareX.Properties.Resources.image_export; - this.tsddbAfterCaptureTasks.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tsddbAfterCaptureTasks.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsddbAfterCaptureTasks.Name = "tsddbAfterCaptureTasks"; - this.tsddbAfterCaptureTasks.Size = new System.Drawing.Size(157, 20); - this.tsddbAfterCaptureTasks.Text = "After capture"; - // - // tsddbAfterUploadTasks - // - this.tsddbAfterUploadTasks.Image = global::ShareX.Properties.Resources.upload_cloud; - this.tsddbAfterUploadTasks.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tsddbAfterUploadTasks.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsddbAfterUploadTasks.Name = "tsddbAfterUploadTasks"; - this.tsddbAfterUploadTasks.Size = new System.Drawing.Size(157, 20); - this.tsddbAfterUploadTasks.Text = "After upload"; - // - // tsddbDestinations - // - this.tsddbDestinations.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.tsmiImageUploaders, - this.tsmiTextUploaders, - this.tsmiFileUploaders, - this.tsmiURLShorteners, - this.tsmiURLSharingServices, - this.tssDestinations1, - this.tsmiDestinationSettings}); - this.tsddbDestinations.Image = global::ShareX.Properties.Resources.drive_globe; - this.tsddbDestinations.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tsddbDestinations.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsddbDestinations.Name = "tsddbDestinations"; - this.tsddbDestinations.Size = new System.Drawing.Size(157, 20); - this.tsddbDestinations.Text = "Destinations"; - this.tsddbDestinations.DropDownOpened += new System.EventHandler(this.tsddbDestinations_DropDownOpened); - // - // tsmiImageUploaders - // - this.tsmiImageUploaders.Image = global::ShareX.Properties.Resources.image; - this.tsmiImageUploaders.Name = "tsmiImageUploaders"; - this.tsmiImageUploaders.Size = new System.Drawing.Size(187, 22); - this.tsmiImageUploaders.Text = "Image uploaders"; - // - // tsmiTextUploaders - // - this.tsmiTextUploaders.Image = global::ShareX.Properties.Resources.notebook; - this.tsmiTextUploaders.Name = "tsmiTextUploaders"; - this.tsmiTextUploaders.Size = new System.Drawing.Size(187, 22); - this.tsmiTextUploaders.Text = "Text uploaders"; - // - // tsmiFileUploaders - // - this.tsmiFileUploaders.Image = global::ShareX.Properties.Resources.application_block; - this.tsmiFileUploaders.Name = "tsmiFileUploaders"; - this.tsmiFileUploaders.Size = new System.Drawing.Size(187, 22); - this.tsmiFileUploaders.Text = "File uploaders"; - // - // tsmiURLShorteners - // - this.tsmiURLShorteners.Image = global::ShareX.Properties.Resources.edit_scale; - this.tsmiURLShorteners.Name = "tsmiURLShorteners"; - this.tsmiURLShorteners.Size = new System.Drawing.Size(187, 22); - this.tsmiURLShorteners.Text = "URL shorteners"; - // - // tsmiURLSharingServices - // - this.tsmiURLSharingServices.Image = global::ShareX.Properties.Resources.share; - this.tsmiURLSharingServices.Name = "tsmiURLSharingServices"; - this.tsmiURLSharingServices.Size = new System.Drawing.Size(187, 22); - this.tsmiURLSharingServices.Text = "Share URL via"; - // - // tssDestinations1 - // - this.tssDestinations1.Name = "tssDestinations1"; - this.tssDestinations1.Size = new System.Drawing.Size(184, 6); - // - // tsmiDestinationSettings - // - this.tsmiDestinationSettings.Image = global::ShareX.Properties.Resources.globe_pencil; - this.tsmiDestinationSettings.Name = "tsmiDestinationSettings"; - this.tsmiDestinationSettings.Size = new System.Drawing.Size(187, 22); - this.tsmiDestinationSettings.Text = "Destination settings..."; - this.tsmiDestinationSettings.Click += new System.EventHandler(this.tsbDestinationSettings_Click); - // - // tsbApplicationSettings - // - this.tsbApplicationSettings.Image = global::ShareX.Properties.Resources.wrench_screwdriver; - this.tsbApplicationSettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tsbApplicationSettings.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsbApplicationSettings.Name = "tsbApplicationSettings"; - this.tsbApplicationSettings.Size = new System.Drawing.Size(157, 20); - this.tsbApplicationSettings.Text = "Application settings..."; - this.tsbApplicationSettings.Click += new System.EventHandler(this.tsbApplicationSettings_Click); - // - // tsbTaskSettings - // - this.tsbTaskSettings.Image = global::ShareX.Properties.Resources.gear; - this.tsbTaskSettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tsbTaskSettings.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsbTaskSettings.Name = "tsbTaskSettings"; - this.tsbTaskSettings.Size = new System.Drawing.Size(157, 20); - this.tsbTaskSettings.Text = "Task settings..."; - this.tsbTaskSettings.Click += new System.EventHandler(this.tsbTaskSettings_Click); - // - // tsbHotkeySettings - // - this.tsbHotkeySettings.Image = global::ShareX.Properties.Resources.keyboard; - this.tsbHotkeySettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tsbHotkeySettings.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsbHotkeySettings.Name = "tsbHotkeySettings"; - this.tsbHotkeySettings.Size = new System.Drawing.Size(157, 20); - this.tsbHotkeySettings.Text = "Hotkey settings..."; - this.tsbHotkeySettings.Click += new System.EventHandler(this.tsbHotkeySettings_Click); - // // tssMain2 // this.tssMain2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); this.tssMain2.Name = "tssMain2"; this.tssMain2.Size = new System.Drawing.Size(157, 6); // - // tsbScreenshotsFolder - // - this.tsbScreenshotsFolder.Image = global::ShareX.Properties.Resources.folder_open_image; - this.tsbScreenshotsFolder.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tsbScreenshotsFolder.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsbScreenshotsFolder.Name = "tsbScreenshotsFolder"; - this.tsbScreenshotsFolder.Size = new System.Drawing.Size(157, 20); - this.tsbScreenshotsFolder.Text = "Screenshots folder..."; - this.tsbScreenshotsFolder.Click += new System.EventHandler(this.tsbScreenshotsFolder_Click); - // - // tsbHistory - // - this.tsbHistory.Image = global::ShareX.Properties.Resources.application_blog; - this.tsbHistory.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tsbHistory.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsbHistory.Name = "tsbHistory"; - this.tsbHistory.Size = new System.Drawing.Size(157, 20); - this.tsbHistory.Text = "History..."; - this.tsbHistory.Click += new System.EventHandler(this.tsbHistory_Click); - // - // tsbImageHistory - // - this.tsbImageHistory.Image = global::ShareX.Properties.Resources.application_icon_large; - this.tsbImageHistory.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tsbImageHistory.ImageTransparentColor = System.Drawing.Color.Magenta; - this.tsbImageHistory.Name = "tsbImageHistory"; - this.tsbImageHistory.Size = new System.Drawing.Size(157, 20); - this.tsbImageHistory.Text = "Image history..."; - this.tsbImageHistory.Click += new System.EventHandler(this.tsbImageHistory_Click); - // - // tsddbDebug - // - this.tsddbDebug.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.tsmiShowDebugLog, - this.tsmiTestImageUpload, - this.tsmiTestTextUpload, - this.tsmiTestFileUpload, - this.tsmiTestURLShortener, - this.tsmiTestUploaders}); - this.tsddbDebug.Image = global::ShareX.Properties.Resources.traffic_cone; - 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(157, 20); - this.tsddbDebug.Text = "Debug"; - // - // tsmiShowDebugLog - // - this.tsmiShowDebugLog.Image = global::ShareX.Properties.Resources.application_monitor; - this.tsmiShowDebugLog.Name = "tsmiShowDebugLog"; - this.tsmiShowDebugLog.Size = new System.Drawing.Size(173, 22); - this.tsmiShowDebugLog.Text = "Debug log..."; - this.tsmiShowDebugLog.Click += new System.EventHandler(this.tsmiShowDebugLog_Click); - // - // tsmiTestImageUpload - // - this.tsmiTestImageUpload.Image = global::ShareX.Properties.Resources.image; - this.tsmiTestImageUpload.Name = "tsmiTestImageUpload"; - this.tsmiTestImageUpload.Size = new System.Drawing.Size(173, 22); - this.tsmiTestImageUpload.Text = "Test image upload"; - this.tsmiTestImageUpload.Click += new System.EventHandler(this.tsmiTestImageUpload_Click); - // - // tsmiTestTextUpload - // - this.tsmiTestTextUpload.Image = global::ShareX.Properties.Resources.notebook; - this.tsmiTestTextUpload.Name = "tsmiTestTextUpload"; - this.tsmiTestTextUpload.Size = new System.Drawing.Size(173, 22); - this.tsmiTestTextUpload.Text = "Test text upload"; - this.tsmiTestTextUpload.Click += new System.EventHandler(this.tsmiTestTextUpload_Click); - // - // tsmiTestFileUpload - // - this.tsmiTestFileUpload.Image = global::ShareX.Properties.Resources.application_block; - this.tsmiTestFileUpload.Name = "tsmiTestFileUpload"; - this.tsmiTestFileUpload.Size = new System.Drawing.Size(173, 22); - this.tsmiTestFileUpload.Text = "Test file upload"; - this.tsmiTestFileUpload.Click += new System.EventHandler(this.tsmiTestFileUpload_Click); - // - // tsmiTestURLShortener - // - this.tsmiTestURLShortener.Image = global::ShareX.Properties.Resources.edit_scale; - this.tsmiTestURLShortener.Name = "tsmiTestURLShortener"; - this.tsmiTestURLShortener.Size = new System.Drawing.Size(173, 22); - this.tsmiTestURLShortener.Text = "Test URL shortener"; - this.tsmiTestURLShortener.Click += new System.EventHandler(this.tsmiTestURLShortener_Click); - // - // tsmiTestUploaders - // - this.tsmiTestUploaders.Image = global::ShareX.Properties.Resources.application_browser; - this.tsmiTestUploaders.Name = "tsmiTestUploaders"; - this.tsmiTestUploaders.Size = new System.Drawing.Size(173, 22); - this.tsmiTestUploaders.Text = "Test uploaders..."; - this.tsmiTestUploaders.Click += new System.EventHandler(this.tsmiTestUploaders_Click); - // - // tsmiDonate - // - this.tsmiDonate.Image = global::ShareX.Properties.Resources.heart; - 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(157, 20); - this.tsmiDonate.Text = "Donate..."; - this.tsmiDonate.Click += new System.EventHandler(this.tsbDonate_Click); - // - // tsmiAbout - // - this.tsmiAbout.Image = global::ShareX.Properties.Resources.crown; - 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(157, 20); - this.tsmiAbout.Text = "About..."; - this.tsmiAbout.Click += new System.EventHandler(this.tsbAbout_Click); - // // scMain // this.scMain.Dock = System.Windows.Forms.DockStyle.Fill; @@ -1351,6 +806,572 @@ private void InitializeComponent() this.cmsTray.Name = "cmsTray"; this.cmsTray.Size = new System.Drawing.Size(189, 396); // + // tssTray1 + // + this.tssTray1.Name = "tssTray1"; + this.tssTray1.Size = new System.Drawing.Size(185, 6); + // + // tssTray2 + // + this.tssTray2.Name = "tssTray2"; + this.tssTray2.Size = new System.Drawing.Size(185, 6); + // + // tssTray3 + // + this.tssTray3.Name = "tssTray3"; + this.tssTray3.Size = new System.Drawing.Size(185, 6); + // + // ssToolStripMenuItem + // + this.ssToolStripMenuItem.Name = "ssToolStripMenuItem"; + this.ssToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.ssToolStripMenuItem.Text = "ss"; + // + // tsddbCapture + // + this.tsddbCapture.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiFullscreen, + this.tsmiWindow, + this.tsmiMonitor, + this.tsmiRectangle, + this.tsmiWindowRectangle, + this.tsmiRectangleAnnotate, + this.tsmiRectangleLight, + this.tsmiRoundedRectangle, + this.tsmiEllipse, + this.tsmiTriangle, + this.tsmiDiamond, + this.tsmiPolygon, + this.tsmiFreeHand, + this.tsmiLastRegion, + this.tsmiScreenRecorder, + this.tsmiAutoCapture}); + this.tsddbCapture.Image = global::ShareX.Properties.Resources.camera; + this.tsddbCapture.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tsddbCapture.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsddbCapture.Name = "tsddbCapture"; + this.tsddbCapture.Size = new System.Drawing.Size(157, 20); + this.tsddbCapture.Text = "Capture"; + this.tsddbCapture.DropDownOpening += new System.EventHandler(this.tsddbCapture_DropDownOpening); + // + // tsmiFullscreen + // + this.tsmiFullscreen.Image = global::ShareX.Properties.Resources.layer; + this.tsmiFullscreen.Name = "tsmiFullscreen"; + this.tsmiFullscreen.Size = new System.Drawing.Size(186, 22); + this.tsmiFullscreen.Text = "Fullscreen"; + this.tsmiFullscreen.Click += new System.EventHandler(this.tsmiFullscreen_Click); + // + // tsmiWindow + // + this.tsmiWindow.Image = global::ShareX.Properties.Resources.application_blue; + this.tsmiWindow.Name = "tsmiWindow"; + this.tsmiWindow.Size = new System.Drawing.Size(186, 22); + this.tsmiWindow.Text = "Window"; + // + // tsmiMonitor + // + this.tsmiMonitor.Image = global::ShareX.Properties.Resources.monitor; + this.tsmiMonitor.Name = "tsmiMonitor"; + this.tsmiMonitor.Size = new System.Drawing.Size(186, 22); + this.tsmiMonitor.Text = "Monitor"; + // + // tsmiRectangle + // + this.tsmiRectangle.Image = global::ShareX.Properties.Resources.layer_shape; + this.tsmiRectangle.Name = "tsmiRectangle"; + this.tsmiRectangle.Size = new System.Drawing.Size(186, 22); + this.tsmiRectangle.Text = "Rectangle"; + this.tsmiRectangle.Click += new System.EventHandler(this.tsmiRectangle_Click); + // + // tsmiWindowRectangle + // + this.tsmiWindowRectangle.Image = global::ShareX.Properties.Resources.layers_ungroup; + this.tsmiWindowRectangle.Name = "tsmiWindowRectangle"; + this.tsmiWindowRectangle.Size = new System.Drawing.Size(186, 22); + this.tsmiWindowRectangle.Text = "Rectangle (Objects)"; + this.tsmiWindowRectangle.Click += new System.EventHandler(this.tsmiWindowRectangle_Click); + // + // tsmiRectangleAnnotate + // + this.tsmiRectangleAnnotate.Image = global::ShareX.Properties.Resources.layer_pencil; + this.tsmiRectangleAnnotate.Name = "tsmiRectangleAnnotate"; + this.tsmiRectangleAnnotate.Size = new System.Drawing.Size(186, 22); + this.tsmiRectangleAnnotate.Text = "Rectangle (Annotate)"; + this.tsmiRectangleAnnotate.Click += new System.EventHandler(this.tsmiRectangleAnnotate_Click); + // + // tsmiRectangleLight + // + this.tsmiRectangleLight.Image = global::ShareX.Properties.Resources.Rectangle; + this.tsmiRectangleLight.Name = "tsmiRectangleLight"; + this.tsmiRectangleLight.Size = new System.Drawing.Size(186, 22); + this.tsmiRectangleLight.Text = "Rectangle (Light)"; + this.tsmiRectangleLight.Click += new System.EventHandler(this.tsmiRectangleLight_Click); + // + // tsmiRoundedRectangle + // + this.tsmiRoundedRectangle.Image = global::ShareX.Properties.Resources.layer_shape_round; + this.tsmiRoundedRectangle.Name = "tsmiRoundedRectangle"; + this.tsmiRoundedRectangle.Size = new System.Drawing.Size(186, 22); + this.tsmiRoundedRectangle.Text = "Rounded rectangle"; + this.tsmiRoundedRectangle.Click += new System.EventHandler(this.tsmiRoundedRectangle_Click); + // + // tsmiEllipse + // + this.tsmiEllipse.Image = global::ShareX.Properties.Resources.layer_shape_ellipse; + this.tsmiEllipse.Name = "tsmiEllipse"; + this.tsmiEllipse.Size = new System.Drawing.Size(186, 22); + this.tsmiEllipse.Text = "Ellipse"; + this.tsmiEllipse.Click += new System.EventHandler(this.tsmiEllipse_Click); + // + // tsmiTriangle + // + this.tsmiTriangle.Image = global::ShareX.Properties.Resources.Triangle; + this.tsmiTriangle.Name = "tsmiTriangle"; + this.tsmiTriangle.Size = new System.Drawing.Size(186, 22); + this.tsmiTriangle.Text = "Triangle"; + this.tsmiTriangle.Click += new System.EventHandler(this.tsmiTriangle_Click); + // + // tsmiDiamond + // + this.tsmiDiamond.Image = global::ShareX.Properties.Resources.Diamond; + this.tsmiDiamond.Name = "tsmiDiamond"; + this.tsmiDiamond.Size = new System.Drawing.Size(186, 22); + this.tsmiDiamond.Text = "Diamond"; + this.tsmiDiamond.Click += new System.EventHandler(this.tsmiDiamond_Click); + // + // tsmiPolygon + // + this.tsmiPolygon.Image = global::ShareX.Properties.Resources.layer_shape_polygon; + this.tsmiPolygon.Name = "tsmiPolygon"; + this.tsmiPolygon.Size = new System.Drawing.Size(186, 22); + this.tsmiPolygon.Text = "Polygon"; + this.tsmiPolygon.Click += new System.EventHandler(this.tsmiPolygon_Click); + // + // tsmiFreeHand + // + this.tsmiFreeHand.Image = global::ShareX.Properties.Resources.layer_shape_curve; + this.tsmiFreeHand.Name = "tsmiFreeHand"; + this.tsmiFreeHand.Size = new System.Drawing.Size(186, 22); + this.tsmiFreeHand.Text = "Freehand"; + this.tsmiFreeHand.Click += new System.EventHandler(this.tsmiFreeHand_Click); + // + // tsmiLastRegion + // + this.tsmiLastRegion.Image = global::ShareX.Properties.Resources.layers_arrange; + this.tsmiLastRegion.Name = "tsmiLastRegion"; + this.tsmiLastRegion.Size = new System.Drawing.Size(186, 22); + this.tsmiLastRegion.Text = "Last region"; + this.tsmiLastRegion.Click += new System.EventHandler(this.tsmiLastRegion_Click); + // + // tsmiScreenRecorder + // + this.tsmiScreenRecorder.Image = global::ShareX.Properties.Resources.camcorder_image; + this.tsmiScreenRecorder.Name = "tsmiScreenRecorder"; + this.tsmiScreenRecorder.Size = new System.Drawing.Size(186, 22); + this.tsmiScreenRecorder.Text = "Screen recording..."; + this.tsmiScreenRecorder.Click += new System.EventHandler(this.tsmiScreenRecorder_Click); + // + // tsmiAutoCapture + // + this.tsmiAutoCapture.Image = global::ShareX.Properties.Resources.clock; + this.tsmiAutoCapture.Name = "tsmiAutoCapture"; + this.tsmiAutoCapture.Size = new System.Drawing.Size(186, 22); + this.tsmiAutoCapture.Text = "Auto capture..."; + this.tsmiAutoCapture.Click += new System.EventHandler(this.tsmiAutoCapture_Click); + // + // tsddbUpload + // + this.tsddbUpload.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiUploadFile, + this.tsmiUploadClipboard, + this.tsmiUploadURL, + this.tsmiUploadDragDrop}); + this.tsddbUpload.Image = global::ShareX.Properties.Resources.arrow_090; + this.tsddbUpload.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tsddbUpload.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsddbUpload.Name = "tsddbUpload"; + this.tsddbUpload.Size = new System.Drawing.Size(157, 20); + this.tsddbUpload.Text = "Upload"; + // + // tsmiUploadFile + // + this.tsmiUploadFile.Image = global::ShareX.Properties.Resources.folder; + this.tsmiUploadFile.Name = "tsmiUploadFile"; + this.tsmiUploadFile.Size = new System.Drawing.Size(203, 22); + this.tsmiUploadFile.Text = "Upload file..."; + this.tsmiUploadFile.Click += new System.EventHandler(this.tsbFileUpload_Click); + // + // tsmiUploadClipboard + // + this.tsmiUploadClipboard.Image = global::ShareX.Properties.Resources.clipboard; + this.tsmiUploadClipboard.Name = "tsmiUploadClipboard"; + this.tsmiUploadClipboard.Size = new System.Drawing.Size(203, 22); + this.tsmiUploadClipboard.Text = "Upload from clipboard..."; + this.tsmiUploadClipboard.Click += new System.EventHandler(this.tsbClipboardUpload_Click); + // + // tsmiUploadURL + // + this.tsmiUploadURL.Image = global::ShareX.Properties.Resources.drive; + this.tsmiUploadURL.Name = "tsmiUploadURL"; + this.tsmiUploadURL.Size = new System.Drawing.Size(203, 22); + this.tsmiUploadURL.Text = "Upload from URL..."; + this.tsmiUploadURL.Click += new System.EventHandler(this.tsmiUploadURL_Click); + // + // tsmiUploadDragDrop + // + this.tsmiUploadDragDrop.Image = global::ShareX.Properties.Resources.inbox; + this.tsmiUploadDragDrop.Name = "tsmiUploadDragDrop"; + this.tsmiUploadDragDrop.Size = new System.Drawing.Size(203, 22); + this.tsmiUploadDragDrop.Text = "Drag and drop upload..."; + this.tsmiUploadDragDrop.Click += new System.EventHandler(this.tsbDragDropUpload_Click); + // + // tsddbWorkflows + // + this.tsddbWorkflows.Image = global::ShareX.Properties.Resources.categories; + this.tsddbWorkflows.ImageAlign = System.Drawing.ContentAlignment.BottomLeft; + this.tsddbWorkflows.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsddbWorkflows.Name = "tsddbWorkflows"; + this.tsddbWorkflows.Size = new System.Drawing.Size(157, 20); + this.tsddbWorkflows.Text = "Workflows"; + // + // tsddbTools + // + this.tsddbTools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiScreenColorPicker, + this.tsmiRuler, + this.tsmiFTPClient, + this.tsmiHashCheck, + this.tsmiIndexFolder, + this.tsmiImageEditor, + this.tsmiImageEffects, + this.tsmiMonitorTest, + this.tsmiDNSChanger, + this.tsmiQRCode, + this.tsmiTweetMessage}); + this.tsddbTools.Image = global::ShareX.Properties.Resources.toolbox; + this.tsddbTools.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tsddbTools.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsddbTools.Name = "tsddbTools"; + this.tsddbTools.Size = new System.Drawing.Size(157, 20); + this.tsddbTools.Text = "Tools"; + // + // tsmiScreenColorPicker + // + this.tsmiScreenColorPicker.Image = global::ShareX.Properties.Resources.color; + this.tsmiScreenColorPicker.Name = "tsmiScreenColorPicker"; + this.tsmiScreenColorPicker.Size = new System.Drawing.Size(183, 22); + this.tsmiScreenColorPicker.Text = "Screen color picker..."; + this.tsmiScreenColorPicker.Click += new System.EventHandler(this.tsmiCursorHelper_Click); + // + // tsmiRuler + // + this.tsmiRuler.Image = global::ShareX.Properties.Resources.ruler_triangle; + this.tsmiRuler.Name = "tsmiRuler"; + this.tsmiRuler.Size = new System.Drawing.Size(183, 22); + this.tsmiRuler.Text = "Ruler..."; + this.tsmiRuler.Click += new System.EventHandler(this.tsmiRuler_Click); + // + // tsmiFTPClient + // + this.tsmiFTPClient.Image = global::ShareX.Properties.Resources.application_network; + this.tsmiFTPClient.Name = "tsmiFTPClient"; + this.tsmiFTPClient.Size = new System.Drawing.Size(183, 22); + this.tsmiFTPClient.Text = "FTP client..."; + this.tsmiFTPClient.Click += new System.EventHandler(this.tsmiFTPClient_Click); + // + // tsmiHashCheck + // + this.tsmiHashCheck.Image = global::ShareX.Properties.Resources.application_task; + this.tsmiHashCheck.Name = "tsmiHashCheck"; + this.tsmiHashCheck.Size = new System.Drawing.Size(183, 22); + this.tsmiHashCheck.Text = "Hash check..."; + this.tsmiHashCheck.Click += new System.EventHandler(this.tsmiHashCheck_Click); + // + // tsmiIndexFolder + // + this.tsmiIndexFolder.Image = global::ShareX.Properties.Resources.folder_tree; + this.tsmiIndexFolder.Name = "tsmiIndexFolder"; + this.tsmiIndexFolder.Size = new System.Drawing.Size(183, 22); + this.tsmiIndexFolder.Text = "Index folder..."; + this.tsmiIndexFolder.Click += new System.EventHandler(this.tsmiIndexFolder_Click); + // + // tsmiImageEditor + // + this.tsmiImageEditor.Image = global::ShareX.Properties.Resources.Greenshot; + this.tsmiImageEditor.Name = "tsmiImageEditor"; + this.tsmiImageEditor.Size = new System.Drawing.Size(183, 22); + this.tsmiImageEditor.Text = "Image editor..."; + this.tsmiImageEditor.Click += new System.EventHandler(this.tsmiImageEditor_Click); + // + // tsmiImageEffects + // + this.tsmiImageEffects.Image = global::ShareX.Properties.Resources.image_saturation; + this.tsmiImageEffects.Name = "tsmiImageEffects"; + this.tsmiImageEffects.Size = new System.Drawing.Size(183, 22); + this.tsmiImageEffects.Text = "Image effects..."; + this.tsmiImageEffects.Click += new System.EventHandler(this.tsmiImageEffects_Click); + // + // tsmiMonitorTest + // + this.tsmiMonitorTest.Image = global::ShareX.Properties.Resources.monitor; + this.tsmiMonitorTest.Name = "tsmiMonitorTest"; + this.tsmiMonitorTest.Size = new System.Drawing.Size(183, 22); + this.tsmiMonitorTest.Text = "Monitor test..."; + this.tsmiMonitorTest.Click += new System.EventHandler(this.tsmiMonitorTest_Click); + // + // tsmiDNSChanger + // + this.tsmiDNSChanger.Image = global::ShareX.Properties.Resources.network_ip; + this.tsmiDNSChanger.Name = "tsmiDNSChanger"; + this.tsmiDNSChanger.Size = new System.Drawing.Size(183, 22); + this.tsmiDNSChanger.Text = "DNS changer..."; + this.tsmiDNSChanger.Click += new System.EventHandler(this.tsmiDNSChanger_Click); + // + // tsmiQRCode + // + this.tsmiQRCode.Image = global::ShareX.Properties.Resources.barcode_2d; + this.tsmiQRCode.Name = "tsmiQRCode"; + this.tsmiQRCode.Size = new System.Drawing.Size(183, 22); + this.tsmiQRCode.Text = "QR code..."; + this.tsmiQRCode.Click += new System.EventHandler(this.tsmiQRCode_Click); + // + // tsmiTweetMessage + // + this.tsmiTweetMessage.Image = global::ShareX.Properties.Resources.Twitter; + this.tsmiTweetMessage.Name = "tsmiTweetMessage"; + this.tsmiTweetMessage.Size = new System.Drawing.Size(183, 22); + this.tsmiTweetMessage.Text = "Tweet message..."; + this.tsmiTweetMessage.Click += new System.EventHandler(this.tsmiTweetMessage_Click); + // + // tsddbAfterCaptureTasks + // + this.tsddbAfterCaptureTasks.Image = global::ShareX.Properties.Resources.image_export; + this.tsddbAfterCaptureTasks.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tsddbAfterCaptureTasks.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsddbAfterCaptureTasks.Name = "tsddbAfterCaptureTasks"; + this.tsddbAfterCaptureTasks.Size = new System.Drawing.Size(157, 20); + this.tsddbAfterCaptureTasks.Text = "After capture"; + // + // tsddbAfterUploadTasks + // + this.tsddbAfterUploadTasks.Image = global::ShareX.Properties.Resources.upload_cloud; + this.tsddbAfterUploadTasks.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tsddbAfterUploadTasks.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsddbAfterUploadTasks.Name = "tsddbAfterUploadTasks"; + this.tsddbAfterUploadTasks.Size = new System.Drawing.Size(157, 20); + this.tsddbAfterUploadTasks.Text = "After upload"; + // + // tsddbDestinations + // + this.tsddbDestinations.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiImageUploaders, + this.tsmiTextUploaders, + this.tsmiFileUploaders, + this.tsmiURLShorteners, + this.tsmiURLSharingServices, + this.tssDestinations1, + this.tsmiDestinationSettings}); + this.tsddbDestinations.Image = global::ShareX.Properties.Resources.drive_globe; + this.tsddbDestinations.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tsddbDestinations.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsddbDestinations.Name = "tsddbDestinations"; + this.tsddbDestinations.Size = new System.Drawing.Size(157, 20); + this.tsddbDestinations.Text = "Destinations"; + this.tsddbDestinations.DropDownOpened += new System.EventHandler(this.tsddbDestinations_DropDownOpened); + // + // tsmiImageUploaders + // + this.tsmiImageUploaders.Image = global::ShareX.Properties.Resources.image; + this.tsmiImageUploaders.Name = "tsmiImageUploaders"; + this.tsmiImageUploaders.Size = new System.Drawing.Size(187, 22); + this.tsmiImageUploaders.Text = "Image uploaders"; + // + // tsmiTextUploaders + // + this.tsmiTextUploaders.Image = global::ShareX.Properties.Resources.notebook; + this.tsmiTextUploaders.Name = "tsmiTextUploaders"; + this.tsmiTextUploaders.Size = new System.Drawing.Size(187, 22); + this.tsmiTextUploaders.Text = "Text uploaders"; + // + // tsmiFileUploaders + // + this.tsmiFileUploaders.Image = global::ShareX.Properties.Resources.application_block; + this.tsmiFileUploaders.Name = "tsmiFileUploaders"; + this.tsmiFileUploaders.Size = new System.Drawing.Size(187, 22); + this.tsmiFileUploaders.Text = "File uploaders"; + // + // tsmiURLShorteners + // + this.tsmiURLShorteners.Image = global::ShareX.Properties.Resources.edit_scale; + this.tsmiURLShorteners.Name = "tsmiURLShorteners"; + this.tsmiURLShorteners.Size = new System.Drawing.Size(187, 22); + this.tsmiURLShorteners.Text = "URL shorteners"; + // + // tsmiURLSharingServices + // + this.tsmiURLSharingServices.Image = global::ShareX.Properties.Resources.globe_share; + this.tsmiURLSharingServices.Name = "tsmiURLSharingServices"; + this.tsmiURLSharingServices.Size = new System.Drawing.Size(187, 22); + this.tsmiURLSharingServices.Text = "URL sharing services"; + // + // tssDestinations1 + // + this.tssDestinations1.Name = "tssDestinations1"; + this.tssDestinations1.Size = new System.Drawing.Size(184, 6); + // + // tsmiDestinationSettings + // + this.tsmiDestinationSettings.Image = global::ShareX.Properties.Resources.globe_pencil; + this.tsmiDestinationSettings.Name = "tsmiDestinationSettings"; + this.tsmiDestinationSettings.Size = new System.Drawing.Size(187, 22); + this.tsmiDestinationSettings.Text = "Destination settings..."; + this.tsmiDestinationSettings.Click += new System.EventHandler(this.tsbDestinationSettings_Click); + // + // tsbApplicationSettings + // + this.tsbApplicationSettings.Image = global::ShareX.Properties.Resources.wrench_screwdriver; + this.tsbApplicationSettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tsbApplicationSettings.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbApplicationSettings.Name = "tsbApplicationSettings"; + this.tsbApplicationSettings.Size = new System.Drawing.Size(157, 20); + this.tsbApplicationSettings.Text = "Application settings..."; + this.tsbApplicationSettings.Click += new System.EventHandler(this.tsbApplicationSettings_Click); + // + // tsbTaskSettings + // + this.tsbTaskSettings.Image = global::ShareX.Properties.Resources.gear; + this.tsbTaskSettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tsbTaskSettings.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbTaskSettings.Name = "tsbTaskSettings"; + this.tsbTaskSettings.Size = new System.Drawing.Size(157, 20); + this.tsbTaskSettings.Text = "Task settings..."; + this.tsbTaskSettings.Click += new System.EventHandler(this.tsbTaskSettings_Click); + // + // tsbHotkeySettings + // + this.tsbHotkeySettings.Image = global::ShareX.Properties.Resources.keyboard; + this.tsbHotkeySettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tsbHotkeySettings.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbHotkeySettings.Name = "tsbHotkeySettings"; + this.tsbHotkeySettings.Size = new System.Drawing.Size(157, 20); + this.tsbHotkeySettings.Text = "Hotkey settings..."; + this.tsbHotkeySettings.Click += new System.EventHandler(this.tsbHotkeySettings_Click); + // + // tsbScreenshotsFolder + // + this.tsbScreenshotsFolder.Image = global::ShareX.Properties.Resources.folder_open_image; + this.tsbScreenshotsFolder.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tsbScreenshotsFolder.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbScreenshotsFolder.Name = "tsbScreenshotsFolder"; + this.tsbScreenshotsFolder.Size = new System.Drawing.Size(157, 20); + this.tsbScreenshotsFolder.Text = "Screenshots folder..."; + this.tsbScreenshotsFolder.Click += new System.EventHandler(this.tsbScreenshotsFolder_Click); + // + // tsbHistory + // + this.tsbHistory.Image = global::ShareX.Properties.Resources.application_blog; + this.tsbHistory.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tsbHistory.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbHistory.Name = "tsbHistory"; + this.tsbHistory.Size = new System.Drawing.Size(157, 20); + this.tsbHistory.Text = "History..."; + this.tsbHistory.Click += new System.EventHandler(this.tsbHistory_Click); + // + // tsbImageHistory + // + this.tsbImageHistory.Image = global::ShareX.Properties.Resources.application_icon_large; + this.tsbImageHistory.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tsbImageHistory.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbImageHistory.Name = "tsbImageHistory"; + this.tsbImageHistory.Size = new System.Drawing.Size(157, 20); + this.tsbImageHistory.Text = "Image history..."; + this.tsbImageHistory.Click += new System.EventHandler(this.tsbImageHistory_Click); + // + // tsddbDebug + // + this.tsddbDebug.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiShowDebugLog, + this.tsmiTestImageUpload, + this.tsmiTestTextUpload, + this.tsmiTestFileUpload, + this.tsmiTestURLShortener, + this.tsmiTestUploaders}); + this.tsddbDebug.Image = global::ShareX.Properties.Resources.traffic_cone; + 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(157, 20); + this.tsddbDebug.Text = "Debug"; + // + // tsmiShowDebugLog + // + this.tsmiShowDebugLog.Image = global::ShareX.Properties.Resources.application_monitor; + this.tsmiShowDebugLog.Name = "tsmiShowDebugLog"; + this.tsmiShowDebugLog.Size = new System.Drawing.Size(173, 22); + this.tsmiShowDebugLog.Text = "Debug log..."; + this.tsmiShowDebugLog.Click += new System.EventHandler(this.tsmiShowDebugLog_Click); + // + // tsmiTestImageUpload + // + this.tsmiTestImageUpload.Image = global::ShareX.Properties.Resources.image; + this.tsmiTestImageUpload.Name = "tsmiTestImageUpload"; + this.tsmiTestImageUpload.Size = new System.Drawing.Size(173, 22); + this.tsmiTestImageUpload.Text = "Test image upload"; + this.tsmiTestImageUpload.Click += new System.EventHandler(this.tsmiTestImageUpload_Click); + // + // tsmiTestTextUpload + // + this.tsmiTestTextUpload.Image = global::ShareX.Properties.Resources.notebook; + this.tsmiTestTextUpload.Name = "tsmiTestTextUpload"; + this.tsmiTestTextUpload.Size = new System.Drawing.Size(173, 22); + this.tsmiTestTextUpload.Text = "Test text upload"; + this.tsmiTestTextUpload.Click += new System.EventHandler(this.tsmiTestTextUpload_Click); + // + // tsmiTestFileUpload + // + this.tsmiTestFileUpload.Image = global::ShareX.Properties.Resources.application_block; + this.tsmiTestFileUpload.Name = "tsmiTestFileUpload"; + this.tsmiTestFileUpload.Size = new System.Drawing.Size(173, 22); + this.tsmiTestFileUpload.Text = "Test file upload"; + this.tsmiTestFileUpload.Click += new System.EventHandler(this.tsmiTestFileUpload_Click); + // + // tsmiTestURLShortener + // + this.tsmiTestURLShortener.Image = global::ShareX.Properties.Resources.edit_scale; + this.tsmiTestURLShortener.Name = "tsmiTestURLShortener"; + this.tsmiTestURLShortener.Size = new System.Drawing.Size(173, 22); + this.tsmiTestURLShortener.Text = "Test URL shortener"; + this.tsmiTestURLShortener.Click += new System.EventHandler(this.tsmiTestURLShortener_Click); + // + // tsmiTestUploaders + // + this.tsmiTestUploaders.Image = global::ShareX.Properties.Resources.application_browser; + this.tsmiTestUploaders.Name = "tsmiTestUploaders"; + this.tsmiTestUploaders.Size = new System.Drawing.Size(173, 22); + this.tsmiTestUploaders.Text = "Test uploaders..."; + this.tsmiTestUploaders.Click += new System.EventHandler(this.tsmiTestUploaders_Click); + // + // tsmiDonate + // + this.tsmiDonate.Image = global::ShareX.Properties.Resources.heart; + 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(157, 20); + this.tsmiDonate.Text = "Donate..."; + this.tsmiDonate.Click += new System.EventHandler(this.tsbDonate_Click); + // + // tsmiAbout + // + this.tsmiAbout.Image = global::ShareX.Properties.Resources.crown; + 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(157, 20); + this.tsmiAbout.Text = "About..."; + this.tsmiAbout.Click += new System.EventHandler(this.tsbAbout_Click); + // // tsmiTrayCapture // this.tsmiTrayCapture.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -1660,11 +1681,6 @@ private void InitializeComponent() this.tsmiTrayTweetMessage.Text = "Tweet message..."; this.tsmiTrayTweetMessage.Click += new System.EventHandler(this.tsmiTweetMessage_Click); // - // tssTray1 - // - this.tssTray1.Name = "tssTray1"; - this.tssTray1.Size = new System.Drawing.Size(185, 6); - // // tsmiTrayAfterCaptureTasks // this.tsmiTrayAfterCaptureTasks.Image = global::ShareX.Properties.Resources.image_export; @@ -1699,47 +1715,47 @@ private void InitializeComponent() // this.tsmiTrayImageUploaders.Image = global::ShareX.Properties.Resources.image; this.tsmiTrayImageUploaders.Name = "tsmiTrayImageUploaders"; - this.tsmiTrayImageUploaders.Size = new System.Drawing.Size(212, 22); + this.tsmiTrayImageUploaders.Size = new System.Drawing.Size(187, 22); this.tsmiTrayImageUploaders.Text = "Image uploaders"; // // tsmiTrayTextUploaders // this.tsmiTrayTextUploaders.Image = global::ShareX.Properties.Resources.notebook; this.tsmiTrayTextUploaders.Name = "tsmiTrayTextUploaders"; - this.tsmiTrayTextUploaders.Size = new System.Drawing.Size(212, 22); + this.tsmiTrayTextUploaders.Size = new System.Drawing.Size(187, 22); this.tsmiTrayTextUploaders.Text = "Text uploaders"; // // tsmiTrayFileUploaders // this.tsmiTrayFileUploaders.Image = global::ShareX.Properties.Resources.application_block; this.tsmiTrayFileUploaders.Name = "tsmiTrayFileUploaders"; - this.tsmiTrayFileUploaders.Size = new System.Drawing.Size(212, 22); + this.tsmiTrayFileUploaders.Size = new System.Drawing.Size(187, 22); this.tsmiTrayFileUploaders.Text = "File uploaders"; // // tsmiTrayURLShorteners // this.tsmiTrayURLShorteners.Image = global::ShareX.Properties.Resources.edit_scale; this.tsmiTrayURLShorteners.Name = "tsmiTrayURLShorteners"; - this.tsmiTrayURLShorteners.Size = new System.Drawing.Size(212, 22); + this.tsmiTrayURLShorteners.Size = new System.Drawing.Size(187, 22); this.tsmiTrayURLShorteners.Text = "URL shorteners"; // // tsmiTrayURLSharingServices // - this.tsmiTrayURLSharingServices.Image = global::ShareX.Properties.Resources.share; + this.tsmiTrayURLSharingServices.Image = global::ShareX.Properties.Resources.globe_share; this.tsmiTrayURLSharingServices.Name = "tsmiTrayURLSharingServices"; this.tsmiTrayURLSharingServices.Size = new System.Drawing.Size(187, 22); - this.tsmiTrayURLSharingServices.Text = "Share URL via"; + this.tsmiTrayURLSharingServices.Text = "URL sharing services"; // // tssTrayDestinations1 // this.tssTrayDestinations1.Name = "tssTrayDestinations1"; - this.tssTrayDestinations1.Size = new System.Drawing.Size(209, 6); + this.tssTrayDestinations1.Size = new System.Drawing.Size(184, 6); // // tsmiTrayDestinationSettings // this.tsmiTrayDestinationSettings.Image = global::ShareX.Properties.Resources.globe_pencil; this.tsmiTrayDestinationSettings.Name = "tsmiTrayDestinationSettings"; - this.tsmiTrayDestinationSettings.Size = new System.Drawing.Size(212, 22); + this.tsmiTrayDestinationSettings.Size = new System.Drawing.Size(187, 22); this.tsmiTrayDestinationSettings.Text = "Destination settings..."; this.tsmiTrayDestinationSettings.Click += new System.EventHandler(this.tsbDestinationSettings_Click); // @@ -1767,11 +1783,6 @@ private void InitializeComponent() this.tsmiTrayHotkeySettings.Text = "Hotkey settings..."; this.tsmiTrayHotkeySettings.Click += new System.EventHandler(this.tsbHotkeySettings_Click); // - // tssTray2 - // - this.tssTray2.Name = "tssTray2"; - this.tssTray2.Size = new System.Drawing.Size(185, 6); - // // tsmiScreenshotsFolder // this.tsmiScreenshotsFolder.Image = global::ShareX.Properties.Resources.folder_open_image; @@ -1812,11 +1823,6 @@ private void InitializeComponent() this.tsmiTrayAbout.Text = "About..."; this.tsmiTrayAbout.Click += new System.EventHandler(this.tsbAbout_Click); // - // tssTray3 - // - this.tssTray3.Name = "tssTray3"; - this.tssTray3.Size = new System.Drawing.Size(185, 6); - // // tsmiTrayShow // this.tsmiTrayShow.Image = global::ShareX.Properties.Resources.tick_button; @@ -1833,12 +1839,6 @@ private void InitializeComponent() this.tsmiTrayExit.Text = "Exit"; this.tsmiTrayExit.Click += new System.EventHandler(this.tsmiTrayExit_Click); // - // ssToolStripMenuItem - // - this.ssToolStripMenuItem.Name = "ssToolStripMenuItem"; - this.ssToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.ssToolStripMenuItem.Text = "ss"; - // // MainForm // this.AllowDrop = true; diff --git a/ShareX/Forms/MainForm.cs b/ShareX/Forms/MainForm.cs index 9c6d6f4d4..7532023ba 100644 --- a/ShareX/Forms/MainForm.cs +++ b/ShareX/Forms/MainForm.cs @@ -514,7 +514,7 @@ private void UpdateUploaderMenuNames() tsmiURLShorteners.Text = tsmiTrayURLShorteners.Text = "URL shortener: " + Program.DefaultTaskSettings.URLShortenerDestination.GetDescription(); - tsmiURLSharingServices.Text = tsmiTrayURLSharingServices.Text = "Share URL via: " + Program.DefaultTaskSettings.SocialNetworkingServiceDestination.GetDescription(); + tsmiURLSharingServices.Text = tsmiTrayURLSharingServices.Text = "URL sharing service: " + Program.DefaultTaskSettings.SocialNetworkingServiceDestination.GetDescription(); } private void AutoCheckUpdate() diff --git a/ShareX/Forms/TaskSettingsForm.Designer.cs b/ShareX/Forms/TaskSettingsForm.Designer.cs index c6b55bf19..8bb998b19 100644 --- a/ShareX/Forms/TaskSettingsForm.Designer.cs +++ b/ShareX/Forms/TaskSettingsForm.Designer.cs @@ -391,42 +391,42 @@ private void InitializeComponent() this.tsmiURLShorteners, this.tsmiURLSharingServices}); this.cmsDestinations.Name = "cmsDestinations"; - this.cmsDestinations.Size = new System.Drawing.Size(163, 114); + this.cmsDestinations.Size = new System.Drawing.Size(182, 114); // // tsmiImageUploaders // this.tsmiImageUploaders.Image = global::ShareX.Properties.Resources.image; this.tsmiImageUploaders.Name = "tsmiImageUploaders"; - this.tsmiImageUploaders.Size = new System.Drawing.Size(162, 22); + this.tsmiImageUploaders.Size = new System.Drawing.Size(181, 22); this.tsmiImageUploaders.Text = "Image uploaders"; // // tsmiTextUploaders // this.tsmiTextUploaders.Image = global::ShareX.Properties.Resources.notebook; this.tsmiTextUploaders.Name = "tsmiTextUploaders"; - this.tsmiTextUploaders.Size = new System.Drawing.Size(162, 22); + this.tsmiTextUploaders.Size = new System.Drawing.Size(181, 22); this.tsmiTextUploaders.Text = "Text uploaders"; // // tsmiFileUploaders // this.tsmiFileUploaders.Image = global::ShareX.Properties.Resources.application_block; this.tsmiFileUploaders.Name = "tsmiFileUploaders"; - this.tsmiFileUploaders.Size = new System.Drawing.Size(162, 22); + this.tsmiFileUploaders.Size = new System.Drawing.Size(181, 22); this.tsmiFileUploaders.Text = "File uploaders"; // // tsmiURLShorteners // this.tsmiURLShorteners.Image = global::ShareX.Properties.Resources.edit_scale; this.tsmiURLShorteners.Name = "tsmiURLShorteners"; - this.tsmiURLShorteners.Size = new System.Drawing.Size(162, 22); + this.tsmiURLShorteners.Size = new System.Drawing.Size(181, 22); this.tsmiURLShorteners.Text = "URL shorteners"; // // tsmiURLSharingServices // - this.tsmiURLSharingServices.Image = global::ShareX.Properties.Resources.share; + this.tsmiURLSharingServices.Image = global::ShareX.Properties.Resources.globe_share; this.tsmiURLSharingServices.Name = "tsmiURLSharingServices"; - this.tsmiURLSharingServices.Size = new System.Drawing.Size(162, 22); - this.tsmiURLSharingServices.Text = "Share URL via"; + this.tsmiURLSharingServices.Size = new System.Drawing.Size(181, 22); + this.tsmiURLSharingServices.Text = "URL sharing services"; // // btnTask // diff --git a/ShareX/Forms/TaskSettingsForm.cs b/ShareX/Forms/TaskSettingsForm.cs index 2af9ff40a..785d49f2f 100644 --- a/ShareX/Forms/TaskSettingsForm.cs +++ b/ShareX/Forms/TaskSettingsForm.cs @@ -430,7 +430,7 @@ private void UpdateUploaderMenuNames() tsmiURLShorteners.Text = "URL shortener: " + TaskSettings.URLShortenerDestination.GetDescription(); - tsmiURLSharingServices.Text = "Share URL via: " + TaskSettings.SocialNetworkingServiceDestination.GetDescription(); + tsmiURLSharingServices.Text = "URL sharing service: " + TaskSettings.SocialNetworkingServiceDestination.GetDescription(); } private void tbDescription_TextChanged(object sender, EventArgs e) diff --git a/ShareX/Properties/Resources.Designer.cs b/ShareX/Properties/Resources.Designer.cs index 5a2654ec3..693548405 100644 --- a/ShareX/Properties/Resources.Designer.cs +++ b/ShareX/Properties/Resources.Designer.cs @@ -439,6 +439,16 @@ public class Resources { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap globe_share { + get { + object obj = ResourceManager.GetObject("globe_share", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -709,16 +719,6 @@ public class Resources { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - public static System.Drawing.Bitmap share { - get { - object obj = ResourceManager.GetObject("share", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/ShareX/Properties/Resources.resx b/ShareX/Properties/Resources.resx index 0e12075fa..bfa633b75 100644 --- a/ShareX/Properties/Resources.resx +++ b/ShareX/Properties/Resources.resx @@ -172,9 +172,6 @@ ..\Resources\wrench-screwdriver.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\navigation-090-button.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\layers-ungroup.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -196,9 +193,15 @@ ..\Resources\image-export.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\au.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\resources\application-network.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\resources\application-task.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Polygon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -268,9 +271,6 @@ ..\Resources\upload-cloud.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\heart.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Rectangle.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -325,8 +325,8 @@ ..\Resources\pencil.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\au.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\navigation-090-button.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\layer--pencil.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -340,10 +340,10 @@ ..\Resources\traffic-cone.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\resources\application-task.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\heart.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\share.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\globe-share.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file diff --git a/ShareX/Resources/globe-share.png b/ShareX/Resources/globe-share.png new file mode 100644 index 000000000..3934904cd Binary files /dev/null and b/ShareX/Resources/globe-share.png differ diff --git a/ShareX/Resources/share.png b/ShareX/Resources/share.png deleted file mode 100644 index ee70507af..000000000 Binary files a/ShareX/Resources/share.png and /dev/null differ diff --git a/ShareX/ShareX.csproj b/ShareX/ShareX.csproj index 75f6d7148..0b62e8048 100644 --- a/ShareX/ShareX.csproj +++ b/ShareX/ShareX.csproj @@ -474,7 +474,7 @@ - + diff --git a/ShareX/TaskManager.cs b/ShareX/TaskManager.cs index 1a00a5476..99276f2b1 100644 --- a/ShareX/TaskManager.cs +++ b/ShareX/TaskManager.cs @@ -296,7 +296,7 @@ private static void task_UploadCompleted(UploadTask task) HistoryManager.AddHistoryItemAsync(Program.HistoryFilePath, info.GetHistoryItem()); } - if (!info.TaskSettings.AdvancedSettings.DisableNotifications) + if (!info.TaskSettings.AdvancedSettings.DisableNotifications && info.Job != TaskJob.ShareURL) { if (task.Info.TaskSettings.GeneralSettings.PlaySoundAfterUpload) { diff --git a/ShareX/UploadTask.cs b/ShareX/UploadTask.cs index 2b3dd103c..977508d70 100644 --- a/ShareX/UploadTask.cs +++ b/ShareX/UploadTask.cs @@ -1000,34 +1000,41 @@ public void ShareURL(string url) switch (Info.TaskSettings.SocialNetworkingServiceDestination) { case URLSharingServices.Email: - using (EmailForm emailForm = new EmailForm(Program.UploadersConfig.EmailRememberLastTo ? Program.UploadersConfig.EmailLastTo : string.Empty, - Program.UploadersConfig.EmailDefaultSubject, url)) + if (Program.UploadersConfig.IsValid(URLSharingServices.Email)) { - if (emailForm.ShowDialog() == DialogResult.OK) + using (EmailForm emailForm = new EmailForm(Program.UploadersConfig.EmailRememberLastTo ? Program.UploadersConfig.EmailLastTo : string.Empty, + Program.UploadersConfig.EmailDefaultSubject, url)) { - if (Program.UploadersConfig.EmailRememberLastTo) + if (emailForm.ShowDialog() == DialogResult.OK) { - Program.UploadersConfig.EmailLastTo = emailForm.ToEmail; + if (Program.UploadersConfig.EmailRememberLastTo) + { + Program.UploadersConfig.EmailLastTo = emailForm.ToEmail; + } + + Email email = new Email + { + SmtpServer = Program.UploadersConfig.EmailSmtpServer, + SmtpPort = Program.UploadersConfig.EmailSmtpPort, + FromEmail = Program.UploadersConfig.EmailFrom, + Password = Program.UploadersConfig.EmailPassword + }; + + email.Send(emailForm.ToEmail, emailForm.Subject, emailForm.Body); } - - Email email = new Email - { - SmtpServer = Program.UploadersConfig.EmailSmtpServer, - SmtpPort = Program.UploadersConfig.EmailSmtpPort, - FromEmail = Program.UploadersConfig.EmailFrom, - Password = Program.UploadersConfig.EmailPassword - }; - - email.Send(emailForm.ToEmail, emailForm.Subject, emailForm.Body); } } + else + { + URLHelpers.OpenURL("mailto:?body=" + encodedUrl); + } break; case URLSharingServices.Twitter: - OAuthInfo twitterOAuth = Program.UploadersConfig.TwitterOAuthInfoList.ReturnIfValidIndex(Program.UploadersConfig.TwitterSelectedAccount); - - if (twitterOAuth != null && OAuthInfo.CheckOAuth(twitterOAuth)) + if (Program.UploadersConfig.IsValid(URLSharingServices.Twitter)) { - using (TwitterTweetForm twitter = new TwitterTweetForm(twitterOAuth, " " + url)) + OAuthInfo twitterOAuth = Program.UploadersConfig.TwitterOAuthInfoList[Program.UploadersConfig.TwitterSelectedAccount]; + + using (TwitterTweetForm twitter = new TwitterTweetForm(twitterOAuth, url)) { twitter.ShowDialog(); } @@ -1052,11 +1059,14 @@ public void ShareURL(string url) case URLSharingServices.Tumblr: URLHelpers.OpenURL("https://www.tumblr.com/share?v=3&u=" + encodedUrl); break; + case URLSharingServices.LinkedIn: + URLHelpers.OpenURL("https://www.linkedin.com/shareArticle?url=" + encodedUrl); + break; case URLSharingServices.VK: URLHelpers.OpenURL("http://vk.com/share.php?url=" + encodedUrl); break; case URLSharingServices.Delicious: - URLHelpers.OpenURL("https://delicious.com/save?v=5&noui&jump=close&url=" + encodedUrl); + URLHelpers.OpenURL("https://delicious.com/save?v=5&url=" + encodedUrl); break; } } diff --git a/UploadersLib/Enums.cs b/UploadersLib/Enums.cs index d556b9d20..837fe26c0 100644 --- a/UploadersLib/Enums.cs +++ b/UploadersLib/Enums.cs @@ -156,6 +156,8 @@ public enum URLSharingServices Pinterest, [Description("Tumblr")] Tumblr, + [Description("LinkedIn")] + LinkedIn, [Description("VK")] VK, [Description("Delicious")] diff --git a/UploadersLib/UploadersConfig.cs b/UploadersLib/UploadersConfig.cs index 864adc701..1bd9ec466 100644 --- a/UploadersLib/UploadersConfig.cs +++ b/UploadersLib/UploadersConfig.cs @@ -281,10 +281,12 @@ public bool IsValid(int index) return IsValid((UrlShortenerType)destination); } + /* if (destination is URLSharingServices) { return IsValid((URLSharingServices)destination); } + */ return true; }