public PremiumMigrationForm()
        {
            InitializeComponent();

            var assemblyResolver = new AssemblyResolver();

            assemblyResolver.Resolve();

            _requestHandler = new WebRequestHandler();

            _viewState = new FormViewState(environmentCbox, messageTypeCbox, migrationTypeCbox, usernameTbox);
            _viewState.FillComboBoxes();

            _migrationHandler = new MigrationHandler(_requestHandler, _viewState);

            Text = string.Format("Premium Migration v{0}.{1}", _viewState.ApplicationVersion.Major, _viewState.ApplicationVersion.Minor);
        }
 public MigrationHandler(WebRequestHandler requestHandler, FormViewState viewState)
 {
     _requestHandler = requestHandler;
     _viewState      = viewState;
 }