Пример #1
0
        private void jpegListView_DoubleClick(object sender, EventArgs e)
        {
            ListView lv = sender as ListView;

            ListViewItem item = lv.SelectedItems[0];

            JPEGFileItem jpegItem = item.Tag as JPEGFileItem;

            PreViewForm pv = new PreViewForm(jpegItem);

            pv.ShowDialog(this);
        }
Пример #2
0
        private void jpegListView_DoubleClick(object sender, EventArgs e)
        {
            ListView lv = sender as ListView;

            ListViewItem item = lv.SelectedItems[0];

            JPEGFileItem jpegItem = item.Tag as JPEGFileItem;

            PreViewForm pv = new PreViewForm(jpegItem);
            pv.ShowDialog(this);
        }