private void scanToolStripMenuItem_Click(object sender, EventArgs e) { this.disposeAllControls(); scanUserControl = new ScanUserControl(controller); this.panelContent.Controls.Add(scanUserControl); }