private void GetReliability_Click(object sender, RoutedEventArgs e) { ReliabilityWindow readabilityWindow = new ReliabilityWindow(); readabilityWindow.ShowDialog(); }
/// <summary> /// Reliability command /// </summary> public void GoToReliability() { var kbWindow = new ReliabilityWindow(); var mModel = new ReliabilityViewModel(); kbWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen; kbWindow.DataContext = mModel; kbWindow.ShowDialog(); }