예제 #1
0
 public AssignmentTarget(Typ TargetTypParameter)
     {
     TargetTyp = TargetTypParameter;
     }
예제 #2
0
 private void TypFromPlakatChanged(Typ OldValue,
     Typ NewValue)
     {
     }
예제 #3
0
		public int CounterForTyp(Typ typ)
			=> Vorschlaege.Where(whe => whe.Typ == typ).Count();
예제 #4
0
 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;
     }
 }
예제 #5
0
		public GenderSummStatistikClass(WordUp.DataSelection dataSelection, Typ typToProcess)
			: base(dataSelection, typToProcess)
			{

			}
예제 #6
0
		public GenderStatistikClass (WordUp.DataSelection dataSelection, Typ typToProcess)
			:base(dataSelection, typToProcess)
			{
			this.PageBreakAllowedBefore = true;
			}
예제 #7
0
		public GenderCompareStatistikClass(Typ typToProcess)
			{
			CounterTyp = typToProcess;
			this.PageBreakAllowedBefore = true;
			}
예제 #8
0
		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();

        }