Example #1
0
        private void cbMCModel_SelectedIndexChanged(object sender, EventArgs e)
        {
            this._modelFolder = "";
            switch (cbMCModel.SelectedIndex)
            {
            case 1:
            {
                this._modelFolder = "Multicore";
                break;
            }

            case 2:
            {
                this._modelFolder = "Multicore 2";
                break;
            }

            case 3:
            {
                this._modelFolder = "Multicore 2 Plus";
                break;
            }
            }
            this._myModel = (eMCModels)cbMCModel.SelectedIndex;
            this.loadLocalPath();
        }
Example #2
0
        private void loadConfig()
        {
            this._localPath  = Properties.Settings.Default.LocalPath;
            this._localtHead = Properties.Settings.Default.CurrentHead;
            string[] models = Properties.Settings.Default.MCModels.Split(';');
            foreach (string model in models)
            {
                cbMCModel.Items.Add(model);
            }
            this._myModel           = (eMCModels)Properties.Settings.Default.MyMCModel;
            cbMCModel.SelectedIndex = Properties.Settings.Default.MyMCModel;
            _romsPath.Clear();
            string _rp = Properties.Settings.Default.RomsPath;

            if (!string.IsNullOrEmpty(_rp))
            {
                _romsPath = JsonConvert.DeserializeObject <Dictionary <string, string> >(_rp);
            }
        }
Example #3
0
 public Multicore2Repo(eMCModels model)
 {
     TypeDirs = new List <Multicore2TypeDirectory>();
     Model    = model;
 }