• 大小: 0.04M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 图片  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;

namespace RevolveJPG
{
    public partial class Frm_Main : Form
    {
        public Frm_Main()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            openFileDialog1.Filter = “*.jpg|*.jpg“; //设置图片的类型
            openFileDialog1.ShowDialog(); //打开文件对话框
            Image myImage = System.Drawing.Image.FromFile(openFileDialog1.FileName); //实例化Image类
            pictureBox1.Image = myImage; //显示打开的图片
        }

        private void button2_Click(object sender EventArgs e)
    

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-12-22 23:11  RevolveJPG\
     文件         920  2013-05-23 07:14  RevolveJPG.sln
     文件       22016  2010-11-04 01:57  RevolveJPG.suo
     目录           0  2011-12-22 23:11  RevolveJPG\bin\
     目录           0  2013-05-23 07:14  RevolveJPG\bin\Debug\
     文件        9216  2013-05-23 07:14  RevolveJPG\bin\Debug\RevolveJPG.exe
     文件       22016  2013-05-23 07:14  RevolveJPG\bin\Debug\RevolveJPG.pdb
     文件        1152  2010-07-13 16:35  RevolveJPG\Frm_Main.cs
     文件        3889  2010-07-13 04:09  RevolveJPG\Frm_Main.designer.cs
     文件        6017  2010-07-13 04:09  RevolveJPG\Frm_Main.resx
     目录           0  2011-12-22 23:11  RevolveJPG\obj\
     目录           0  2013-05-23 07:14  RevolveJPG\obj\Debug\
     文件        7152  2013-05-23 07:14  RevolveJPG\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2011-12-22 23:11  RevolveJPG\obj\Debug\Refactor\
     文件        3677  2013-05-23 07:14  RevolveJPG\obj\Debug\RevolveJPG.csproj.FileListAbsolute.txt
     文件         850  2013-05-23 07:14  RevolveJPG\obj\Debug\RevolveJPG.csproj.GenerateResource.Cache
     文件        1757  2013-05-23 07:14  RevolveJPG\obj\Debug\RevolveJPG.csprojResolveAssemblyReference.cache
     文件        9216  2013-05-23 07:14  RevolveJPG\obj\Debug\RevolveJPG.exe
     文件         180  2013-05-23 07:14  RevolveJPG\obj\Debug\RevolveJPG.Frm_Main.resources
     文件       22016  2013-05-23 07:14  RevolveJPG\obj\Debug\RevolveJPG.pdb
     文件         180  2013-05-23 07:14  RevolveJPG\obj\Debug\RevolveJPG.Properties.Resources.resources
     目录           0  2013-05-23 07:14  RevolveJPG\obj\Debug\TempPE\
     文件        4608  2013-05-23 07:14  RevolveJPG\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
     文件         494  2010-07-08 22:19  RevolveJPG\Program.cs
     目录           0  2011-12-22 23:11  RevolveJPG\Properties\
     文件        1352  2010-07-08 22:18  RevolveJPG\Properties\AssemblyInfo.cs
     文件        2860  2013-05-23 07:14  RevolveJPG\Properties\Resources.Designer.cs
     文件        5612  2010-07-08 22:18  RevolveJPG\Properties\Resources.resx
     文件        1110  2013-05-23 07:14  RevolveJPG\Properties\Settings.Designer.cs
     文件         249  2010-07-08 22:18  RevolveJPG\Properties\Settings.settings
     文件        4024  2013-05-23 07:14  RevolveJPG\RevolveJPG.csproj
............此处省略0个文件信息

评论

共有 条评论