Esempio n. 1
0
 private void LoadingScreen()
 {
     //ILoadingWindow window =  new LoadingForm();
     using (ILoadingWindow window = new LoadingWindow())
     {
         this.window = window;
         lock (syncFormCreated)
         {
             System.Threading.Monitor.Pulse(syncFormCreated);
         }
         window.Run();
     }
 }
Esempio n. 2
0
 public Deployment(IConfiguration configuration, IOctopusHelper helper, IWindowProvider windowProvider,
                   IChangeLogProvider provider, ILoadingWindow loadingWindow)
 {
     this._configuration     = configuration;
     this._helper            = helper;
     this._windowProvider    = windowProvider;
     this._changeLogProvider = provider;
     this._loadingWindow     = loadingWindow;
     this.Projects           = new ObservableCollection <Project>();
     this.Environments       = new ObservableCollection <Environment>();
     this.Channels           = new ObservableCollection <Channel>();
     this.InitializeComponent();
     this.Closing         += OnClosing;
     this.ContentRendered += OnContentRendered;
 }
 public LoadingWindowPresenter(ILoadingWindow loadingWindow, IApplicationModel applicationModel)
 {
     _loadingWindow      = loadingWindow;
     _applicationModel   = applicationModel;
     _windowSubPresenter = new WindowSubPresenter(applicationModel, ResourceId.LoadingWindow, _loadingWindow);
 }