public MainWindow() { InitializeComponent(); ClsFrame.Ent = new DriverDBEntities(); ClsFrame.FrmBody = FrmCenter; FrmCenter.Navigate(new Auth()); }
private void BtnBack_Click(object sender, RoutedEventArgs e) { try { FrmCenter.GoBack(); } catch { this.Close(); } }