Exemplo n.º 1
0
 private void btnConnect_Click(object sender, EventArgs e)
 {
     connect = new Connect();
     connect.ProgressChanged += new ProgressChangedEventHandler(connect_ProgressChanged);
     connect.WorkComplete    += new Connect.WorkCompleteEventHandler(connect_WorkComplete);
     connect.BeginLongRunningProcess();
 }