|
11 | 11 | /// You may add additional accurate notices of copyright ownership.
|
12 | 12 | /// </license>
|
13 | 13 | /// <created> 2016-04 </created>
|
14 |
| -/// <edited> 2022-06 </edited> |
| 14 | +/// <edited> 2022-08 </edited> |
15 | 15 | namespace Ordisoftware.Hebrew.Calendar;
|
16 | 16 |
|
17 | 17 | /// <summary>
|
@@ -736,15 +736,25 @@ private void ActionGenerate_Click(object sender, EventArgs e)
|
736 | 736 | }
|
737 | 737 |
|
738 | 738 | /// <summary>
|
739 |
| - /// Event handler. Called by ActionOpenExportFolder for click events. |
| 739 | + /// Event handler. Called by ActionOpenFolderExport for click events. |
740 | 740 | /// </summary>
|
741 | 741 | /// <param name="sender">Source of the event.</param>
|
742 | 742 | /// <param name="e">Event information.</param>
|
743 |
| - private void ActionOpenExportFolder_Click(object sender, EventArgs e) |
| 743 | + private void ActionOpenFolderExport_Click(object sender, EventArgs e) |
744 | 744 | {
|
745 | 745 | SystemManager.RunShell(Settings.GetExportDirectory());
|
746 | 746 | }
|
747 | 747 |
|
| 748 | + /// <summary> |
| 749 | + /// Event handler. Called by ActionOpenFolderDatabase for click events. |
| 750 | + /// </summary> |
| 751 | + /// <param name="sender">Source of the event.</param> |
| 752 | + /// <param name="e">Event information.</param> |
| 753 | + private void ActionOpenFolderDatabase_Click(object sender, EventArgs e) |
| 754 | + { |
| 755 | + SystemManager.RunShell(Globals.DatabaseFolderPath); |
| 756 | + } |
| 757 | + |
748 | 758 | /// <summary>
|
749 | 759 | /// Event handler. Called by ActionVacuumDB for click events.
|
750 | 760 | /// </summary>
|
@@ -1139,7 +1149,6 @@ private void TimerResumeReminder_Tick(object sender, EventArgs e)
|
1139 | 1149 | MenuEnableReminder.PerformClick();
|
1140 | 1150 | }
|
1141 | 1151 |
|
1142 |
| - |
1143 | 1152 | /// <summary>
|
1144 | 1153 | /// Event handler. Called by TimerMidnight for tick events.
|
1145 | 1154 | /// </summary>
|
@@ -1300,4 +1309,20 @@ private void ContextMenuDayManageBookmark_Click(object sender, EventArgs e)
|
1300 | 1309 |
|
1301 | 1310 | #endregion
|
1302 | 1311 |
|
| 1312 | + private void ActionTakeScreenshotWindow_Click(object sender, EventArgs e) |
| 1313 | + { |
| 1314 | + using var bitmap = this.GetBitmap(); |
| 1315 | + Clipboard.SetImage(bitmap); |
| 1316 | + DisplayManager.ShowSuccessOrSound(SysTranslations.ScreenshotDone.GetLang(), |
| 1317 | + Globals.ScreenshotSoundFilePath); |
| 1318 | + } |
| 1319 | + |
| 1320 | + private void ActionTakeScreenshotView_Click(object sender, EventArgs e) |
| 1321 | + { |
| 1322 | + using var bitmap = PanelMainOuter1.GetBitmap(); |
| 1323 | + Clipboard.SetImage(bitmap); |
| 1324 | + DisplayManager.ShowSuccessOrSound(SysTranslations.ScreenshotDone.GetLang(), |
| 1325 | + Globals.ScreenshotSoundFilePath); |
| 1326 | + } |
| 1327 | + |
1303 | 1328 | }
|
0 commit comments