private void openDebugPanel(object sender, EventArgs e) { dbg = new DebugPanel(parentSerialTerminal); dbg.Show(); }