// Constructor public SequencesForm(OwnerForm ownerForm) { this.ownerForm = ownerForm; InitializeComponent(); BuildSequenceListBox(); LoadSequenceProperties(); }
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(); }
// Constructor public PropertiesForm(OwnerForm ownerForm) { this.ownerForm = ownerForm; InitializeComponent(); InitializeProperties(); }