24 lines
552 B
C#
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;
|
|
}
|
|
} |