public UserForm() { InitializeComponent(); SpecialistsTab.DataSource = specialistLogic.GetAll(); DetailTab.DataSource = detailLogic.GetAll(); ServiceTab.DataSource = serviceLogic.GetAll(); MarkTable.DataSource = markLogic.GetAll(); }
private void DataInitialize() { SelectedAccountInfo = new Account(); AccountInformation = new Account(); var accountList = ServiceLogic.GetAll(); if (accountList != null && accountList.Any()) { AccountList = new ObservableCollection <Account>(accountList); return; } AccountList = new ObservableCollection <Account>(); }
public AdminServiceWindow() { InitializeComponent(); ServiceTable.DataSource = serviceLogic.GetAll(); }
public AddLoS() { InitializeComponent(); ContractCbox.DataSource = contractLogic.GetAll(); ServiceCBox.DataSource = serviceLogic.GetAll(); }