Skip to content

Commit d699ecc

Browse files
committed
Rename class for prompts
1 parent 2b74ddd commit d699ecc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Leaf.Forms.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<Compile Include="FormWebBrowser.Designer.cs">
4545
<DependentUpon>FormWebBrowser.cs</DependentUpon>
4646
</Compile>
47-
<Compile Include="MessageBoxes.cs" />
47+
<Compile Include="Prompts.cs" />
4848
<Compile Include="Properties\AssemblyInfo.cs" />
4949
<Compile Include="TaskbarProgress.cs" />
5050
<Compile Include="TextBoxPlaceholder.cs" />

MessageBoxes.cs renamed to Prompts.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace Leaf.Forms
55
{
6-
public static class MessageBoxes
6+
public static class Prompts
77
{
88
/// <summary>
99
/// Запрашивает подтвержение от пользователя на принудительный выход из программы, с возможной потерей результатов.
@@ -12,7 +12,7 @@ public static class MessageBoxes
1212
/// <returns>
1313
/// Вернет истину если пользователь согласился на принудительный выход из программы и резкую остановку работы, без сохранения результатов.
1414
/// </returns>
15-
public static bool WorkCancelPrompt()
15+
public static bool ExitWorkCancel()
1616
{
1717
var result = MessageBox.Show(
1818
"ВНИМАНИЕ: Возможна потеря результатов работы!" + Environment.NewLine +

0 commit comments

Comments
 (0)