public LoginDialog() { InitializeComponent(); //Mitte von Bildschirm this.WindowStartupLocation = WindowStartupLocation.CenterScreen; hrm = new HrmManager(); }
public CustomDialog(Kunde kunde) { InitializeComponent(); hm = new HrmManager(); this.kunde = kunde; //Felder befüllen tbVorName.DataContext = kunde; tbNachn.Text = kunde.nachnameKunde; tbAdresse.Text = kunde.adresseKunde; tbPLZ.Text = kunde.PLZ.ToString(); //toString convert tbOrt.Text = kunde.Ort; tbEMail.Text = kunde.emailKunde; tbTelefon.Text = kunde.telefonKunde; }
private void Page_Loaded(object sender, RoutedEventArgs e) { hm = new HrmManager(); //Sperren der Datepicker sper = (List<Sperrung>)hm.repSperrung.Get().Where(a => a.bisSperrung > DateTime.Now).ToList(); foreach (var s in sper) { dpVon.BlackoutDates.Add(new CalendarDateRange(s.vonSperrung, s.bisSperrung)); dpBis.BlackoutDates.Add(new CalendarDateRange(s.vonSperrung, s.bisSperrung)); } cbVerpf.SelectedIndex = 0; }
private void Page_Loaded(object sender, RoutedEventArgs e) { hm = new HrmManager(); }
public BookingsToMatch() { hm = new HrmManager(); InitializeComponent(); }
private void Page_Loaded(object sender, RoutedEventArgs e) { hm = new HrmManager(); List<Kunde> kunden= hm.repKunde.Get().ToList(); KundenData.ItemsSource = kunden; }