Exemplo n.º 1
0
 private void buttonCancel_Click(object sender, EventArgs e)
 {
     CONTINGTableAdapter.Connection.Close();
     CONTINGTableAdapter.Dispose();
     WSDEALERCONTTableAdapter.Connection.Close();
     WSDEALERCONTTableAdapter.Dispose();
     ContingiacDataSet.Dispose();
 }
Exemplo n.º 2
0
 void worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     lfrm.Close();
     CONTINGTableAdapter.Connection.Close();
     CONTINGTableAdapter.Dispose();
     WSDEALERCONTTableAdapter.Connection.Close();
     WSDEALERCONTTableAdapter.Dispose();
     ContingiacDataSet.Dispose();
     Close();
 }