You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
841 B

using CommunityToolkit.Mvvm.Messaging;
using SJ.Controls;
using System;
using System.Windows;
namespace BBWYB.Client.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : BWindow
{
public MainWindow()
{
InitializeComponent();
this.Width = SystemParameters.WorkArea.Size.Width * 0.8;
this.Height = SystemParameters.WorkArea.Size.Height * 0.7;
this.Loaded += MainWindow_Loaded;
}
private void MainWindow_Loaded(object sender, RoutedEventArgs e)
{
}
private void frame_Navigated(object sender, System.Windows.Navigation.NavigationEventArgs e)
{
if (frame.CanGoBack)
frame.RemoveBackEntry();
}
}
}