• 大小: 0.18M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-23
  • 语言: C#
  • 标签: MessageBox  MES  ss  sa  函数  

资源简介

GDI之纹理画刷


资源截图

代码片段和文件信息

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

namespace DrawingBoard
{
    enum DrawTool
    { 
        Pen
        Line
        Ellipse
        Rectangle
        Rubber
    }

    public partial class Form1 : Form
    {
        private DrawTool tool;
        private Point starPt oldPtnewPt;
        private Pen pen=Pens.Red;
        private Graphics g;
        private Color forecolor;
        private int penWidth;
        private bool isDown = false;

        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load_1(object sender EventArgs e)
        {
            g = this.CreateGraphics();
        }

        private void toolColor_Click(object sender EventArgs e)
        {
            if (colorDialog1.ShowDialog() == DialogResult.OK)
            {
   

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     62976  2020-03-04 10:51  DrawingBoard\DrawingBoard\.vs\DrawingBoard\v16\.suo

     文件          0  2020-03-04 09:57  DrawingBoard\DrawingBoard\.vs\DrawingBoard\v16\Server\sqlite3\db.lock

     文件     565248  2020-03-04 10:51  DrawingBoard\DrawingBoard\.vs\DrawingBoard\v16\Server\sqlite3\storage.ide

     文件      15872  2020-03-04 10:50  DrawingBoard\DrawingBoard\DrawingBoard\bin\Debug\DrawingBoard.exe

     文件      24064  2020-03-04 10:50  DrawingBoard\DrawingBoard\DrawingBoard\bin\Debug\DrawingBoard.pdb

     文件      11600  2018-10-10 23:42  DrawingBoard\DrawingBoard\DrawingBoard\bin\Debug\DrawingBoard.vshost.exe

     文件        490  2017-03-19 05:00  DrawingBoard\DrawingBoard\DrawingBoard\bin\Debug\DrawingBoard.vshost.exe.manifest

     文件        630  2018-10-10 19:30  DrawingBoard\DrawingBoard\DrawingBoard\Bitmap1.bmp

     文件        630  2018-10-10 19:30  DrawingBoard\DrawingBoard\DrawingBoard\Bitmap2.bmp

     文件        630  2018-10-10 19:30  DrawingBoard\DrawingBoard\DrawingBoard\Bitmap3.bmp

     文件        630  2018-10-10 19:30  DrawingBoard\DrawingBoard\DrawingBoard\Bitmap4.bmp

     文件       1270  2018-10-10 19:30  DrawingBoard\DrawingBoard\DrawingBoard\Bitmap5.bmp

     文件        630  2018-10-10 19:30  DrawingBoard\DrawingBoard\DrawingBoard\Bitmap6.bmp

     文件       3948  2018-10-10 19:30  DrawingBoard\DrawingBoard\DrawingBoard\DrawingBoard.csproj

     文件       4298  2020-03-04 10:51  DrawingBoard\DrawingBoard\DrawingBoard\Form1.cs

     文件       8684  2020-03-04 10:33  DrawingBoard\DrawingBoard\DrawingBoard\Form1.Designer.cs

     文件       9742  2020-03-04 10:33  DrawingBoard\DrawingBoard\DrawingBoard\Form1.resx

     文件       1771  2020-03-04 09:58  DrawingBoard\DrawingBoard\DrawingBoard\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7431  2020-03-04 09:58  DrawingBoard\DrawingBoard\DrawingBoard\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       1965  2020-03-04 10:44  DrawingBoard\DrawingBoard\DrawingBoard\obj\x86\Debug\DrawingBoard.csproj.FileListAbsolute.txt

     文件       1012  2020-03-04 10:33  DrawingBoard\DrawingBoard\DrawingBoard\obj\x86\Debug\DrawingBoard.csproj.GenerateResource.cache

     文件        424  2020-03-04 10:33  DrawingBoard\DrawingBoard\DrawingBoard\obj\x86\Debug\DrawingBoard.csprojAssemblyReference.cache

     文件      15872  2020-03-04 10:50  DrawingBoard\DrawingBoard\DrawingBoard\obj\x86\Debug\DrawingBoard.exe

     文件       3072  2020-03-04 10:33  DrawingBoard\DrawingBoard\DrawingBoard\obj\x86\Debug\DrawingBoard.Form1.resources

     文件      24064  2020-03-04 10:50  DrawingBoard\DrawingBoard\DrawingBoard\obj\x86\Debug\DrawingBoard.pdb

     文件        180  2020-03-04 09:58  DrawingBoard\DrawingBoard\DrawingBoard\obj\x86\Debug\DrawingBoard.Properties.Resources.resources

     文件        493  2018-10-10 19:09  DrawingBoard\DrawingBoard\DrawingBoard\Program.cs

     文件       1374  2018-10-10 19:09  DrawingBoard\DrawingBoard\DrawingBoard\Properties\AssemblyInfo.cs

     文件       2876  2018-10-10 19:09  DrawingBoard\DrawingBoard\DrawingBoard\Properties\Resources.Designer.cs

     文件       5612  2018-10-10 19:09  DrawingBoard\DrawingBoard\DrawingBoard\Properties\Resources.resx

............此处省略22个文件信息

评论

共有 条评论