private void MainForm_Load(object sender, EventArgs e) { WinApi.SetWinFormTaskbarSystemMenu(this); windowFormControls = new Dictionary <UserControlsOpts, UserControl>(); openControl(UserControlsOpts.listen); }