/// <summary> /// Initializes a new instance of the <see cref="OptionsForm"/> class. /// </summary> public OptionsForm() { this.InitializeComponent(); this.presenter = new OptionsPresenter(this); this.presenter.LoadSettings(); }
public void Initialize() { this.mockView = new Mock<IOptionsView>(); this.mockSettingsService = new Mock<ISettingsService>(); this.presenter = new OptionsPresenter( this.mockView.Object, this.mockSettingsService.Object); }