• 大小: 0.14M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: C#
  • 标签: 控件  图像  预览  

资源简介

具有预览功能的图像查看器用户控件

资源截图

代码片段和文件信息

using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.IO;
using System.Text;
using System.Windows.Forms;

namespace ImageViewer
{

    /// 
    /// A user control used to allow previewing
    /// the previous current and next images in a 
    /// folder containing image files
    /// 

    public partial class ImageViewer : UserControl
    {
        // private member variables
        private string mFolder;
        private ArrayList mImageList;
        private int mImagePosition;
        private Image mPreviousImage;
        private Image mCurrentImage;
        private Image mNextImage;


        /// 
        /// Default constructor
        /// 

        public ImageViewer()
        {
            InitializeComponent();
        }


        /// 
        /// Load Event for User Control
        /// 

        /// 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        1443  2008-06-05 08:03  ImageViewer\ImageViewer.sln
     文件       31744  2008-06-05 08:03  ImageViewer\ImageViewer.suo
     目录           0  2008-06-05 08:05  ImageViewer\ImageViewer\
     目录           0  2008-06-05 08:05  ImageViewer\ImageViewer\bin\
     目录           0  2008-06-05 08:03  ImageViewer\ImageViewer\bin\Release\
     文件       12800  2008-06-05 08:03  ImageViewer\ImageViewer\bin\Release\ImageViewer.dll
     文件       22016  2008-06-05 08:03  ImageViewer\ImageViewer\bin\Release\ImageViewer.pdb
     文件        9755  2008-06-05 08:03  ImageViewer\ImageViewer\ImageViewer.cs
     文件        3670  2008-06-05 08:03  ImageViewer\ImageViewer\ImageViewer.csproj
     文件          74  2008-06-05 08:03  ImageViewer\ImageViewer\ImageViewer.csproj.user
     文件        9396  2008-06-05 08:03  ImageViewer\ImageViewer\ImageViewer.Designer.cs
     文件        6022  2008-06-05 08:03  ImageViewer\ImageViewer\ImageViewer.resx
     目录           0  2008-06-05 08:03  ImageViewer\ImageViewer\Properties\
     文件        1434  2008-06-05 08:03  ImageViewer\ImageViewer\Properties\AssemblyInfo.cs
     文件        3369  2008-06-05 08:03  ImageViewer\ImageViewer\Properties\Resources.Designer.cs
     文件        6459  2008-06-05 08:03  ImageViewer\ImageViewer\Properties\Resources.resx
     目录           0  2008-06-05 08:03  ImageViewer\ImageViewer\Resources\
     文件         345  2008-06-05 08:03  ImageViewer\ImageViewer\Resources\arrow_left.png
     文件         349  2008-06-05 08:03  ImageViewer\ImageViewer\Resources\arrow_right.png
     目录           0  2008-06-05 08:05  ImageViewer\TestImageViewerControl\
     目录           0  2008-06-05 08:05  ImageViewer\TestImageViewerControl\bin\
     目录           0  2008-06-05 08:03  ImageViewer\TestImageViewerControl\bin\Release\
     文件       12800  2008-06-05 08:03  ImageViewer\TestImageViewerControl\bin\Release\ImageViewer.dll
     文件       22016  2008-06-05 08:03  ImageViewer\TestImageViewerControl\bin\Release\ImageViewer.pdb
     文件      170496  2008-06-05 08:03  ImageViewer\TestImageViewerControl\bin\Release\TestImageViewerControl.exe
     文件       22016  2008-06-05 08:03  ImageViewer\TestImageViewerControl\bin\Release\TestImageViewerControl.pdb
     文件         466  2008-06-05 08:03  ImageViewer\TestImageViewerControl\Form1.cs
     文件        2235  2008-06-05 08:03  ImageViewer\TestImageViewerControl\Form1.Designer.cs
     文件      248906  2008-06-05 08:03  ImageViewer\TestImageViewerControl\Form1.resx
     文件         514  2008-06-05 08:03  ImageViewer\TestImageViewerControl\Program.cs
     目录           0  2008-06-05 08:03  ImageViewer\TestImageViewerControl\Properties\
............此处省略6个文件信息

评论

共有 条评论