Ejemplo n.º 1
0
 private void tree_OnProtectionStatusChanged(object sender, ProtectionStatusChangedEventArgs e)
 {
     if (e.Protected)
     {
         this.core.AddProtectedFolder(e.Path);
     }
     else
     {
         this.core.RemoveProtected(e.Path);
     }
 }
Ejemplo n.º 2
0
 private void tree_OnProtectionStatusChanged(object sender, ProtectionStatusChangedEventArgs e)
 {
     if (e.Protected)
         this.core.AddProtectedFolder(e.Path);
     else
         this.core.RemoveProtected(e.Path);
 }