예제 #1
0
 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;
 }
예제 #2
0
        /*
         * 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;
        }
예제 #3
0
		/*
		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;
		}
예제 #4
0
 public DesignerPage(GuiBuilderProject gproject)
 {
     this.gproject = gproject;
 }