diff --git a/ShareX/Forms/TaskSettingsForm.Designer.cs b/ShareX/Forms/TaskSettingsForm.Designer.cs
index cf2346479..dda184fc5 100644
--- a/ShareX/Forms/TaskSettingsForm.Designer.cs
+++ b/ShareX/Forms/TaskSettingsForm.Designer.cs
@@ -290,6 +290,8 @@ 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();
@@ -641,6 +643,8 @@ private void InitializeComponent()
//
// gbToastWindow
//
+ this.gbToastWindow.Controls.Add(this.lblToastWindowFadeDurationSeconds);
+ this.gbToastWindow.Controls.Add(this.lblToastWindowDurationSeconds);
this.gbToastWindow.Controls.Add(this.lblToastWindowSizeX);
this.gbToastWindow.Controls.Add(this.cbToastWindowMiddleClickAction);
this.gbToastWindow.Controls.Add(this.cbToastWindowRightClickAction);
@@ -2514,6 +2518,16 @@ 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");
@@ -2875,5 +2889,7 @@ private void InitializeComponent()
private System.Windows.Forms.Button btnCustomTaskCompletedSoundPath;
private System.Windows.Forms.Button btnCustomCaptureSoundPath;
private System.Windows.Forms.CheckBox cbShowToastNotificationAfterTaskCompleted;
+ private System.Windows.Forms.Label lblToastWindowFadeDurationSeconds;
+ private System.Windows.Forms.Label lblToastWindowDurationSeconds;
}
}
\ No newline at end of file
diff --git a/ShareX/Forms/TaskSettingsForm.resx b/ShareX/Forms/TaskSettingsForm.resx
index edb283f08..16f5080a9 100644
--- a/ShareX/Forms/TaskSettingsForm.resx
+++ b/ShareX/Forms/TaskSettingsForm.resx
@@ -502,7 +502,7 @@
242, 17
- 17
+ 2
Show toast notification after task is completed
@@ -529,7 +529,7 @@
26, 23
- 16
+ 12
...
@@ -556,7 +556,7 @@
26, 23
- 15
+ 9
...
@@ -583,7 +583,7 @@
26, 23
- 14
+ 6
...
@@ -607,7 +607,7 @@
280, 20
- 13
+ 11
txtCustomErrorSoundPath
@@ -628,7 +628,7 @@
280, 20
- 12
+ 8
txtCustomTaskCompletedSoundPath
@@ -649,7 +649,7 @@
280, 20
- 11
+ 5
txtCustomCaptureSoundPath
@@ -706,7 +706,7 @@
192, 17
- 9
+ 7
Use custom task completed sound:
@@ -736,7 +736,7 @@
156, 17
- 8
+ 4
Use custom capture sound:
@@ -753,6 +753,81 @@
9
+
+ True
+
+
+ NoControl
+
+
+ 237, 48
+
+
+ 47, 13
+
+
+ 5
+
+
+ seconds
+
+
+ lblToastWindowFadeDurationSeconds
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbToastWindow
+
+
+ 0
+
+
+ True
+
+
+ 237, 24
+
+
+ 47, 13
+
+
+ 2
+
+
+ seconds
+
+
+ lblToastWindowDurationSeconds
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbToastWindow
+
+
+ 1
+
+
+ True
+
+
+ NoControl
+
+
+ 263, 95
+
+
+ 12, 13
+
+
+ 10
+
+
+ x
+
lblToastWindowSizeX
@@ -763,7 +838,16 @@
gbToastWindow
- 0
+ 2
+
+
+ 176, 164
+
+
+ 184, 21
+
+
+ 17
cbToastWindowMiddleClickAction
@@ -775,7 +859,16 @@
gbToastWindow
- 1
+ 3
+
+
+ 176, 140
+
+
+ 184, 21
+
+
+ 15
cbToastWindowRightClickAction
@@ -787,7 +880,16 @@
gbToastWindow
- 2
+ 4
+
+
+ 176, 116
+
+
+ 184, 21
+
+
+ 13
cbToastWindowLeftClickAction
@@ -799,7 +901,19 @@
gbToastWindow
- 3
+ 5
+
+
+ 280, 92
+
+
+ 80, 20
+
+
+ 11
+
+
+ Center
nudToastWindowSizeHeight
@@ -811,7 +925,19 @@
gbToastWindow
- 4
+ 6
+
+
+ 176, 92
+
+
+ 80, 20
+
+
+ 9
+
+
+ Center
nudToastWindowSizeWidth
@@ -823,7 +949,16 @@
gbToastWindow
- 5
+ 7
+
+
+ 176, 68
+
+
+ 184, 21
+
+
+ 7
cbToastWindowPlacement
@@ -835,7 +970,19 @@
gbToastWindow
- 6
+ 8
+
+
+ 176, 44
+
+
+ 56, 20
+
+
+ 4
+
+
+ Center
nudToastWindowFadeDuration
@@ -847,7 +994,19 @@
gbToastWindow
- 7
+ 9
+
+
+ 176, 20
+
+
+ 56, 20
+
+
+ 1
+
+
+ Center
nudToastWindowDuration
@@ -859,7 +1018,25 @@
gbToastWindow
- 8
+ 10
+
+
+ True
+
+
+ NoControl
+
+
+ 13, 168
+
+
+ 98, 13
+
+
+ 16
+
+
+ Middle click action:
lblToastWindowMiddleClickAction
@@ -871,7 +1048,25 @@
gbToastWindow
- 9
+ 11
+
+
+ True
+
+
+ NoControl
+
+
+ 13, 144
+
+
+ 92, 13
+
+
+ 14
+
+
+ Right click action:
lblToastWindowRightClickAction
@@ -883,7 +1078,25 @@
gbToastWindow
- 10
+ 12
+
+
+ True
+
+
+ NoControl
+
+
+ 13, 120
+
+
+ 85, 13
+
+
+ 12
+
+
+ Left click action:
lblToastWindowLeftClickAction
@@ -895,7 +1108,25 @@
gbToastWindow
- 11
+ 13
+
+
+ True
+
+
+ NoControl
+
+
+ 13, 96
+
+
+ 30, 13
+
+
+ 8
+
+
+ Size:
lblToastWindowSize
@@ -907,7 +1138,25 @@
gbToastWindow
- 12
+ 14
+
+
+ True
+
+
+ NoControl
+
+
+ 13, 72
+
+
+ 60, 13
+
+
+ 6
+
+
+ Placement:
lblToastWindowPlacement
@@ -919,7 +1168,25 @@
gbToastWindow
- 13
+ 15
+
+
+ True
+
+
+ NoControl
+
+
+ 13, 48
+
+
+ 75, 13
+
+
+ 3
+
+
+ Fade duration:
lblToastWindowFadeDuration
@@ -931,7 +1198,25 @@
gbToastWindow
- 14
+ 16
+
+
+ True
+
+
+ NoControl
+
+
+ 13, 24
+
+
+ 50, 13
+
+
+ 0
+
+
+ Duration:
lblToastWindowDuration
@@ -943,7 +1228,7 @@
gbToastWindow
- 15
+ 17
8, 80
@@ -952,7 +1237,7 @@
552, 200
- 7
+ 3
Toast notification
@@ -982,7 +1267,7 @@
183, 17
- 6
+ 14
Disable notifications on fullscreen
@@ -1012,7 +1297,7 @@
120, 17
- 5
+ 13
Disable notifications
@@ -1803,426 +2088,6 @@
0
-
- True
-
-
- NoControl
-
-
- 263, 95
-
-
- 12, 13
-
-
- 15
-
-
- x
-
-
- lblToastWindowSizeX
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 0
-
-
- 176, 164
-
-
- 184, 21
-
-
- 14
-
-
- cbToastWindowMiddleClickAction
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 1
-
-
- 176, 140
-
-
- 184, 21
-
-
- 13
-
-
- cbToastWindowRightClickAction
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 2
-
-
- 176, 116
-
-
- 184, 21
-
-
- 12
-
-
- cbToastWindowLeftClickAction
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 3
-
-
- 280, 92
-
-
- 80, 20
-
-
- 11
-
-
- Center
-
-
- nudToastWindowSizeHeight
-
-
- System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 4
-
-
- 176, 92
-
-
- 80, 20
-
-
- 10
-
-
- Center
-
-
- nudToastWindowSizeWidth
-
-
- System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 5
-
-
- 176, 68
-
-
- 184, 21
-
-
- 9
-
-
- cbToastWindowPlacement
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 6
-
-
- 176, 44
-
-
- 56, 20
-
-
- 8
-
-
- Center
-
-
- nudToastWindowFadeDuration
-
-
- System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 7
-
-
- 176, 20
-
-
- 56, 20
-
-
- 7
-
-
- Center
-
-
- nudToastWindowDuration
-
-
- System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 8
-
-
- True
-
-
- NoControl
-
-
- 13, 168
-
-
- 98, 13
-
-
- 6
-
-
- Middle click action:
-
-
- lblToastWindowMiddleClickAction
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 9
-
-
- True
-
-
- NoControl
-
-
- 13, 144
-
-
- 92, 13
-
-
- 5
-
-
- Right click action:
-
-
- lblToastWindowRightClickAction
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 10
-
-
- True
-
-
- NoControl
-
-
- 13, 120
-
-
- 85, 13
-
-
- 4
-
-
- Left click action:
-
-
- lblToastWindowLeftClickAction
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 11
-
-
- True
-
-
- NoControl
-
-
- 13, 96
-
-
- 30, 13
-
-
- 3
-
-
- Size:
-
-
- lblToastWindowSize
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 12
-
-
- True
-
-
- NoControl
-
-
- 13, 72
-
-
- 60, 13
-
-
- 2
-
-
- Placement:
-
-
- lblToastWindowPlacement
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 13
-
-
- True
-
-
- NoControl
-
-
- 13, 48
-
-
- 75, 13
-
-
- 1
-
-
- Fade duration:
-
-
- lblToastWindowFadeDuration
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 14
-
-
- True
-
-
- NoControl
-
-
- 13, 24
-
-
- 50, 13
-
-
- 0
-
-
- Duration:
-
-
- lblToastWindowDuration
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- gbToastWindow
-
-
- 15
-
tpQuality