static void OnWidgetActivated(object s, EventArgs args) { ProjectItemInfo wi = ProjectView.Selection; OpenWindow (wi); }