Example #1
0
 public UserForm()
 {
     InitializeComponent();
     SpecialistsTab.DataSource = specialistLogic.GetAll();
     DetailTab.DataSource      = detailLogic.GetAll();
     ServiceTab.DataSource     = serviceLogic.GetAll();
     MarkTable.DataSource      = markLogic.GetAll();
 }
Example #2
0
        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>();
        }
Example #3
0
 public AdminServiceWindow()
 {
     InitializeComponent();
     ServiceTable.DataSource = serviceLogic.GetAll();
 }
Example #4
0
 public AddLoS()
 {
     InitializeComponent();
     ContractCbox.DataSource = contractLogic.GetAll();
     ServiceCBox.DataSource  = serviceLogic.GetAll();
 }