예제 #1
0
        public void RemoveLabel(TorrentLabel label)
        {
            if (label.Name != null)
            {
                label.RefreshCount();
                if (label.Count != 0)
                {
                    label.UnregisterAll();
                }
                this.Labels.Remove(label);

                Labels[0].RefreshCount();
            }
        }
예제 #2
0
        public void RemoveLabel(TorrentLabel label)
        {
            if (label.Name != null)
            {
                label.RefreshCount();
                if (label.Count != 0)
                    label.UnregisterAll();
                this.Labels.Remove(label);

                Labels[0].RefreshCount();
            }
        }