private void ButtonEditClick(object sender, EventArgs e) { if (this.Current != null) { FormImageViewer viewer = new FormImageViewer(this.Current.Image); viewer.Show(); } }
private void FormCollectionList_ImageDataSelected(object sender, EventArgs e) { FormImageViewer viewer = new FormImageViewer((string)sender); viewer.Show(); }