Exemplo n.º 1
0
 public MainForm()
 {
     InitializeComponent();
     listViewColumnSorter = new ListViewColumnSorter();
     listViewItemsQueue.ListViewItemSorter = listViewColumnSorter;
     queueBackgroundWorker = new BackgroundWorker();
     queueBackgroundWorker.WorkerReportsProgress      = true;
     queueBackgroundWorker.WorkerSupportsCancellation = true;
     queueBackgroundWorker.DoWork          += queueWorker_DoWork;
     queueBackgroundWorker.ProgressChanged += queueWorker_ProgressChanged;
     fileRenameService = new FileRenameService();
     fileRenameService.StartService();
 }