Exemple #1
0
 private void bt_transfert_Click(object sender, EventArgs e)
 {
     bt_transfert.Enabled = false;
     bw_transfert.RunWorkerAsync();
     dgv_transfert.DataSource = TransfertsService.getTransferts();
 }
Exemple #2
0
 private void bw_transfert_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     bt_transfert.Enabled     = true;
     dgv_transfert.DataSource = TransfertsService.getTransferts();
     ControlerClientService.arreterTransfert();
 }
Exemple #3
0
 //Initialise la DATAGRID
 private void InitialiserListeTransfert()
 {
     dgv_transfert.DataSource    = TransfertsService.getTransferts();
     dgv_transfert.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
 }