public AssemblyAnalyserView() { AssemblyAnalyserViewInstance = this; assemblyAnalyserControl = new AssemblyAnalyserControl (); IProjectService projectService = (IProjectService) ServiceManager.GetService (typeof (IProjectService)); projectService.StartBuild += new EventHandler (ProjectServiceStartBuild); projectService.EndBuild += new EventHandler (ProjectServiceEndBuild); RefreshProjectAssemblies (); }
public override void Dispose() { DisposeAnalyser (); IProjectService projectService = (IProjectService) ServiceManager.GetService (typeof (IProjectService)); projectService.StartBuild -= new EventHandler (ProjectServiceStartBuild); projectService.EndBuild -= new EventHandler (ProjectServiceEndBuild); IStatusBarService statusBarService = (IStatusBarService) ServiceManager.GetService (typeof (IStatusBarService)); statusBarService.SetMessage (GettextCatalog.GetString ("Ready")); AssemblyAnalyserViewInstance = null; }