mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Added actions button to open web site
This commit is contained in:
parent
4ae7aa9484
commit
98eb51b620
4 changed files with 1020 additions and 3278 deletions
|
@ -34,6 +34,7 @@ public static class Links
|
|||
public const string URL_CHANGELOG = URL_WEBSITE + "/changelog";
|
||||
public const string URL_DONATE = URL_WEBSITE + "/donate";
|
||||
public const string URL_IMAGE_EFFECTS = URL_WEBSITE + "/image-effects";
|
||||
public const string URL_ACTIONS = URL_WEBSITE + "/actions";
|
||||
public const string URL_JAEX = "https://github.com/Jaex";
|
||||
public const string URL_MCORED = "https://github.com/McoreD";
|
||||
public const string URL_STEAM = "http://store.steampowered.com/app/400040/";
|
||||
|
|
46
ShareX/Forms/TaskSettingsForm.Designer.cs
generated
46
ShareX/Forms/TaskSettingsForm.Designer.cs
generated
|
@ -58,6 +58,7 @@ private void InitializeComponent()
|
|||
this.tpGeneralMain = new System.Windows.Forms.TabPage();
|
||||
this.chkOverrideGeneralSettings = new System.Windows.Forms.CheckBox();
|
||||
this.tpNotifications = new System.Windows.Forms.TabPage();
|
||||
this.cbShowToastNotificationAfterTaskCompleted = new System.Windows.Forms.CheckBox();
|
||||
this.btnCustomErrorSoundPath = new System.Windows.Forms.Button();
|
||||
this.btnCustomTaskCompletedSoundPath = new System.Windows.Forms.Button();
|
||||
this.btnCustomCaptureSoundPath = new System.Windows.Forms.Button();
|
||||
|
@ -68,6 +69,8 @@ private void InitializeComponent()
|
|||
this.cbUseCustomTaskCompletedSound = new System.Windows.Forms.CheckBox();
|
||||
this.cbUseCustomCaptureSound = new System.Windows.Forms.CheckBox();
|
||||
this.gbToastWindow = new System.Windows.Forms.GroupBox();
|
||||
this.lblToastWindowFadeDurationSeconds = new System.Windows.Forms.Label();
|
||||
this.lblToastWindowDurationSeconds = new System.Windows.Forms.Label();
|
||||
this.lblToastWindowSizeX = new System.Windows.Forms.Label();
|
||||
this.cbToastWindowMiddleClickAction = new System.Windows.Forms.ComboBox();
|
||||
this.cbToastWindowRightClickAction = new System.Windows.Forms.ComboBox();
|
||||
|
@ -272,7 +275,7 @@ private void InitializeComponent()
|
|||
this.tpAdvanced = new System.Windows.Forms.TabPage();
|
||||
this.pgTaskSettings = new System.Windows.Forms.PropertyGrid();
|
||||
this.chkOverrideAdvancedSettings = new System.Windows.Forms.CheckBox();
|
||||
this.cbShowToastNotificationAfterTaskCompleted = new System.Windows.Forms.CheckBox();
|
||||
this.btnActions = new System.Windows.Forms.Button();
|
||||
this.btnAfterCapture = new ShareX.HelpersLib.MenuButton();
|
||||
this.btnAfterUpload = new ShareX.HelpersLib.MenuButton();
|
||||
this.btnDestinations = new ShareX.HelpersLib.MenuButton();
|
||||
|
@ -290,8 +293,6 @@ private void InitializeComponent()
|
|||
this.chWatchFolderFilter = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chWatchFolderIncludeSubdirectories = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.tttvMain = new ShareX.HelpersLib.TabToTreeView();
|
||||
this.lblToastWindowDurationSeconds = new System.Windows.Forms.Label();
|
||||
this.lblToastWindowFadeDurationSeconds = new System.Windows.Forms.Label();
|
||||
this.tcTaskSettings.SuspendLayout();
|
||||
this.tpTask.SuspendLayout();
|
||||
this.cmsDestinations.SuspendLayout();
|
||||
|
@ -581,6 +582,13 @@ private void InitializeComponent()
|
|||
this.tpNotifications.Name = "tpNotifications";
|
||||
this.tpNotifications.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// cbShowToastNotificationAfterTaskCompleted
|
||||
//
|
||||
resources.ApplyResources(this.cbShowToastNotificationAfterTaskCompleted, "cbShowToastNotificationAfterTaskCompleted");
|
||||
this.cbShowToastNotificationAfterTaskCompleted.Name = "cbShowToastNotificationAfterTaskCompleted";
|
||||
this.cbShowToastNotificationAfterTaskCompleted.UseVisualStyleBackColor = true;
|
||||
this.cbShowToastNotificationAfterTaskCompleted.CheckedChanged += new System.EventHandler(this.cbShowToastNotificationAfterTaskCompleted_CheckedChanged);
|
||||
//
|
||||
// btnCustomErrorSoundPath
|
||||
//
|
||||
resources.ApplyResources(this.btnCustomErrorSoundPath, "btnCustomErrorSoundPath");
|
||||
|
@ -665,6 +673,16 @@ private void InitializeComponent()
|
|||
this.gbToastWindow.Name = "gbToastWindow";
|
||||
this.gbToastWindow.TabStop = false;
|
||||
//
|
||||
// lblToastWindowFadeDurationSeconds
|
||||
//
|
||||
resources.ApplyResources(this.lblToastWindowFadeDurationSeconds, "lblToastWindowFadeDurationSeconds");
|
||||
this.lblToastWindowFadeDurationSeconds.Name = "lblToastWindowFadeDurationSeconds";
|
||||
//
|
||||
// lblToastWindowDurationSeconds
|
||||
//
|
||||
resources.ApplyResources(this.lblToastWindowDurationSeconds, "lblToastWindowDurationSeconds");
|
||||
this.lblToastWindowDurationSeconds.Name = "lblToastWindowDurationSeconds";
|
||||
//
|
||||
// lblToastWindowSizeX
|
||||
//
|
||||
resources.ApplyResources(this.lblToastWindowSizeX, "lblToastWindowSizeX");
|
||||
|
@ -2205,6 +2223,7 @@ private void InitializeComponent()
|
|||
//
|
||||
// pActions
|
||||
//
|
||||
this.pActions.Controls.Add(this.btnActions);
|
||||
this.pActions.Controls.Add(this.lblActionsNote);
|
||||
this.pActions.Controls.Add(this.btnActionsDuplicate);
|
||||
this.pActions.Controls.Add(this.btnActionsAdd);
|
||||
|
@ -2380,12 +2399,12 @@ private void InitializeComponent()
|
|||
this.chkOverrideAdvancedSettings.UseVisualStyleBackColor = true;
|
||||
this.chkOverrideAdvancedSettings.CheckedChanged += new System.EventHandler(this.chkUseDefaultAdvancedSettings_CheckedChanged);
|
||||
//
|
||||
// cbShowToastNotificationAfterTaskCompleted
|
||||
// btnActions
|
||||
//
|
||||
resources.ApplyResources(this.cbShowToastNotificationAfterTaskCompleted, "cbShowToastNotificationAfterTaskCompleted");
|
||||
this.cbShowToastNotificationAfterTaskCompleted.Name = "cbShowToastNotificationAfterTaskCompleted";
|
||||
this.cbShowToastNotificationAfterTaskCompleted.UseVisualStyleBackColor = true;
|
||||
this.cbShowToastNotificationAfterTaskCompleted.CheckedChanged += new System.EventHandler(this.cbShowToastNotificationAfterTaskCompleted_CheckedChanged);
|
||||
resources.ApplyResources(this.btnActions, "btnActions");
|
||||
this.btnActions.Name = "btnActions";
|
||||
this.btnActions.UseVisualStyleBackColor = true;
|
||||
this.btnActions.Click += new System.EventHandler(this.btnActions_Click);
|
||||
//
|
||||
// btnAfterCapture
|
||||
//
|
||||
|
@ -2518,16 +2537,6 @@ private void InitializeComponent()
|
|||
this.tttvMain.TreeViewSize = 190;
|
||||
this.tttvMain.TabChanged += new ShareX.HelpersLib.TabToTreeView.TabChangedEventHandler(this.tttvMain_TabChanged);
|
||||
//
|
||||
// lblToastWindowDurationSeconds
|
||||
//
|
||||
resources.ApplyResources(this.lblToastWindowDurationSeconds, "lblToastWindowDurationSeconds");
|
||||
this.lblToastWindowDurationSeconds.Name = "lblToastWindowDurationSeconds";
|
||||
//
|
||||
// lblToastWindowFadeDurationSeconds
|
||||
//
|
||||
resources.ApplyResources(this.lblToastWindowFadeDurationSeconds, "lblToastWindowFadeDurationSeconds");
|
||||
this.lblToastWindowFadeDurationSeconds.Name = "lblToastWindowFadeDurationSeconds";
|
||||
//
|
||||
// TaskSettingsForm
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
|
@ -2891,5 +2900,6 @@ private void InitializeComponent()
|
|||
private System.Windows.Forms.CheckBox cbShowToastNotificationAfterTaskCompleted;
|
||||
private System.Windows.Forms.Label lblToastWindowFadeDurationSeconds;
|
||||
private System.Windows.Forms.Label lblToastWindowDurationSeconds;
|
||||
private System.Windows.Forms.Button btnActions;
|
||||
}
|
||||
}
|
|
@ -1608,6 +1608,11 @@ private void btnActionsRemove_Click(object sender, EventArgs e)
|
|||
}
|
||||
}
|
||||
|
||||
private void btnActions_Click(object sender, EventArgs e)
|
||||
{
|
||||
URLHelpers.OpenURL(Links.URL_ACTIONS);
|
||||
}
|
||||
|
||||
private void lvActions_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
btnActionsEdit.Enabled = btnActionsDuplicate.Enabled = btnActionsRemove.Enabled = lvActions.SelectedItems.Count > 0;
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue