예제 #1
0
파일: Program.cs 프로젝트: yarivat/Admin
 static void backup_BackupContainerStarted(object sender, BackupContainerStartedEventArgs e)
 {
     if (backupArgs.WriteToConsole)
     {
         Console.WriteLine(e.ToString());
     }
 }
예제 #2
0
파일: BackupForm.cs 프로젝트: yarivat/Admin
        private void backup_BackupContainerStarted(object sender, BackupContainerStartedEventArgs e)
        {
            item      = new ListViewItem();
            item.Text = e.Container.Name;
            SetSubItem(item, 2, e.Occured.ToString(timeFormat));
            filesListView.Items.Add(item);

            Application.DoEvents();
        }