Exemplo n.º 1
0
        public MainController()
        {
            _newConfig = new Configuration();
            UserSettings = new UserSettings();
            GeneticsDataSet = new DB_GeneticsDataSet();
            LaunchTableAdapter = new DB_GeneticsDataSetTableAdapters.LaunchesTableAdapter();
            PersonsTableAdapter = new DB_GeneticsDataSetTableAdapters.PersonsTableAdapter();

            _mutationFactory = new MutationFactory();
            _selectionFactory = new SelectionFactory();
            _crossingoverFactory = new CrossingoverFactory();
        }
Exemplo n.º 2
0
 public SettingsWindow(UserSettings userUserSettings)
 {
     InitializeComponent();
     _userUserSettings = userUserSettings;
     DBLocationTextBox.Text = _userUserSettings.DbLocation;
 }