private void luaScratchpadToolStripMenuItem_Click(object sender, EventArgs e) { if (ScratchPad == null) { ScratchPad = new ScratchPad(); } ScratchPad.Show(dockPanel, DockState.Document); }