Esempio n. 1
0
        /// <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)
            {
            }
        }
Esempio n. 2
0
        /// <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) {
            }
        }