Example #1
0
 public void ShowDetailDialog()
 {
     if (!(SVUnit is SimulateUnitSeries) ||
         dialog != null)
     {
         return;
     }
     dialog = new MonitorDetailDialog(
         (SimulateUnitSeries)SVUnit);
     dialog.WindowStartupLocation = WindowStartupLocation.CenterScreen;
     dialog.Closed += OnDialogClosed;
     dialog.Show();
 }
Example #2
0
 private void OnDialogClosed(object sender, EventArgs e)
 {
     dialog = null;
 }