private void Button_Click_3(object sender, RoutedEventArgs e) { OwnerLogin w = new OwnerLogin(); w.Owner = this; this.Background = new SolidColorBrush(Colors.Gray); w.ShowDialog(); }
private void Button_Click(object sender, RoutedEventArgs e) { this.Close(); OwnerLogin w = new OwnerLogin(); w.Owner = this.Owner; w.ShowDialog(); }