private void tree_OnProtectionStatusChanged(object sender, ProtectionStatusChangedEventArgs e) { if (e.Protected) { this.core.AddProtectedFolder(e.Path); } else { this.core.RemoveProtected(e.Path); } }
private void tree_OnProtectionStatusChanged(object sender, ProtectionStatusChangedEventArgs e) { if (e.Protected) this.core.AddProtectedFolder(e.Path); else this.core.RemoveProtected(e.Path); }