private void ExecuteDonationCommand() { DonationDialog dialog = new DonationDialog(); dialog.Owner = App.Current.MainWindow; dialog.ShowDialog(); }
private void MenuDonation_Click(object sender, EventArgs e) { var dialog = new DonationDialog(); dialog.ShowInTaskbar = false; dialog.ShowDialog(this); }