public void CreateShopsWindow() { if (Shops == null || !Shops.Visible) { Cursor.Current = Cursors.WaitCursor; Shops = new Shops.OwnerForm(); if (DockEditors) { Do.AddControl(MainForm.PanelForms, Shops); } else { Shops.Show(); } loadedForms.Add(Shops); Cursor.Current = Cursors.Arrow; } Shops.KeyDown += new KeyEventHandler(editor_KeyDown); Shops.BringToFront(); }