/// <summary> /// Handles the Click event of the mnuNewMovie control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param> private void mnuNewMovie_Click(object sender, RoutedEventArgs e) { MovieEditor me = new MovieEditor(); Nullable <bool> result = me.ShowDialog(); if (result.HasValue && result.Value) { } }
/// <summary> /// Handles the Click event of the mnuNewMovie control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param> private void mnuNewMovie_Click(object sender, RoutedEventArgs e) { MovieEditor me = new MovieEditor(); Nullable<bool> result = me.ShowDialog(); if(result.HasValue && result.Value) { } }