/// <summary> /// Display list form when edit button is clicked /// </summary> /// <param name="sender">sender</param> /// <param name="e">event</param> private void btnEdit_Click(object sender, RoutedEventArgs e) { ListWindow window = new ListWindow(); window.Show(); }
/// <summary> /// Return to previous window when this window closes /// </summary> /// <param name="sender">sender</param> /// <param name="e">event</param> private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { ListWindow listWindow = new ListWindow(); listWindow.Show(); }