예제 #1
0
        private void ExecuteDonationCommand()
        {
            DonationDialog dialog = new DonationDialog();

            dialog.Owner = App.Current.MainWindow;
            dialog.ShowDialog();
        }
예제 #2
0
        private void MenuDonation_Click(object sender, EventArgs e)
        {
            var dialog = new DonationDialog();

            dialog.ShowInTaskbar = false;
            dialog.ShowDialog(this);
        }