Esempio n. 1
0
 private void AboutExecuted(object sender, ExecutedRoutedEventArgs e)
 {
     WindowsUtility.ShowAboutBox(this, typeof(MainWindow).Assembly);
 }
Esempio n. 2
0
 private void About_Click(object sender, EventArgs e)
 {
     WindowsUtility.ShowAboutBox(this, Assembly.GetExecutingAssembly());
 }
Esempio n. 3
0
 private void About_Click(object?sender, RoutedEventArgs e)
 {
     WindowsUtility.ShowAboutBox(this, Assembly.GetExecutingAssembly(), nameof(RpnCalc));
 }
Esempio 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());
        }