private void OpenToolSetupWindow(object sender, RoutedEventArgs e) { ToolSetupWindow objSecondWindow = new ToolSetupWindow(); this.Visibility = Visibility.Hidden; objSecondWindow.Show(); }
//creates new instance of tool setup window and displays it private void ToolSetup_Click(object sender, RoutedEventArgs e) { ToolSetupWindow winToolSetup = new ToolSetupWindow(); winToolSetup.Show(); }