private void OnPriviewClick(object sender, EventArgs e) { try { string imageURL = string.Format("{0}/{1}/{2}", ApplicationConfig.AttachmentPath, AttachmentPath, _ImageURL); PictureExplorer explorer = new PictureExplorer(imageURL); explorer.ShowDialog(); } catch (Exception ex) { MessageBoxEx.Error(ex); } }
private void OnPriviewClick(object sender, System.EventArgs e) { try { PictureExplorer explorer = new PictureExplorer(this.Image); explorer.ShowDialog(); } catch (Exception ex) { MessageBoxEx.Error(ex); } }