Exemplo n.º 1
0
 void showAlertViewMenuItem_Click(object sender, System.EventArgs e)
 {
     if (alertDlg == null)
     {
         alertDlg = new AlertDlg();
         alertDlg.alertControl1.SelectedStockChanged += OnSelectedStockAndDurationChanged;
         alertDlg.Disposed += alertDlg_Disposed;
         alertDlg.Show();
     }
     else
     {
         alertDlg.Activate();
     }
 }