Exemplo n.º 1
0
 private void AboutExecuted(object sender, ExecutedRoutedEventArgs e)
 {
     WindowsUtility.ShowAboutBox(this, typeof(MainWindow).Assembly);
 }
Exemplo n.º 2
0
 private void About_Click(object sender, EventArgs e)
 {
     WindowsUtility.ShowAboutBox(this, Assembly.GetExecutingAssembly());
 }
Exemplo n.º 3
0
 private void About_Click(object?sender, RoutedEventArgs e)
 {
     WindowsUtility.ShowAboutBox(this, Assembly.GetExecutingAssembly(), nameof(RpnCalc));
 }
Exemplo n.º 4
0
#pragma warning disable CC0091 // Use static method. Designer likes instance event handlers.
        private void About_Click(object sender, EventArgs e)
#pragma warning restore CC0091 // Use static method
        {
            WindowsUtility.ShowAboutBox(null, Assembly.GetExecutingAssembly());
        }