// Constructor public InstrumentsForm(OwnerForm owner) { this.owner = owner; InitializeComponent(); InitializeVariables(); InitializeListControls(); InitializeControls(); }
public void CreateAudioWindow() { if (Audio == null || !Audio.Visible) { Cursor.Current = Cursors.WaitCursor; Audio = new Audio.OwnerForm(); if (DockEditors) { Do.AddControl(MainForm.PanelForms, Audio); } else { Audio.Show(); } loadedForms.Add(Audio); Cursor.Current = Cursors.Arrow; } Audio.KeyDown += new KeyEventHandler(editor_KeyDown); Audio.BringToFront(); }
// Constructor public TrackViewerForm(OwnerForm owner) { this.ownerForm = owner; InitializeComponent(); InitializeControls(); }