예제 #1
0
        internal FeedbackPresenter(IFeedbackView view)
        {
            _view        = view;
            _apiProvider = new ApiProvider <IFeedback>();

            _view.FormLoaded    += FormLoad;
            _view.SubmitClicked += SubmitClicked;
        }
예제 #2
0
 public FeedbackPresenter(IFeedbackView view)
 {
     if (view == null) {
     throw new ArgumentNullException("view");
      }
      this.view = view;
      this.view.OK += new EventHandler(view_OK);
 }
예제 #3
0
 public FeedbackPresenter(IFeedbackView view)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     this.view     = view;
     this.view.OK += new EventHandler(view_OK);
 }