private void secPicListView_DoubleClick(object sender, EventArgs e) { FormDetailedPic detail = new FormDetailedPic(); detail.Img = RemoteImaging.Core.ImageDetail.FromPath(this.secPicListView.FocusedItem.Tag as string); detail.Show(this); }
private void ShowDetailPic(ImageDetail img) { FormDetailedPic detail = new FormDetailedPic(); detail.Img = img; detail.ShowDialog(this); detail.Dispose(); }