private void tbApartmentWindow_OnClick(object sender, RoutedEventArgs e) { var apartmentWindow = new SecondWindow(); apartmentWindow.ShowDialog(); }
private void tbComplexWindow_OnClick(object sender, RoutedEventArgs e) { var сomplexWindow = new SecondWindow(); сomplexWindow.ShowDialog(); }