Ejemplo n.º 1
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");
 }
Ejemplo n.º 2
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");
 }
 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);
 }
Ejemplo n.º 4
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");
 }
Ejemplo n.º 5
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);
 }