ThumbnailViewSelectedIndexChanged Event |
Namespace: Atalasoft.Imaging.WinControls
private void thumbnailView1_SelectedIndexChanged(object sender, System.EventArgs e) { if (thumbnailView1.SelectedIndices.Count > 0) { workspaceViewer1.Open(_currentFile, thumbnailView1.SelectedIndices[0]); } }
Private Sub thumbnailView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles thumbnailView1.SelectedIndexChanged If thumbnailView1.SelectedIndices.Count > 0 Then workspaceViewer1.Open(_currentFile, thumbnailView1.SelectedIndices(0)) End If End Sub