示例#1
0
        private void SwithcAndFilterImg(ITrackersItem item)
        {
            Form_ImgSwitch form_ImgSwitch = new Form_ImgSwitch(item);

            form_ImgSwitch.ShowDialog();

            Description = form_ImgSwitch.Description;
            Spoilers    = form_ImgSwitch.Spoilers;
            Imgs        = form_ImgSwitch.Imgs;
        }
示例#2
0
        public Post(preposts prPost)
        {
            switch (prPost.tracker)
            {
            case 1:
                item = new RutorItem();
                break;

            case 2:
                break;

            case 3:
                break;
            }

            Name        = item.Name;
            Description = item.Description;
            Spoilers    = item.Spoilers;
            TorrentPath = item.TorrentPath;
            PrepostID   = prPost.id;

            SwithcAndFilterImg(item);
        }