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

资源简介


资源截图

代码片段和文件信息

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

using System.Data.SqlClient;

namespace bmpjpgWr
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        public static void Read_Image(OpenFileDialog openF PictureBox MyImage)
        {
            openF.Filter = “*.jpg|*.jpg|*.bmp|*.bmp“;
            if (openF.ShowDialog() == DialogResult.OK)

            {
                try
                {
                    MyImage.Image = System.Drawing.Image.FromFile(openF.FileName);

                }
                catch
                {
                

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-05-09 22:20  bmpjpgWr\
     目录           0  2013-05-09 23:31  bmpjpgWr\bmpjpgWr\
     文件         914  2013-05-09 22:20  bmpjpgWr\bmpjpgWr.sln
     文件       11776  2014-03-12 21:06  bmpjpgWr\bmpjpgWr.suo
     目录           0  2013-05-09 22:20  bmpjpgWr\bmpjpgWr\bin\
     目录           0  2013-05-09 22:29  bmpjpgWr\bmpjpgWr\bin\Debug\
     文件       11264  2014-03-12 20:51  bmpjpgWr\bmpjpgWr\bin\Debug\bmpjpgWr.exe
     文件       26112  2014-03-12 20:51  bmpjpgWr\bmpjpgWr\bin\Debug\bmpjpgWr.pdb
     文件       14328  2014-03-12 20:52  bmpjpgWr\bmpjpgWr\bin\Debug\bmpjpgWr.vshost.exe
     文件         490  2007-07-21 01:33  bmpjpgWr\bmpjpgWr\bin\Debug\bmpjpgWr.vshost.exe.manifest
     文件        3383  2013-05-09 22:27  bmpjpgWr\bmpjpgWr\bmpjpgWr.csproj
     文件        3600  2013-05-09 23:31  bmpjpgWr\bmpjpgWr\Form1.cs
     文件        4936  2013-05-09 23:23  bmpjpgWr\bmpjpgWr\Form1.Designer.cs
     文件        6017  2013-05-09 23:24  bmpjpgWr\bmpjpgWr\Form1.resx
     目录           0  2013-05-09 22:20  bmpjpgWr\bmpjpgWr\obj\
     目录           0  2014-03-12 20:51  bmpjpgWr\bmpjpgWr\obj\Debug\
     文件         499  2014-03-12 20:52  bmpjpgWr\bmpjpgWr\obj\Debug\bmpjpgWr.csproj.FileListAbsolute.txt
     文件         847  2013-05-09 23:28  bmpjpgWr\bmpjpgWr\obj\Debug\bmpjpgWr.csproj.GenerateResource.Cache
     文件       11264  2014-03-12 20:51  bmpjpgWr\bmpjpgWr\obj\Debug\bmpjpgWr.exe
     文件         180  2013-05-09 23:28  bmpjpgWr\bmpjpgWr\obj\Debug\bmpjpgWr.Form1.resources
     文件       26112  2014-03-12 20:51  bmpjpgWr\bmpjpgWr\obj\Debug\bmpjpgWr.pdb
     文件         180  2013-05-09 22:27  bmpjpgWr\bmpjpgWr\obj\Debug\bmpjpgWr.Properties.Resources.resources
     目录           0  2015-04-23 16:18  bmpjpgWr\bmpjpgWr\obj\Debug\TempPE\
     文件         469  2013-05-09 22:20  bmpjpgWr\bmpjpgWr\Program.cs
     目录           0  2013-05-09 22:20  bmpjpgWr\bmpjpgWr\Properties\
     文件        1366  2013-05-09 22:20  bmpjpgWr\bmpjpgWr\Properties\AssemblyInfo.cs
     文件        2866  2013-05-09 22:20  bmpjpgWr\bmpjpgWr\Properties\Resources.Designer.cs
     文件        5612  2013-05-09 22:20  bmpjpgWr\bmpjpgWr\Properties\Resources.resx
     文件        1093  2013-05-09 22:20  bmpjpgWr\bmpjpgWr\Properties\Settings.Designer.cs
     文件         249  2013-05-09 22:20  bmpjpgWr\bmpjpgWr\Properties\Settings.settings

评论

共有 条评论