public void InitPlugin(TabPage pluginScreenSpace, Label pluginStatusText) { Controller = new TcpController(this); Controller.Mode = TcpMode.Server; maintabpage = new MainTabPage(this); lblStatus = pluginStatusText; pluginScreenSpace.Controls.Add(maintabpage); maintabpage.Dock = DockStyle.Fill; lblStatus.Text = "Plugin Started"; pluginScreenSpace.Text = "LAN Settings"; maintabpage.AutoStart(); }