protected virtual void OnCurrentProjectChanged(ProjectEventArgs e) { if (CurrentSelectedProject != null) { Runtime.StringParserService.Properties["PROJECTNAME"] = CurrentSelectedProject.Name; } if (CurrentProjectChanged != null) { CurrentProjectChanged(this, e); } }
void SetProjectTitle(object sender, ProjectEventArgs e) { if (e.Project != null) { Title = String.Concat(e.Project.Name, " - ", "MonoDevelop"); } else { Title = "MonoDevelop"; } }