36 lines
849 B
C#
36 lines
849 B
C#
using Avalonia.Controls;
|
|
using Avalonia.Interactivity;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using tiron_demo.Context;
|
|
using tiron_demo.Models;
|
|
|
|
namespace tiron_demo;
|
|
|
|
public partial class MainWindow : Window
|
|
{
|
|
public MainWindow()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void Button_Click_Products(object? sender, RoutedEventArgs args)
|
|
{
|
|
ProductsWindow productsWindow = new ProductsWindow();
|
|
productsWindow.Show();
|
|
Close();
|
|
}
|
|
|
|
private void Button_Click_Partners(object? sender, RoutedEventArgs args)
|
|
{
|
|
PartnersWindow partnersWindow = new PartnersWindow();
|
|
partnersWindow.Show();
|
|
Close();
|
|
}
|
|
|
|
private void Button_Click_History(object? sender, RoutedEventArgs args)
|
|
{
|
|
History history = new History();
|
|
history.Show();
|
|
Close();
|
|
}
|
|
} |