/// <summary>
 /// Background worker running on Copy printer settings data from source to destination
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
 {
     try
     {
         PrinterSettingsCopy psc = new PrinterSettingsCopy();
         strFailed = psc.CopyData(strSourceDBPath, strDestinationDBPath);
     }
     catch (Exception ex)
     {
         MessageBox.Show("CopyDP:4" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
예제 #2
0
 /// <summary>
 /// Background worker running on Copy printer settings data from source to destination
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
 {
     try
     {
         PrinterSettingsCopy psc = new PrinterSettingsCopy();
         strFailed = psc.CopyData(strSourceDBPath, strDestinationDBPath);
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "CopyDP:4" + ex.Message;
     }
 }
 /// <summary>
 /// Background worker running on Copy printer settings data from source to destination
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
 {
     try
     {
     PrinterSettingsCopy psc = new PrinterSettingsCopy();
     strFailed = psc.CopyData(strSourceDBPath, strDestinationDBPath);
     }
     catch (Exception ex)
     {
         MessageBox.Show("CopyDP:4" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }