예제 #1
0
 /// <summary>
 /// Background worker running on Copy data from source to destination
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
 {
     try
     {
         DataCopy dc = new DataCopy();
         strFailed = dc.CopyData(strSourceDbPath, strDestinationDb);
     }
     catch (Exception ex)
     {
         MessageBox.Show("CData:3" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
예제 #2
0
 /// <summary>
 /// Background worker running on Copy data from source to destination
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
 {
     try
     {
         DataCopy dc = new DataCopy();
         strFailed = dc.CopyData(strSourceDbPath, strDestinationDb);
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "CData:3" + ex.Message;
     }
 }
 /// <summary>
 /// Background worker running on Copy data from source to destination
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
 {
     try
     {
     DataCopy dc = new DataCopy();
     strFailed = dc.CopyData(strSourceDbPath, strDestinationDb);
     }
     catch (Exception ex)
     {
         MessageBox.Show("CData:3" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }