private void AddShip_Click(object sender, RoutedEventArgs e) { var window = new AddShipWindow(MainWindowVM) { Owner = this }; window.Closed += (a, b) => { this?.Activate(); }; window.Show(); }
private void AddShip_Click(object sender, RoutedEventArgs e) { var window = new AddShipWindow(MainWindowVM); window.Show(); }