Esempio n. 1
0
 public void CreateAlliesWindow()
 {
     if (allies == null || !allies.Visible)
     {
         Cursor.Current = Cursors.WaitCursor;
         allies         = new AlliesEditor();
         if (dockEditors)
         {
             Do.AddControl(editor.Panel2, allies);
         }
         else
         {
             allies.Show();
         }
         Cursor.Current = Cursors.Arrow;
     }
     allies.KeyDown += new KeyEventHandler(editor_KeyDown);
     allies.BringToFront();
 }