Beispiel #1
0
 // Constructor
 public SequencesForm(OwnerForm ownerForm)
 {
     this.ownerForm = ownerForm;
     InitializeComponent();
     BuildSequenceListBox();
     LoadSequenceProperties();
 }
Beispiel #2
0
 public void CreateSpritesWindow()
 {
     if (Sprites == null || !Sprites.Visible)
     {
         Cursor.Current = Cursors.WaitCursor;
         Sprites        = new Sprites.OwnerForm();
         if (DockEditors)
         {
             Do.AddControl(MainForm.PanelForms, Sprites);
         }
         else
         {
             Sprites.Show();
         }
         loadedForms.Add(Sprites);
         Cursor.Current = Cursors.Arrow;
     }
     Sprites.KeyDown += new KeyEventHandler(editor_KeyDown);
     Sprites.BringToFront();
 }
Beispiel #3
0
 // Constructor
 public PropertiesForm(OwnerForm ownerForm)
 {
     this.ownerForm = ownerForm;
     InitializeComponent();
     InitializeProperties();
 }