public AssignmentTarget(Typ TargetTypParameter) { TargetTyp = TargetTypParameter; }
private void TypFromPlakatChanged(Typ OldValue, Typ NewValue) { }
public int CounterForTyp(Typ typ) => Vorschlaege.Where(whe => whe.Typ == typ).Count();
private void FillParameterForConnectionSelector(Typ[] AllAssignableEntries, AssignmentTarget Target, Guid ConnectorItemID, AllowedTypForTyp.TypeOfAssignmentEnum AssignmentType) { switch (AssignmentType) { case AllowedTypForTyp.TypeOfAssignmentEnum.PersonenZuParentOrganisationen: Target.Selector.SubSelectionForConnectorTable = $" and {AllowedTypenForTypTable.TypeOfAssignmentCol} = '{AssignmentType.ToString()}' "; Target.Selector.ActualTypeOfAssignment = AssignmentType; Target.Selector.AssigneableHeadLine = "Zuordenbare Personentypen"; Target.Selector.AssignedHeadLine = "Zugeordnete Personentypen (Mutter Organisation) als " + AssignmentType; Target.Selector.ConnectorTableName = AllowedTypenForTypTable.NativeName; Target.Selector.ConnectorItemName = AllowedTypenForTypTable.BasicTypIdCol; Target.Selector.ConnectorItemID = ConnectorItemID; Target.Selector.ConnectedToItemName = AllowedTypenForTypTable.AllowedTypIdCol; Target.Selector.ConnectedToTableName = TypenTable.NativeName; Target.Selector.DataRowDisplayNameCreatorFunc = delegate (DataRow Row) { return Row["TypNameID"].ToString(); }; Target.Selector.AddItemsToAvailableCompleteList(AllAssignableEntries); break; case AllowedTypForTyp.TypeOfAssignmentEnum.PersonenZuOrganisationen: Target.Selector.SubSelectionForConnectorTable = $" and {AllowedTypenForTypTable.TypeOfAssignmentCol} = '{AssignmentType.ToString()}' "; Target.Selector.ActualTypeOfAssignment = AssignmentType; Target.Selector.AssigneableHeadLine = "Zuordenbare Personentypen"; Target.Selector.AssignedHeadLine = "Zugeordnete Personentypen (Organisation) für " + AssignmentType; Target.Selector.ConnectorTableName = AllowedTypenForTypTable.NativeName; Target.Selector.ConnectorItemName = AllowedTypenForTypTable.BasicTypIdCol; Target.Selector.ConnectorItemID = ConnectorItemID; Target.Selector.ConnectedToItemName = AllowedTypenForTypTable.AllowedTypIdCol; Target.Selector.ConnectedToTableName = TypenTable.NativeName; Target.Selector.DataRowDisplayNameCreatorFunc = delegate (DataRow Row) { return Row["TypNameID"].ToString(); }; Target.Selector.AddItemsToAvailableCompleteList(AllAssignableEntries); break; case AllowedTypForTyp.TypeOfAssignmentEnum.PersonenGruppen: Target.Selector.SubSelectionForConnectorTable = $" and {AllowedTypenForTypTable.TypeOfAssignmentCol} = '{AssignmentType.ToString()}' "; Target.Selector.ActualTypeOfAssignment = AssignmentType; Target.Selector.AssigneableHeadLine = "Zuordenbare Personentypen"; Target.Selector.AssignedHeadLine = "Zugeordnete Personentypen (PersonenGruppen) als " + AssignmentType; Target.Selector.ConnectorTableName = AllowedTypenForTypTable.NativeName; Target.Selector.ConnectorItemName = AllowedTypenForTypTable.BasicTypIdCol; Target.Selector.ConnectorItemID = ConnectorItemID; Target.Selector.ConnectedToItemName = AllowedTypenForTypTable.AllowedTypIdCol; Target.Selector.ConnectedToTableName = TypenTable.NativeName; Target.Selector.DataRowDisplayNameCreatorFunc = delegate (DataRow Row) { return Row["TypNameID"].ToString(); }; Target.Selector.AddItemsToAvailableCompleteList(AllAssignableEntries); break; } }
public GenderSummStatistikClass(WordUp.DataSelection dataSelection, Typ typToProcess) : base(dataSelection, typToProcess) { }
public GenderStatistikClass (WordUp.DataSelection dataSelection, Typ typToProcess) :base(dataSelection, typToProcess) { this.PageBreakAllowedBefore = true; }
public GenderCompareStatistikClass(Typ typToProcess) { CounterTyp = typToProcess; this.PageBreakAllowedBefore = true; }
public GenderRootStatistikClass(WordUp.DataSelection dataSelection, Typ counterTyp) { CounterTyp = counterTyp; DataSelection = dataSelection; }
private void RepositionTheTypWindow(Typ NewElementToPresent) { TreeViewItem itemToSelect = TypOrderedProjekteTreeView.GetVisualChildByCondition<TreeViewItem>(treeViewItem=>treeViewItem.DataContext == NewElementToPresent); if (itemToSelect == null) return; itemToSelect.IsSelected = true; itemToSelect.IsExpanded = true; itemToSelect.BringIntoView(); }