deleteButton
This commit is contained in:
parent
87eca2856e
commit
c509296295
@ -5,6 +5,8 @@ using Avalonia.Controls;
|
|||||||
using Avalonia.Interactivity;
|
using Avalonia.Interactivity;
|
||||||
using Avalonia.Markup.Xaml;
|
using Avalonia.Markup.Xaml;
|
||||||
using demofinish.Model;
|
using demofinish.Model;
|
||||||
|
using MsBox.Avalonia;
|
||||||
|
using MsBox.Avalonia.Enums;
|
||||||
|
|
||||||
namespace demofinish;
|
namespace demofinish;
|
||||||
|
|
||||||
@ -33,7 +35,7 @@ public partial class AddAgent_Window : Window
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Add_Agent(object? sender, RoutedEventArgs e)
|
private async void Add_Agent(object? sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(NameBox.Text) ||
|
if (string.IsNullOrEmpty(NameBox.Text) ||
|
||||||
string.IsNullOrEmpty(InnBox.Text) || InnBox.Text.Length != 10 ||
|
string.IsNullOrEmpty(InnBox.Text) || InnBox.Text.Length != 10 ||
|
||||||
@ -85,6 +87,7 @@ public partial class AddAgent_Window : Window
|
|||||||
{
|
{
|
||||||
ErrorTextBlock.Text = "Пользователь не создан";
|
ErrorTextBlock.Text = "Пользователь не создан";
|
||||||
this.Close();
|
this.Close();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,7 +13,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("demofinish")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("demofinish")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0bc8823b13cd0f4bd874588c6a1fefa5d625dd2e")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+87eca2856e05a4101f6629a6de22de067c3df803")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("demofinish")]
|
[assembly: System.Reflection.AssemblyProductAttribute("demofinish")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("demofinish")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("demofinish")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
@ -1 +1 @@
|
|||||||
9adb3b0c79119f1f7144394ae6785f24bef3396c9b24de8e7fc96db636806b02
|
927a13217d5deb1c3c558750a7358ca4d862eb1e183c9d5d24915151f443096b
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
17443662781163412
|
17443662790448804
|
Loading…
Reference in New Issue
Block a user