private void _StepLevelComboBox_SelectedIndexChanged(object sender, EventArgs e) { _StepLevel = Util.ParseEnum <StepLevel>(parent.StepLevelComboBox.Items[parent.StepLevelComboBox.SelectedIndex].ToString()); // 現在のパネルモードから対象のリストを更新する ContainerFactory.ConvertModePanel.UpdatePanelView(); }
public AdjectiveEndOfWord(int _id, int _group, TimeType _time, StepLevel _level, int _comboId, AdjectiveCategory category) { this.Id = _id; this.GroupId = _group; this.TimeType = _time; this.Level = _level; this.ComboId = _comboId; this.Category = category; }
public BeingWord(int _id, SubjectCategory _subjectCategory, PersonalPronounCategory _personalCategory, StepLevel _level, int _comboId, int _priority) { this.Id = _id; this.SubjectCategory = _subjectCategory; this.PersonalCategory = _personalCategory; this.Level = _level; this.ComboId = _comboId; this.Priority = _priority; }
public VerbEndOfWord(int _id, int _groupId, int _vId, TimeType _type, StepLevel _level, int _comboId, int _priority) { this.Id = _id; this.GroupId = _groupId; this.VerbId = _vId; this.TimeType = _type; this.Level = _level; this.ComboId = _comboId; this.Priority = _priority; }
public AdjectiveNumberOfPeopleEndOfWord(int _id, int _group, PersonalPronounCategory _category, StepLevel _level, int _english, int _priority, AdjectiveCategory _adjectiveCategory) { this.Id = _id; this.GroupId = _group; this.PersonCategory = _category; this.Level = _level; this.EnglishId = _english; this.Priority = _priority; this.Category = _adjectiveCategory; }
public void Insert() { using (var context = new StackOverFlowDbContext()) { var table = new StepLevel("First Level", new Step("First Level - 1")); context.Add(table); context.SaveChanges(); var results = context.StepLevels.ToList(); } }
public void SetStepLevel() { parent.StepLevelComboBox.SelectedIndex = 0; _StepLevel = Util.ParseEnum <StepLevel>(parent.StepLevelComboBox.Items[parent.StepLevelComboBox.SelectedIndex].ToString()); parent.StepLevelComboBox.SelectedIndexChanged += _StepLevelComboBox_SelectedIndexChanged; }
public IEnumerable <int> GetRangeComboIdGroupByGroupIdAndStepLevel(int _groupId, StepLevel _level) { return(beingEndOfWordMaster.Where(n => n.Level == _level).Select(n => n.ComboId)); }
public IEnumerable <int> GetRangeIdPersonalPronounSubjectAndStepLevel(StepLevel _level, PersonalPronounCategory _personal, SubjectCategory _subject) { return(beingEndOfWordMaster.Where(n => n.Level == _level && n.PersonalCategory == _personal && n.SubjectCategory == _subject).Select(n => n.Id)); }
public IEnumerable <VerbEndOfWord> GetRangeGroupByGroupIdAndStepLevel(int _groupId, StepLevel _level) { return(verbEndOfWordMaster.Where(n => n.VerbId == _groupId && n.Level == _level)); }
public List <int> GetRangeEnglishIdGroupByGroupIdAndTimeTypeAndStepLevel(int _groupId, PersonalPronounCategory _personalCategory, StepLevel _level, AdjectiveCategory _category) { return(adjectiveNumberOfPeopleEndOfWordMaster.Where(n => n.GroupId == _groupId && n.PersonCategory == ((_personalCategory == PersonalPronounCategory.First) ? PersonalPronounCategory.First : PersonalPronounCategory.Second) && n.Level == _level && n.Category == _category) .Select(n => n.EnglishId).ToList()); }
public IEnumerable <int> GetRangeComboIdGroupByGroupIdAndTimeTypeAndStepLevel(int _groupId, TimeType _time, StepLevel _level) { return(adjectiveEndOfWordMaster.Where(n => n.GroupId == _groupId && n.TimeType == _time && n.Level == _level).Select(n => n.ComboId)); }
public IEnumerable <AdjectiveEndOfWord> GetRangeItemGroupByGroupIdAndStepLevel(int _groupId, StepLevel _level, AdjectiveCategory _category) { return(adjectiveEndOfWordMaster.Where(n => n.GroupId == _groupId && n.Level == _level && n.Category == _category)); }