repo2403/MainWindow.axaml.cs
2025-03-24 14:59:01 +03:00

24 lines
552 B
C#

using Avalonia.Controls;
using System.Threading.Tasks;
namespace demka2025_sedelnikov;
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private async void Button_Click(object? sender, Avalonia.Interactivity.RoutedEventArgs e)
{
await new ProductWindow().ShowDialog(this);
return;
}
private async void Button_Click_1(object? sender, Avalonia.Interactivity.RoutedEventArgs e)
{
await new PartnerWindow().ShowDialog(this);
return;
}
}