public void TestInitialise()
 {
     _Presenter = Factory.Singleton.Resolve <IRebroadcastOptionsPresenter>();
     _View      = new Mock <IRebroadcastOptionsView>()
     {
         DefaultValue = DefaultValue.Mock
     }.SetupAllProperties();
 }
        /// <summary>
        /// Called after the view has been created but before the user sees anything.
        /// </summary>
        /// <param name="e"></param>
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            Localise.Form(this);
            comboBoxFormat.Items.Clear();
            foreach (var formatItem in _FormatItems)
            {
                comboBoxFormat.Items.Add(formatItem);
            }

            PopulateServers();

            _OnlineHelp = new OnlineHelpHelper(this, OnlineHelpAddress.WinFormsRebroadcastOptionsView);

            _Presenter = Factory.Singleton.Resolve <IRebroadcastOptionsPresenter>();
            _Presenter.Initialise(this);
        }
        /// <summary>
        /// Called after the view has been created but before the user sees anything.
        /// </summary>
        /// <param name="e"></param>
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            Localise.Form(this);
            comboBoxFormat.Items.Clear();
            foreach(var formatItem in _FormatItems) {
                comboBoxFormat.Items.Add(formatItem);
            }

            PopulateServers();

            _OnlineHelp = new OnlineHelpHelper(this, OnlineHelpAddress.WinFormsRebroadcastOptionsView);

            _Presenter = Factory.Singleton.Resolve<IRebroadcastOptionsPresenter>();
            _Presenter.Initialise(this);
        }
 public void TestInitialise()
 {
     _Presenter = Factory.Singleton.Resolve<IRebroadcastOptionsPresenter>();
     _View = new Mock<IRebroadcastOptionsView>() { DefaultValue = DefaultValue.Mock} .SetupAllProperties();
 }