Пример #1
0
        private void OnStartup(object sender, StartupEventArgs e)
        {
            IBuildServerService service = new BuildServerService();
            IDomainProjectPicker projectPicker = new TeamProjectPickerAdapter();

            TeamBuildDesktop teamBuildDesktop = new TeamBuildDesktop(service, projectPicker, "Team Build Screen 2010");
            teamBuildDesktop.Startup();
        }
Пример #2
0
        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);
        }