private void ResetControls() { TheFindOpenCellPhonesDataSet = ThePhonesClass.FindOpenCellPhones(); dgrOpenPhones.ItemsSource = TheFindOpenCellPhonesDataSet.FindOpenCellPhones; TheEmployeeDateEntryClass.InsertIntoEmployeeDateEntry(MainWindow.TheVerifyLogonDataSet.VerifyLogon[0].EmployeeID, "New Blue Jay ERP // Open Cell Phone List"); }
public FindOpenCellPhonesDataSet FindOpenCellPhones() { try { aFindOpenCellPhonesDataSet = new FindOpenCellPhonesDataSet(); aFindOpenCellPhonesTableAdapter = new FindOpenCellPhonesDataSetTableAdapters.FindOpenCellPhonesTableAdapter(); aFindOpenCellPhonesTableAdapter.Fill(aFindOpenCellPhonesDataSet.FindOpenCellPhones); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Phones Class // Find Open Cell Phones " + Ex.Message); } return(aFindOpenCellPhonesDataSet); }
private void ResetControls() { TheFindOpenCellPhonesDataSet = ThePhonesClass.FindOpenCellPhones(); dgrResults.ItemsSource = TheFindOpenCellPhonesDataSet.FindOpenCellPhones; }