public static void ShowKommissionFilter(views.Projektliste pl, bool showFilter) { if (showFilter) { pl.cboKommissionBezahlt.Visibility = Visibility.Visible; } else { pl.cboKommissionBezahlt.Visibility = Visibility.Hidden; } }
public static void ConfigureView(views.Projektliste pl, Tools.ListeTypeEnum type) { switch (type) { case Tools.ListeTypeEnum.Firma: { break; } case Tools.ListeTypeEnum.Artikel: break; case Tools.ListeTypeEnum.Person: break; case Tools.ListeTypeEnum.Schiff: break; case Tools.ListeTypeEnum.Projekt: break; case Tools.ListeTypeEnum.Kalkulationliste: break; case Tools.ListeTypeEnum.Aggregat: break; case Tools.ListeTypeEnum.Zahlungsbedingung: break; case Tools.ListeTypeEnum.Standard: break; default: break; } }