src/Foundation/Presentation/Gimela.Presentation.Controls/Controls/MDI/MDIChild.cs
/// <summary>
/// Handles the Click event of the closeButton 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>
Handles the Click event of the closeButton control.
Handles the Click event of the closeButton control .
private void closeButton_Click(object sender, RoutedEventArgs e)
    {
      MDIClosingEventArgs eventArgs = new MDIClosingEventArgs(ClosingEvent);
      RaiseEvent(eventArgs);
      if (eventArgs.Cancel)
        return;
      Close();
      RaiseEvent(new RoutedEventArgs(ClosedEvent));
    }
private void closeButton_Click ( object sender , RoutedEventArgs e ) { MDIClosingEventArgs eventArgs = new MDIClosingEventArgs ( ClosingEvent ) ; RaiseEvent ( eventArgs ) ; if ( eventArgs . Cancel ) return ; Close ( ) ; RaiseEvent ( new RoutedEventArgs ( ClosedEvent ) ) ; }
Handles the Click event of the closeButton control.
Handles the Click event of the closeButton control .
sender
object
The source of the event.
The source of the event .
e
RoutedEventArgs
The  instance containing the event data.
The instance containing the event data .