private void ButtonTest_Click(object sender, RoutedEventArgs e) { TestWindow testWindow = new TestWindow(manage); testWindow.ShowDialog(); }
/// <summary> /// This function will open the window of a new test when we press on the button "Test" /// This is a sighnup function for a click event /// </summary> /// <param name="sender">Who is sensing the event</param> /// <param name="e">Details of the event occurred</param> private void TestButton_Click(object sender, RoutedEventArgs e) { TestWindow testWind = new TestWindow(); testWind.ShowDialog(); }