public VR_GUI(VRConnector vr, string user, string host, string session, Bike bike = null) { InitializeComponent(); ConnLabel.Text = string.Format($"Connected to {user}@{host} with session {session}"); this.vr = vr; this.bike = bike; panel = new VRPanel(vr); MaximizeBox = false; FormBorderStyle = FormBorderStyle.FixedDialog; loadNodes(); }
public VRSceneHandler(VRConnector vr, Bike bike) { sceneLoaded = false; this.bike = bike; this.vr = vr; newMessage = " "; VRr = new VRRoute(vr); node = new VRNode(vr); panel = new VRPanel(vr); VRtime = new VRTime(vr); }