public CompareFormVM(GroupVM group, CompareTable compareTable) : base(group) { this.groupModel = group.GroupModel; this.compareTable = compareTable; rows = new ObservableCollection<CompareRowVM>(); }
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; }
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); }
private GroupVM createGroup(Group group) { return new GroupVM(this, group); }
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; }