コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: owan16/SippPC
 private void CloseWarningDialog()
 {
     if (dlg != null)
     {
         Console.WriteLine("Close window");
         dlg.HasDongle();
         dlg.Close();
         dlg = null;
     }
 }
コード例 #2
0
ファイル: MainWindow.xaml.cs プロジェクト: owan16/SippPC
        private void ShowNoDongleWarning()
        {
            if (dlg != null)
            {
                return;
            }

            // Instantiate the dialog box
            dlg = new DongleDialog();

            // Configure the dialog box
            dlg.Owner = this;

            // Open the dialog box modally
            dlg.Show();
        }