public WebInterface(XElement _Data) { Stop(); try { Port = ushort.Parse(_Data.Attribute("Port").Value); } catch { } foreach (XElement element in _Data.Elements("Scene")) { Scene scene = new Scene(element); scenes.Add(scene); } }
public SceneEditorForm(Scene _Scene) { scene = _Scene; InitializeComponent(); sceneEditor1.SetScene(scene); }