예제 #1
0
        public AddB2COForm(DataModule dm, Mainfm mnu)
        {
            InitializeComponent();
            DM            = dm;
            frmMenu       = mnu;
            cmClientOrder = (CurrencyManager)this.BindingContext[DM.dsBookBrokers, "ClientOrder"];

            BindControls();
        }
예제 #2
0
 public ClientOrderForm(DataModule dm, Mainfm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
     BindControls();
     pnlAddClientOrder.Left    = 174;
     pnlAddClientOrder.Top     = 23;
     pnlAddClientOrder.Visible = false;
     pnlUpClientOrder.Left     = 174;
     pnlUpClientOrder.Top      = 23;
     pnlUpClientOrder.Visible  = false;
     this.Width = 700;
 }
예제 #3
0
 public BookForm(DataModule dm, Mainfm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
     BindControls();
     pnlAddBook.Left    = 194;
     pnlAddBook.Top     = 13;
     pnlAddBook.Visible = false;
     pnlUpBook.Left     = 194;
     pnlUpBook.Top      = 13;
     pnlUpBook.Visible  = false;
     this.Width         = 700;
 }
예제 #4
0
 public VendorForm(DataModule dm, Mainfm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
     BindControls();
     pnlAddVendor.Left    = 194;
     pnlAddVendor.Top     = 33;
     pnlAddVendor.Visible = false;
     pnlUpVendor.Left     = 194;
     pnlUpVendor.Top      = 33;
     pnlUpVendor.Visible  = false;
     this.Width           = 700;
 }
예제 #5
0
 private void Mainfm_Load(object sender, EventArgs e)
 {
     DM = new DataModule(); //create the data module and load the dataset
 }
예제 #6
0
 public InvoiceForm(DataModule dm, Mainfm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
 }
예제 #7
0
 public VendorsForm(DataModule dm, Mainfm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
 }