/// <summary> /// Creates and opens a new LegendScrollerXWindow /// </summary> public static void Show(Window ownerWindow) { TestWindow newTestWindow = new TestWindow(); newTestWindow.Owner = ownerWindow; newTestWindow.Show(); }
void TestButton_Click(object sender, RoutedEventArgs e) { TestWindow.Show(this); }