Windows, Chrome, Steam related controls moved to Integration tab

This commit is contained in:
Jaex 2015-09-09 23:36:20 +03:00
parent 02b225521e
commit fbad699203
4 changed files with 564 additions and 449 deletions

View file

@ -330,6 +330,7 @@ private void InitializeComponent()
this.rtbOutput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.rtbOutput.Name = "rtbOutput";
this.rtbOutput.ReadOnly = true;
this.rtbOutput.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.rtbOutput_LinkClicked);
//
// tpMessages
//

View file

@ -231,6 +231,11 @@ private void btnConnect_Click(object sender, EventArgs e)
}
}
private void rtbOutput_LinkClicked(object sender, LinkClickedEventArgs e)
{
URLHelpers.OpenURL(e.LinkText);
}
private void txtCommand_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)

View file

@ -33,20 +33,21 @@ private void InitializeComponent()
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ApplicationSettingsForm));
this.tcSettings = new System.Windows.Forms.TabControl();
this.tpGeneral = new System.Windows.Forms.TabPage();
this.cbShowTray = new System.Windows.Forms.CheckBox();
this.cbTrayIconProgressEnabled = new System.Windows.Forms.CheckBox();
this.btnChromeSupport = new System.Windows.Forms.Button();
this.cbTaskbarProgressEnabled = new System.Windows.Forms.CheckBox();
this.cbRememberMainFormSize = new System.Windows.Forms.CheckBox();
this.cbSilentRun = new System.Windows.Forms.CheckBox();
this.cbRememberMainFormPosition = new System.Windows.Forms.CheckBox();
this.gbWindows = new System.Windows.Forms.GroupBox();
this.cbStartWithWindows = new System.Windows.Forms.CheckBox();
this.cbSendToMenu = new System.Windows.Forms.CheckBox();
this.cbShellContextMenu = new System.Windows.Forms.CheckBox();
this.btnLanguages = new ShareX.HelpersLib.MenuButton();
this.cmsLanguages = new System.Windows.Forms.ContextMenuStrip(this.components);
this.llTranslators = new System.Windows.Forms.LinkLabel();
this.lblLanguage = new System.Windows.Forms.Label();
this.cbRememberMainFormPosition = new System.Windows.Forms.CheckBox();
this.cbSilentRun = new System.Windows.Forms.CheckBox();
this.cbRememberMainFormSize = new System.Windows.Forms.CheckBox();
this.cbTaskbarProgressEnabled = new System.Windows.Forms.CheckBox();
this.cbTrayIconProgressEnabled = new System.Windows.Forms.CheckBox();
this.cbShellContextMenu = new System.Windows.Forms.CheckBox();
this.cbStartWithWindows = new System.Windows.Forms.CheckBox();
this.cbShowTray = new System.Windows.Forms.CheckBox();
this.cbSendToMenu = new System.Windows.Forms.CheckBox();
this.tpPaths = new System.Windows.Forms.TabPage();
this.lblNotePersonalFolderPath = new System.Windows.Forms.Label();
this.btnOpenScreenshotsFolder = new System.Windows.Forms.Button();
@ -93,13 +94,13 @@ private void InitializeComponent()
this.tlpBackupDestinations = new System.Windows.Forms.TableLayoutPanel();
this.gbSecondaryImageUploaders = new System.Windows.Forms.GroupBox();
this.lvSecondaryImageUploaders = new ShareX.HelpersLib.MyListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chSecondaryImageUploaders = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.gbSecondaryFileUploaders = new System.Windows.Forms.GroupBox();
this.lvSecondaryFileUploaders = new ShareX.HelpersLib.MyListView();
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chSecondaryFileUploaders = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.gbSecondaryTextUploaders = new System.Windows.Forms.GroupBox();
this.lvSecondaryTextUploaders = new ShareX.HelpersLib.MyListView();
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chSecondaryTextUploaders = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.cbIfUploadFailRetryOnce = new System.Windows.Forms.Label();
this.nudRetryUpload = new System.Windows.Forms.NumericUpDown();
this.tpPrint = new System.Windows.Forms.TabPage();
@ -109,10 +110,13 @@ private void InitializeComponent()
this.tpAdvanced = new System.Windows.Forms.TabPage();
this.pgSettings = new System.Windows.Forms.PropertyGrid();
this.tttvMain = new ShareX.HelpersLib.TabToTreeView();
this.gbGeneralWindows = new System.Windows.Forms.GroupBox();
this.gbGeneralApplication = new System.Windows.Forms.GroupBox();
this.gbChrome = new System.Windows.Forms.GroupBox();
this.cbSteamShowInApp = new System.Windows.Forms.CheckBox();
this.tpIntegration = new System.Windows.Forms.TabPage();
this.gbSteam = new System.Windows.Forms.GroupBox();
this.tcSettings.SuspendLayout();
this.tpGeneral.SuspendLayout();
this.gbWindows.SuspendLayout();
this.tpPaths.SuspendLayout();
this.tpProxy.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudProxyPort)).BeginInit();
@ -130,14 +134,16 @@ private void InitializeComponent()
((System.ComponentModel.ISupportInitialize)(this.nudRetryUpload)).BeginInit();
this.tpPrint.SuspendLayout();
this.tpAdvanced.SuspendLayout();
this.gbGeneralWindows.SuspendLayout();
this.gbGeneralApplication.SuspendLayout();
this.gbChrome.SuspendLayout();
this.tpIntegration.SuspendLayout();
this.gbSteam.SuspendLayout();
this.SuspendLayout();
//
// tcSettings
//
resources.ApplyResources(this.tcSettings, "tcSettings");
this.tcSettings.Controls.Add(this.tpGeneral);
this.tcSettings.Controls.Add(this.tpIntegration);
this.tcSettings.Controls.Add(this.tpPaths);
this.tcSettings.Controls.Add(this.tpProxy);
this.tcSettings.Controls.Add(this.tpUpload);
@ -148,15 +154,33 @@ private void InitializeComponent()
//
// tpGeneral
//
this.tpGeneral.Controls.Add(this.gbGeneralApplication);
this.tpGeneral.Controls.Add(this.gbGeneralWindows);
this.tpGeneral.Controls.Add(this.cbShowTray);
this.tpGeneral.Controls.Add(this.cbTrayIconProgressEnabled);
this.tpGeneral.Controls.Add(this.btnLanguages);
this.tpGeneral.Controls.Add(this.cbRememberMainFormPosition);
this.tpGeneral.Controls.Add(this.llTranslators);
this.tpGeneral.Controls.Add(this.cbSilentRun);
this.tpGeneral.Controls.Add(this.cbTaskbarProgressEnabled);
this.tpGeneral.Controls.Add(this.cbRememberMainFormSize);
this.tpGeneral.Controls.Add(this.lblLanguage);
resources.ApplyResources(this.tpGeneral, "tpGeneral");
this.tpGeneral.Name = "tpGeneral";
this.tpGeneral.UseVisualStyleBackColor = true;
//
// cbShowTray
//
resources.ApplyResources(this.cbShowTray, "cbShowTray");
this.cbShowTray.Name = "cbShowTray";
this.cbShowTray.UseVisualStyleBackColor = true;
this.cbShowTray.CheckedChanged += new System.EventHandler(this.cbShowTray_CheckedChanged);
//
// cbTrayIconProgressEnabled
//
resources.ApplyResources(this.cbTrayIconProgressEnabled, "cbTrayIconProgressEnabled");
this.cbTrayIconProgressEnabled.Name = "cbTrayIconProgressEnabled";
this.cbTrayIconProgressEnabled.UseVisualStyleBackColor = true;
this.cbTrayIconProgressEnabled.CheckedChanged += new System.EventHandler(this.cbTrayIconProgressEnabled_CheckedChanged);
//
// btnChromeSupport
//
resources.ApplyResources(this.btnChromeSupport, "btnChromeSupport");
@ -164,6 +188,64 @@ private void InitializeComponent()
this.btnChromeSupport.UseVisualStyleBackColor = true;
this.btnChromeSupport.Click += new System.EventHandler(this.btnChromeSupport_Click);
//
// cbTaskbarProgressEnabled
//
resources.ApplyResources(this.cbTaskbarProgressEnabled, "cbTaskbarProgressEnabled");
this.cbTaskbarProgressEnabled.Name = "cbTaskbarProgressEnabled";
this.cbTaskbarProgressEnabled.UseVisualStyleBackColor = true;
this.cbTaskbarProgressEnabled.CheckedChanged += new System.EventHandler(this.cbTaskbarProgressEnabled_CheckedChanged);
//
// cbRememberMainFormSize
//
resources.ApplyResources(this.cbRememberMainFormSize, "cbRememberMainFormSize");
this.cbRememberMainFormSize.Name = "cbRememberMainFormSize";
this.cbRememberMainFormSize.UseVisualStyleBackColor = true;
this.cbRememberMainFormSize.CheckedChanged += new System.EventHandler(this.cbRememberMainFormSize_CheckedChanged);
//
// cbSilentRun
//
resources.ApplyResources(this.cbSilentRun, "cbSilentRun");
this.cbSilentRun.Name = "cbSilentRun";
this.cbSilentRun.UseVisualStyleBackColor = true;
this.cbSilentRun.CheckedChanged += new System.EventHandler(this.cbSilentRun_CheckedChanged);
//
// cbRememberMainFormPosition
//
resources.ApplyResources(this.cbRememberMainFormPosition, "cbRememberMainFormPosition");
this.cbRememberMainFormPosition.Name = "cbRememberMainFormPosition";
this.cbRememberMainFormPosition.UseVisualStyleBackColor = true;
this.cbRememberMainFormPosition.CheckedChanged += new System.EventHandler(this.cbRememberMainFormPosition_CheckedChanged);
//
// gbWindows
//
this.gbWindows.Controls.Add(this.cbStartWithWindows);
this.gbWindows.Controls.Add(this.cbSendToMenu);
this.gbWindows.Controls.Add(this.cbShellContextMenu);
resources.ApplyResources(this.gbWindows, "gbWindows");
this.gbWindows.Name = "gbWindows";
this.gbWindows.TabStop = false;
//
// cbStartWithWindows
//
resources.ApplyResources(this.cbStartWithWindows, "cbStartWithWindows");
this.cbStartWithWindows.Name = "cbStartWithWindows";
this.cbStartWithWindows.UseVisualStyleBackColor = true;
this.cbStartWithWindows.CheckedChanged += new System.EventHandler(this.cbStartWithWindows_CheckedChanged);
//
// cbSendToMenu
//
resources.ApplyResources(this.cbSendToMenu, "cbSendToMenu");
this.cbSendToMenu.Name = "cbSendToMenu";
this.cbSendToMenu.UseVisualStyleBackColor = true;
this.cbSendToMenu.CheckedChanged += new System.EventHandler(this.cbSendToMenu_CheckedChanged);
//
// cbShellContextMenu
//
resources.ApplyResources(this.cbShellContextMenu, "cbShellContextMenu");
this.cbShellContextMenu.Name = "cbShellContextMenu";
this.cbShellContextMenu.UseVisualStyleBackColor = true;
this.cbShellContextMenu.CheckedChanged += new System.EventHandler(this.cbShellContextMenu_CheckedChanged);
//
// btnLanguages
//
resources.ApplyResources(this.btnLanguages, "btnLanguages");
@ -189,69 +271,6 @@ private void InitializeComponent()
resources.ApplyResources(this.lblLanguage, "lblLanguage");
this.lblLanguage.Name = "lblLanguage";
//
// cbRememberMainFormPosition
//
resources.ApplyResources(this.cbRememberMainFormPosition, "cbRememberMainFormPosition");
this.cbRememberMainFormPosition.Name = "cbRememberMainFormPosition";
this.cbRememberMainFormPosition.UseVisualStyleBackColor = true;
this.cbRememberMainFormPosition.CheckedChanged += new System.EventHandler(this.cbRememberMainFormPosition_CheckedChanged);
//
// cbSilentRun
//
resources.ApplyResources(this.cbSilentRun, "cbSilentRun");
this.cbSilentRun.Name = "cbSilentRun";
this.cbSilentRun.UseVisualStyleBackColor = true;
this.cbSilentRun.CheckedChanged += new System.EventHandler(this.cbSilentRun_CheckedChanged);
//
// cbRememberMainFormSize
//
resources.ApplyResources(this.cbRememberMainFormSize, "cbRememberMainFormSize");
this.cbRememberMainFormSize.Name = "cbRememberMainFormSize";
this.cbRememberMainFormSize.UseVisualStyleBackColor = true;
this.cbRememberMainFormSize.CheckedChanged += new System.EventHandler(this.cbRememberMainFormSize_CheckedChanged);
//
// cbTaskbarProgressEnabled
//
resources.ApplyResources(this.cbTaskbarProgressEnabled, "cbTaskbarProgressEnabled");
this.cbTaskbarProgressEnabled.Name = "cbTaskbarProgressEnabled";
this.cbTaskbarProgressEnabled.UseVisualStyleBackColor = true;
this.cbTaskbarProgressEnabled.CheckedChanged += new System.EventHandler(this.cbTaskbarProgressEnabled_CheckedChanged);
//
// cbTrayIconProgressEnabled
//
resources.ApplyResources(this.cbTrayIconProgressEnabled, "cbTrayIconProgressEnabled");
this.cbTrayIconProgressEnabled.Name = "cbTrayIconProgressEnabled";
this.cbTrayIconProgressEnabled.UseVisualStyleBackColor = true;
this.cbTrayIconProgressEnabled.CheckedChanged += new System.EventHandler(this.cbTrayIconProgressEnabled_CheckedChanged);
//
// cbShellContextMenu
//
resources.ApplyResources(this.cbShellContextMenu, "cbShellContextMenu");
this.cbShellContextMenu.Name = "cbShellContextMenu";
this.cbShellContextMenu.UseVisualStyleBackColor = true;
this.cbShellContextMenu.CheckedChanged += new System.EventHandler(this.cbShellContextMenu_CheckedChanged);
//
// cbStartWithWindows
//
resources.ApplyResources(this.cbStartWithWindows, "cbStartWithWindows");
this.cbStartWithWindows.Name = "cbStartWithWindows";
this.cbStartWithWindows.UseVisualStyleBackColor = true;
this.cbStartWithWindows.CheckedChanged += new System.EventHandler(this.cbStartWithWindows_CheckedChanged);
//
// cbShowTray
//
resources.ApplyResources(this.cbShowTray, "cbShowTray");
this.cbShowTray.Name = "cbShowTray";
this.cbShowTray.UseVisualStyleBackColor = true;
this.cbShowTray.CheckedChanged += new System.EventHandler(this.cbShowTray_CheckedChanged);
//
// cbSendToMenu
//
resources.ApplyResources(this.cbSendToMenu, "cbSendToMenu");
this.cbSendToMenu.Name = "cbSendToMenu";
this.cbSendToMenu.UseVisualStyleBackColor = true;
this.cbSendToMenu.CheckedChanged += new System.EventHandler(this.cbSendToMenu_CheckedChanged);
//
// tpPaths
//
this.tpPaths.Controls.Add(this.lblNotePersonalFolderPath);
@ -592,7 +611,7 @@ private void InitializeComponent()
this.lvSecondaryImageUploaders.AutoFillColumn = true;
this.lvSecondaryImageUploaders.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.lvSecondaryImageUploaders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1});
this.chSecondaryImageUploaders});
resources.ApplyResources(this.lvSecondaryImageUploaders, "lvSecondaryImageUploaders");
this.lvSecondaryImageUploaders.FullRowSelect = true;
this.lvSecondaryImageUploaders.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
@ -617,7 +636,7 @@ private void InitializeComponent()
this.lvSecondaryFileUploaders.AutoFillColumn = true;
this.lvSecondaryFileUploaders.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.lvSecondaryFileUploaders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader3});
this.chSecondaryFileUploaders});
resources.ApplyResources(this.lvSecondaryFileUploaders, "lvSecondaryFileUploaders");
this.lvSecondaryFileUploaders.FullRowSelect = true;
this.lvSecondaryFileUploaders.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
@ -641,7 +660,7 @@ private void InitializeComponent()
this.lvSecondaryTextUploaders.AutoFillColumn = true;
this.lvSecondaryTextUploaders.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.lvSecondaryTextUploaders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader2});
this.chSecondaryTextUploaders});
resources.ApplyResources(this.lvSecondaryTextUploaders, "lvSecondaryTextUploaders");
this.lvSecondaryTextUploaders.FullRowSelect = true;
this.lvSecondaryTextUploaders.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
@ -721,27 +740,34 @@ private void InitializeComponent()
this.tttvMain.TreeViewFont = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.tttvMain.TreeViewSize = 175;
//
// gbGeneralWindows
// gbChrome
//
this.gbGeneralWindows.Controls.Add(this.cbStartWithWindows);
this.gbGeneralWindows.Controls.Add(this.cbSendToMenu);
this.gbGeneralWindows.Controls.Add(this.cbShellContextMenu);
resources.ApplyResources(this.gbGeneralWindows, "gbGeneralWindows");
this.gbGeneralWindows.Name = "gbGeneralWindows";
this.gbGeneralWindows.TabStop = false;
this.gbChrome.Controls.Add(this.btnChromeSupport);
resources.ApplyResources(this.gbChrome, "gbChrome");
this.gbChrome.Name = "gbChrome";
this.gbChrome.TabStop = false;
//
// gbGeneralApplication
// cbSteamShowInApp
//
this.gbGeneralApplication.Controls.Add(this.cbShowTray);
this.gbGeneralApplication.Controls.Add(this.cbTrayIconProgressEnabled);
this.gbGeneralApplication.Controls.Add(this.btnChromeSupport);
this.gbGeneralApplication.Controls.Add(this.cbTaskbarProgressEnabled);
this.gbGeneralApplication.Controls.Add(this.cbRememberMainFormSize);
this.gbGeneralApplication.Controls.Add(this.cbSilentRun);
this.gbGeneralApplication.Controls.Add(this.cbRememberMainFormPosition);
resources.ApplyResources(this.gbGeneralApplication, "gbGeneralApplication");
this.gbGeneralApplication.Name = "gbGeneralApplication";
this.gbGeneralApplication.TabStop = false;
resources.ApplyResources(this.cbSteamShowInApp, "cbSteamShowInApp");
this.cbSteamShowInApp.Name = "cbSteamShowInApp";
this.cbSteamShowInApp.UseVisualStyleBackColor = true;
//
// tpIntegration
//
this.tpIntegration.Controls.Add(this.gbSteam);
this.tpIntegration.Controls.Add(this.gbChrome);
this.tpIntegration.Controls.Add(this.gbWindows);
resources.ApplyResources(this.tpIntegration, "tpIntegration");
this.tpIntegration.Name = "tpIntegration";
this.tpIntegration.UseVisualStyleBackColor = true;
//
// gbSteam
//
this.gbSteam.Controls.Add(this.cbSteamShowInApp);
resources.ApplyResources(this.gbSteam, "gbSteam");
this.gbSteam.Name = "gbSteam";
this.gbSteam.TabStop = false;
//
// ApplicationSettingsForm
//
@ -758,6 +784,8 @@ private void InitializeComponent()
this.tcSettings.ResumeLayout(false);
this.tpGeneral.ResumeLayout(false);
this.tpGeneral.PerformLayout();
this.gbWindows.ResumeLayout(false);
this.gbWindows.PerformLayout();
this.tpPaths.ResumeLayout(false);
this.tpPaths.PerformLayout();
this.tpProxy.ResumeLayout(false);
@ -780,10 +808,10 @@ private void InitializeComponent()
this.tpPrint.ResumeLayout(false);
this.tpPrint.PerformLayout();
this.tpAdvanced.ResumeLayout(false);
this.gbGeneralWindows.ResumeLayout(false);
this.gbGeneralWindows.PerformLayout();
this.gbGeneralApplication.ResumeLayout(false);
this.gbGeneralApplication.PerformLayout();
this.gbChrome.ResumeLayout(false);
this.tpIntegration.ResumeLayout(false);
this.gbSteam.ResumeLayout(false);
this.gbSteam.PerformLayout();
this.ResumeLayout(false);
}
@ -859,9 +887,9 @@ private void InitializeComponent()
private System.Windows.Forms.TabPage tpUploadResults;
private System.Windows.Forms.TabPage tpUploadRetry;
private System.Windows.Forms.CheckBox chkUseSecondaryUploaders;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ColumnHeader chSecondaryImageUploaders;
private System.Windows.Forms.ColumnHeader chSecondaryFileUploaders;
private System.Windows.Forms.ColumnHeader chSecondaryTextUploaders;
private System.Windows.Forms.CheckBox cbPrintDontShowWindowsDialog;
private System.Windows.Forms.CheckBox cbRememberMainFormPosition;
private System.Windows.Forms.Label lblLanguage;
@ -870,7 +898,10 @@ private void InitializeComponent()
private MenuButton btnLanguages;
private System.Windows.Forms.ContextMenuStrip cmsLanguages;
private System.Windows.Forms.Button btnChromeSupport;
private System.Windows.Forms.GroupBox gbGeneralWindows;
private System.Windows.Forms.GroupBox gbGeneralApplication;
private System.Windows.Forms.GroupBox gbWindows;
private System.Windows.Forms.GroupBox gbChrome;
private System.Windows.Forms.CheckBox cbSteamShowInApp;
private System.Windows.Forms.TabPage tpIntegration;
private System.Windows.Forms.GroupBox gbSteam;
}
}

File diff suppressed because it is too large Load diff