Exemple #1
0
    	public ProgressView(ProgressModel model)
			: this()
		{
			_model = model;
			_presenter = new ProgressPresenter(this, _model, SynchronizationContext.Current);
			SetWindowPosition();
		}
Exemple #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing && (components != null))
     {
         components.Dispose();
         if (_presenter != null)
         {
             _presenter.Dispose();
             _presenter = null;
         }
     }
     base.Dispose(disposing);
 }