コード例 #1
0
 public UserForm()
 {
     InitializeComponent();
     SpecialistsTab.DataSource = specialistLogic.GetAll();
     DetailTab.DataSource      = detailLogic.GetAll();
     ServiceTab.DataSource     = serviceLogic.GetAll();
     MarkTable.DataSource      = markLogic.GetAll();
 }
コード例 #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>();
        }
コード例 #3
0
 public AdminServiceWindow()
 {
     InitializeComponent();
     ServiceTable.DataSource = serviceLogic.GetAll();
 }
コード例 #4
0
ファイル: AddLoS.cs プロジェクト: Germantru98/DBApplication
 public AddLoS()
 {
     InitializeComponent();
     ContractCbox.DataSource = contractLogic.GetAll();
     ServiceCBox.DataSource  = serviceLogic.GetAll();
 }