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