void UpdateInfo() { string path = binding.GetAbsolutePath(); if (System.IO.File.Exists(path)) { image = Images.Load(Manager.Native, path); } else { image = null; } }
void UpdateInfo() { string path = binding.GetAbsolutePath(); if (System.IO.File.Exists(path)) { image = Images.Load(Manager.Native, path); infoText = "" + image.GetWidth() + "x" + image.GetHeight(); } else { image = null; infoText = ""; } }
void UpdateInfo() { string path = binding.GetAbsolutePath(); if (System.IO.File.Exists(path)) { thumbnail = ThumbnailManager.Load(path); if (thumbnail == null) { infoText = ""; return; } var image = thumbnail.Image; infoText = "" + image.GetWidth() + "x" + image.GetHeight(); } else { thumbnail = null; infoText = ""; } }
void UpdateInfo() { string path = binding.GetAbsolutePath(); image = Images.Load(Manager.Native, path); }