Example #1
0
 /// <summary>
 /// Registers the presenter to this form.
 /// </summary>
 /// <param name="presenter"></param>
 public void RegisterPresenter(Presenter presenter)
 {
     m_presenter = presenter;
 }
Example #2
0
 /// <summary>
 /// Sets up control, registers the presenter and also adds a job.
 /// </summary>
 /// <param name="presenter">Presenter to register.</param>
 /// <param name="job">Job to set up</param>
 public JobControlSmall(Presenter presenter, Job job)
 {
     InitializeComponent();
     m_presenter = presenter;
     AddJob(job);
 }