Exemplo n.º 1
0
 private void frmForm_Load(object sender, EventArgs e)
 {
     ChargeSNo.VisibleIndex          = 1;
     m_ChargeData                    = m_ChargeBus.getChargeDataFromDatabase();
     grdListCharge.DataSource        = m_ChargeData;
     grdvListCharge.FocusedRowHandle = 0;
 }
Exemplo n.º 2
0
 private void frmEmployee_Load(object sender, EventArgs e)
 {
     //
     m_ChargeData = m_ChargeExecute.getChargeDataFromDatabase();
     lkEmployeeCharge.Properties.DataSource    = m_ChargeData;
     lkEmployeeCharge.Properties.DisplayMember = "TenCV";
     lkEmployeeCharge.Properties.ValueMember   = "MaCV";
     //
     m_EmployeeData             = m_EmployeeExecute.getEmployeeDataFromDatabase();
     grdListEmployee.DataSource = m_EmployeeData;
 }
 private void frmDecentralization_Load(object sender, EventArgs e)
 {
     //
     m_ChargeData             = m_ChargeExecute.getChargeDataFromDatabase();
     grdListCharge.DataSource = m_ChargeData;
 }