public SplitScreen(string ip, int port) { var c1 = new ClientView(ip, port); OnClose += c1.Close; s1 = new UI.StateFrame(c1); var c2 = new ClientView(ip, port); OnClose += c2.Close; s2 = new UI.StateFrame(c2); s1.Origin = s2.Origin = Vec2.Zero; Frame.Add(s1); Frame.Add(s2); }