public VendorsForm(DataModule dm, MainForm mnu)
 {
     // InitializeComponent();
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
 }
 public BookInfoMaintenanceForm(DataModule dm, MainForm mnu)
 {
     // Initialize Component, DataModule reference
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
     BindControls();
     pnlAddBookInfo.Top     = 2;
     pnlAddBookInfo.Left    = 90;
     pnlUpdateBookInfo.Top  = 2;
     pnlUpdateBookInfo.Left = 100;
 }
 public BookMaintenanceForm(DataModule dm, MainForm mnu)
 {
     // Initialize Component, DataModule reference
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
     BindControls();
     pnlAddBook.Top     = 5;
     pnlAddBook.Left    = 20;
     pnlUpdateBook.Top  = 5;
     pnlUpdateBook.Left = 25;
 }
Example #4
0
        public ClientOrderMaintenanceForm(DataModule dm, MainForm mnu)
        {
            // Initialize Component, DataModule reference 

            InitializeComponent();
            DM = dm;
            frmMenu = mnu;
            BindControls();
            pnlAddClientOrder.Top = 50;
            pnlAddClientOrder.Left = 100;
            pnlUpdateClientOrder.Top = 10;
            pnlUpdateClientOrder.Left = 40;
        }
Example #5
0
        public VendorMaintenanceForm(DataModule dm, MainForm mnu)
        {
           // Initialize Component, DataModule reference 

            InitializeComponent();
            DM = dm;
            frmMenu = mnu;
            BindControls();
            pnlAddVendor.Left = 220;
            pnlAddVendor.Top = 40;
            pnlUpdateVendor.Left = 220;
            pnlUpdateVendor.Top = 20;
        }
Example #6
0
        //



        public AddBookToClientOrderForm(DataModule dm, MainForm mnu)
        {
            // Initialize Component, DataModule reference
            InitializeComponent();
            DM      = dm;
            frmMenu = mnu;

            // Currency Manager initialized
            cmBook        = (CurrencyManager)this.BindingContext[DM.dsBookBroker1, "BOOK"];
            cmClientOrder = (CurrencyManager)this.BindingContext[DM.dsBookBroker1, "CLIENTORDER"];
            cmDT          = (CurrencyManager)this.BindingContext[dt];
            cmCB          = (CurrencyManager)this.BindingContext[DM.dsBookBroker1, "CLIENTORDER.CLIENTORDERID_BOOK"];
            cmClient      = (CurrencyManager)this.BindingContext[DM.dsBookBroker1, "Client"];

            currencyManager  = (CurrencyManager)this.BindingContext[DM.dsBookBroker1, "Book"];
            currencyManager1 = (CurrencyManager)this.BindingContext[DM.dsBookBroker1, "Book"];
            BindControls();
        }
Example #7
0
 public InvoiceForm(DataModule dm, MainForm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
 }
Example #8
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     DM = new DataModule();
 }