public static void ShowImage(string url, ImageType type) { Popup popup = new Popup(); ShowImageControl control = new ShowImageControl(popup); control.ShowImage(url, type); popup.Child = control; ShowPopup(popup); }
public static void ShowImages(string[] urls, int index) { Popup popup = new Popup(); ShowImageControl control = new ShowImageControl(popup); control.ShowImages(urls, ImageType.SmallImage, index); popup.Child = control; ShowPopup(popup); }
public void ShowImage(string url) => ShowImageControl.ShowImage(url);