static void Main() { Application.SetHighDpiMode(HighDpiMode.SystemAware); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); SocketCommunication Sender = new SocketCommunication(); EvLoop Loop = new EvLoop(); Sender.SetLoopAddress(Loop); Loop.SetSenderAddress(Sender); Sender.Connect("172.20.149.33", 3333); //f**k yeah Application.Run(new MainForm(Loop)); }
public void SetSenderAddress(SocketCommunication a) { Sender = a; return; }