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

资源简介

通过PictureBox控件进行图像的处理。

资源截图

代码片段和文件信息

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

namespace picture
{
    public partial class Form1 : Form
    {
        byte save;
        public Form1()
        {
            InitializeComponent();
            toolStripComboBox1.SelectedIndexChanged += toolStripComboBox1_SelectedIndexChanged;
            string[] values = Enum.GetNames(typeof(PictureBoxSizeMode));
            toolStripComboBox1.Items.AddRange(values);
            toolStripComboBox1.SelectedIndex = 4;
            PictureBoxSizeMode si = (PictureBoxSizeMode)Enum.Parse(typeof(PictureBoxSizeMode) “Zoom“);
            pi

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-03-30 20:06  Picture\
     目录           0  2020-03-30 20:05  Picture\picture\
     文件       21753  2020-03-30 20:05  Picture\picture\Form1.Designer.cs
     文件       29798  2020-03-30 20:05  Picture\picture\Form1.cs
     文件        6423  2020-03-30 20:05  Picture\picture\Form1.resx
     文件         468  2020-03-20 18:25  Picture\picture\Program.cs
     目录           0  2020-03-20 18:25  Picture\picture\Properties\
     文件        1338  2020-03-20 18:25  Picture\picture\Properties\AssemblyInfo.cs
     文件        2854  2020-03-21 17:10  Picture\picture\Properties\Resources.Designer.cs
     文件        5612  2020-03-20 18:25  Picture\picture\Properties\Resources.resx
     文件        1107  2020-03-21 17:10  Picture\picture\Properties\Settings.Designer.cs
     文件         249  2020-03-20 18:25  Picture\picture\Properties\Settings.settings
     文件         161  2020-03-21 17:10  Picture\picture\app.config
     目录           0  2020-03-21 19:15  Picture\picture\bin\
     目录           0  2020-03-23 08:24  Picture\picture\bin\Debug\
     文件       26112  2020-03-30 20:30  Picture\picture\bin\Debug\picture.exe
     文件         161  2020-03-21 17:10  Picture\picture\bin\Debug\picture.exe.config
     文件       67072  2020-03-30 20:30  Picture\picture\bin\Debug\picture.pdb
     文件       24216  2020-03-30 20:30  Picture\picture\bin\Debug\picture.vshost.exe
     文件         161  2020-03-21 17:10  Picture\picture\bin\Debug\picture.vshost.exe.config
     文件         490  2013-06-18 20:28  Picture\picture\bin\Debug\picture.vshost.exe.manifest
     目录           0  2020-03-30 20:31  Picture\picture\bin\Release\
     目录           0  2020-03-20 18:25  Picture\picture\obj\
     目录           0  2020-03-26 11:02  Picture\picture\obj\Debug\
     文件        2079  2020-03-21 20:27  Picture\picture\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        6407  2020-03-30 20:29  Picture\picture\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2020-03-21 17:50  Picture\picture\obj\Debug\TempPE\
     文件        4608  2020-03-21 17:50  Picture\picture\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
     文件         180  2020-03-30 20:30  Picture\picture\obj\Debug\picture.Form1.resources
     文件         180  2020-03-22 21:01  Picture\picture\obj\Debug\picture.Help.resources
     文件         180  2020-03-30 20:30  Picture\picture\obj\Debug\picture.Properties.Resources.resources
............此处省略10个文件信息

评论

共有 条评论