internal GuiBuilderWindow(GuiBuilderProject fproject, Stetic.Project gproject, Stetic.WidgetInfo rootWidget) { this.fproject = fproject; this.rootWidget = rootWidget; this.gproject = gproject; name = rootWidget.Name; gproject.ProjectReloaded += OnProjectReloaded; rootWidget.Changed += OnChanged; }
/* * void OnFileEvent (object o, ProjectFileEventArgs args) * { * if (!IdeApp.IsInitialized || !IdeApp.Workspace.IsOpen || !File.Exists (ObjectsFile)) * return; * * UpdateObjectsFile (); * }*/ public void Dispose() { if (resourceProvider != null) { System.Runtime.Remoting.RemotingServices.Disconnect(resourceProvider); } resourceProvider = null; if (builderProject != null) { builderProject.Dispose(); } builderProject = null; if (referenceManager != null) { referenceManager.Dispose(); } referenceManager = null; Project = null; }
/* void OnFileEvent (object o, ProjectFileEventArgs args) { if (!IdeApp.IsInitialized || !IdeApp.Workspace.IsOpen || !File.Exists (ObjectsFile)) return; UpdateObjectsFile (); }*/ public void Dispose () { if (resourceProvider != null) System.Runtime.Remoting.RemotingServices.Disconnect (resourceProvider); resourceProvider = null; if (builderProject != null) builderProject.Dispose (); builderProject = null; if (referenceManager != null) referenceManager.Dispose (); referenceManager = null; Project = null; }
public DesignerPage(GuiBuilderProject gproject) { this.gproject = gproject; }