using HybirdFrameworkDriver.TcpServer; namespace WinFormStarter; public partial class Form2 : Form { private Server _server; public Form2(Server server) { _server = server; InitializeComponent(); _server.Start(9000); new FrmPLCConnect().Show(); } }