Ejemplo n.º 1
0
 private void frmCompanyConfig_Load(object sender, EventArgs e)
     {
         MyCom = new CommonOperations(Program.AccountStatic.LoggingAsLocal);
         Myaccount=new AccountCreation (Program.AccountStatic.LoggingAsLocal);
         panel1.Top = (this.Height - panel1.Height) / 2;
         panel1.Left = (this.Width - panel1.Width) / 2;
         Myaccount.LoadSupplier (dgvList);
     DataTable tb=MyCom .GetDataTableAccount ("Select CurID from tblcurrency","xx");
     MyCom.LoadDatatoComboWithOutBind(txtCurrency, tb, "CurID", true);  
     }