コード例 #1
0
 public CompareFormVM(GroupVM group, CompareTable compareTable)
     : base(group)
 {
     this.groupModel = group.GroupModel;
     this.compareTable = compareTable;
     rows = new ObservableCollection<CompareRowVM>();
 }
コード例 #2
0
ファイル: GroupFormVM.cs プロジェクト: Easy-DDI-Organizer/EDO
 public GroupFormVM(GroupVM group)
     : base(group)
 {
     this.group = group.GroupModel;
     this.Times = Options.Times;
     this.Instruments = Options.Instruments;
     this.Panels = Options.Panels;
     this.Geographies = Options.Geographies;
     this.DataSets = Options.DataSets;
     this.Languages = Options.Languages;
 }
コード例 #3
0
ファイル: GroupVM.cs プロジェクト: Easy-DDI-Organizer/EDO
        public GroupVM(MainWindowVM mainWindowVM, Group group)
            : base(mainWindowVM, group)
        {
            this.groupModel = group;
            groupForm = new GroupFormVM(this);
            MenuItemVM categoryGroup = new MenuItemVM(MenuElem.C_GROUP, groupForm);
            MenuItemVM menuDetail = new MenuItemVM(MenuElem.M_DETAIL, groupForm);
            categoryGroup.Add(menuDetail);
            this.MenuItems.Add(categoryGroup);

            compareConceptSchemeForm = new CompareFormVM(this, groupModel.ConceptSchemeCompareTable);
            MenuItemVM menuCompareDai = new MenuItemVM(MenuElem.M_COMPARE_DAI, compareConceptSchemeForm);
            categoryGroup.Add(menuCompareDai);

            compareConceptForm = new CompareFormVM(this, groupModel.ConceptCompareTable);
            MenuItemVM menuCompareSho = new MenuItemVM(MenuElem.M_COMPARE_SHO, compareConceptForm);
            categoryGroup.Add(menuCompareSho);

            compareVariableForm = new CompareFormVM(this, groupModel.VariableCompareTable);
            MenuItemVM menuCompareVariable = new MenuItemVM(MenuElem.M_COMPARE_VARIABLE, compareVariableForm);
            categoryGroup.Add(menuCompareVariable);
        }
コード例 #4
0
 private GroupVM createGroup(Group group)
 {
     return new GroupVM(this, group);
 }
コード例 #5
0
ファイル: Group.cs プロジェクト: Easy-DDI-Organizer/EDO
 public static Group CreateDefault()
 {
     Group group = new Group();
     group.Title = Resources.Group; //グループ
     group.TimeCode = Options.TIME_0_CODE;
     group.InstrumentCode = Options.INSTRUMENT_0_CODE;
     group.PanelCode = Options.PANEL_0_CODE;
     group.GeographyCode = Options.GEOGRAPHY_0_CODE;
     group.DataSetCode = Options.DATASET_0_CODE;
     group.LanguageCode = Options.LANGUAGE_0_CODE;
     return group;
 }