public static void ChangeLocation()
        {
            if (locationDialog == null)
            {
                locationDialog             = new InputDialog();
                locationDialog.FormClosed += OnLocationDialogClosed;
                locationDialog.Show();
            }

            locationDialog.BringToFront();
        }
 public static void ChangeLocation()
 {
     if (locationDialog == null)
     {
         locationDialog             = new InputDialog();
         locationDialog.FormClosed += OnLocationDialogClosed;
         locationDialog.Show();
     }
     else
     {
         locationDialog.Activate();
     }
 }
示例#3
0
 public void UpdateLocation()
 {
     if (locationDialog == null)
     {
         locationDialog = new InputDialog {
             _wcsService = _wcsService
         };
         locationDialog.FormClosed += OnLocationDialogClosed;
         locationDialog.Show();
     }
     else
     {
         locationDialog.Activate();
     }
 }