private void OnStartup(object sender, StartupEventArgs e) { IBuildServerService service = new BuildServerService(); IDomainProjectPicker projectPicker = new TeamProjectPickerAdapter(); TeamBuildDesktop teamBuildDesktop = new TeamBuildDesktop(service, projectPicker, "Team Build Screen 2012"); teamBuildDesktop.Startup(); }
private void OnStartup(Object sender, StartupEventArgs e) { IBuildServerService service = new BuildServerService(); IDomainProjectPicker projectPicker = new TeamProjectPickerAdapter(); this.screenSaver = new TeamBuildScreenSaver(service, projectPicker); string[] args = e.Args; this.screenSaver.Startup(args); }