public PixivIllustPanel(Pixiv.Illust h, bool large = true, bool file = false, bool blur = false) { this.large = large; this.file = file; this.blur = blur; this.h = h; base.h = new IHitomi(); base.h.thumbnail.preview_url = h.image_urls.LargestSizeUrl(); Init(); InitEvent(); }
public static void IllustUpdate(Pixiv.Illust h, int index, int max) { Global.MainWindow.label.Content = $"{index}/{max}"; Global.MainWindow.MainPanel.Children.Add(new UserControls.Panels.PixivIllustPanel(h)); }