コード例 #1
0
 internal MemberList()
 {
     InitializeComponent();
     fh     = new DBForms.DBForm(this, TopPanel, btnClose, null, btnMaximize);
     report = new DBForms.ListView <tables.Member, tables.Member>(panForm, "", DBForms.helper.Printing.MyPrinter.DataGrideViewPrinter);
     report.SearchControl(txtTitle, "FullName");
 }
コード例 #2
0
 internal Category()
 {
     InitializeComponent();
     fh = new DBForms.DBForm(this, TopPanel, btnClose);
     fh.Init <tables.BookCategory, tables.BookCategory>(this.panForm, obj);
     report = new DBForms.ListView <tables.BookCategory, tables.BookCategory>(panForm, "", DBForms.helper.Printing.MyPrinter.DataGrideViewPrinter);
 }
コード例 #3
0
 internal BookCoppisList()
 {
     InitializeComponent();
     fh     = new DBForms.DBForm(this, TopPanel, btnClose, null, btnMaximize);
     report = new DBForms.ListView <tables.BookCoppy, tables.view.BookCoppy>(panForm, "", DBForms.helper.Printing.MyPrinter.DataGrideViewPrinter);
     report.SearchControl(txtTitle, "Title");
     report.SearchControl(txtCoppyNo, "CoppyNo");
 }
コード例 #4
0
 internal FineList()
 {
     InitializeComponent();
     fh     = new DBForms.DBForm(this, TopPanel, btnClose, null, btnMaximize);
     report = new DBForms.ListView <tables.Circulation, tables.view.MemberFine>(panForm, "", DBForms.helper.Printing.MyPrinter.DataGrideViewPrinter);
     report.SearchControl(txtMemberID, "MemberID");
     report.Where("Fine>", 0);
 }
コード例 #5
0
 internal BookSearch()
 {
     InitializeComponent();
     fh     = new DBForms.DBForm(this, TopPanel, btnClose);
     report = new DBForms.ListView <tables.Book, tables.view.BooksList>(panForm, "", DBForms.helper.Printing.MyPrinter.DataGrideViewPrinter);
     report.SearchControl(txtBookTitle, "Title");
     report.SearchControl(txtBookAuthor, "Author");
     DBForms.DBForm.PopulateCombobox <tables.BookCategory>(cmbCategoryID, "ID", "CategoryName");
 }
コード例 #6
0
 internal SystemLogs()
 {
     InitializeComponent();
     fh     = new DBForms.DBForm(this, TopPanel, btnClose, null, btnMaximize);
     report = new DBForms.ListView <tables.SoftwareLogs, tables.SoftwareLogs>(panForm, "", DBForms.helper.Printing.MyPrinter.DataGrideViewPrinter);
     report.SearchControl(txtUserName, "UserName");
     report.SearchControl(dtpFromDate, "Created>");
     report.SearchControl(dtpToDate, "Created<");
     DBForms.DBForm.SetDateRange(dtpFromDate, dtpToDate);
 }