/// <summary> /// Continue after the designer generated code. /// </summary> private void InitializeComponent2() { this.mazeUserControl.MazeForm = this as IMazeForm; #region Fill the strategyComboBox with all known MazeSolvers SolverFactory.FillWithSolverTypes(strategyComboBox.Items); strategyComboBox.SelectedItem = SolverFactory.DefaultStrategy.Name; #endregion }
/// <summary> /// Continue after the designer generated code. /// </summary> private void InitializeComponent2() { this.mazeUserControl.MazeForm = this as IMazeForm; #region Unhide the non-common controls of AriadneFormBase we want to use strategyComboBox.Visible = true; visitedProgressBar.Visible = true; #endregion #region Fill the strategyComboBox with all known MazeSolvers SolverFactory.FillWithSolverTypes(strategyComboBox.Items); strategyComboBox.SelectedItem = SolverFactory.DefaultStrategy.Name; #endregion }