LABWORK-1 #1

Merged
bekodeg merged 5 commits from LABWORK-1 into dev 2024-09-17 11:06:41 +04:00
3 changed files with 13 additions and 6 deletions
Showing only changes of commit 787de84492 - Show all commits

View File

@ -1,4 +1,6 @@
namespace Cop.Borovkov.Var3.Components using Cop.Borovkov.Var3.Exceptions;
namespace Cop.Borovkov.Var3.Components
{ {
public partial class CustomNumericInputField : UserControl public partial class CustomNumericInputField : UserControl
{ {
@ -48,7 +50,7 @@
return value; return value;
} }
throw new InvalidOperationException(); throw new InvalidNumericInputValueException();
} }
set set
{ {

View File

@ -7,8 +7,4 @@
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<Folder Include="Exceptions\" />
</ItemGroup>
</Project> </Project>

View File

@ -0,0 +1,9 @@
namespace Cop.Borovkov.Var3.Exceptions
{
public class InvalidNumericInputValueException : Exception
{
public InvalidNumericInputValueException() { }
public InvalidNumericInputValueException(string message) : base(message) { }
}
}