• 大小: 567KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-06
  • 语言: C#
  • 标签: C#  绘图板  

资源简介

C#编写的绘图板程序,可绘制三种形状,有填充功能。可直接运行。

资源截图

代码片段和文件信息

//Download by http://www.NewXing.com
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication1
{
    public partial class Anteprima : Form
    {
        public Anteprima()
        {
            InitializeComponent();
        }

        private void toolStripButton1_Click_1(object sender EventArgs e)
        {
            this.Close();
        }

        private void toolStripButton2_Click(object sender EventArgs e)
        {
            this.docToPrint.Print();
        }

        private void Anteprima_Load(object sender EventArgs e)
        {

        }

        private void Anteprima_Resize(object sender EventArgs e)
        {
            this.PrintPreviewControl1.Width = this.Width - 10;
            this.PrintPreviewControl1.Height = this.Height - this.toolStrip1.Height - 37;

        }

        private void toolStripMenuItem2_Click(object sender EventArgs e)
        {
            this.PrintPreviewControl1.Zoom = (float)System.Convert.ToDouble(toolStripMenuItem2.Text) / 100;
        }

        private void toolStripMenuItem3_Click(object sender EventArgs e)
        {
            this.PrintPreviewControl1.Zoom = (float)System.Convert.ToDouble(toolStripMenuItem3.Text) / 100; 
        }

        private void toolStripMenuItem4_Click(object sender EventArgs e)
        {
            this.PrintPreviewControl1.Zoom = (float)System.Convert.ToDouble(toolStripMenuItem4.Text) / 100; 
        }

        private void toolStripMenuItem5_Click(object sender EventArgs e)
        {
            this.PrintPreviewControl1.Zoom = (float)System.Convert.ToDouble(toolStripMenuItem5.Text) / 100; 
        }

        private void toolStripMenuItem6_Click(object sender EventArgs e)
        {
            this.PrintPreviewControl1.Zoom = (float)System.Convert.ToDouble(toolStripMenuItem6.Text) / 100; 
        }

        private void toolStripMenuItem7_Click(object sender EventArgs e)
        {
            this.PrintPreviewControl1.Zoom = (float)System.Convert.ToDouble(toolStripMenuItem7.Text) / 100; 
        }

        private void toolStripMenuItem8_Click(object sender EventArgs e)
        {
            this.PrintPreviewControl1.Zoom = (float)System.Convert.ToDouble(toolStripMenuItem8.Text) / 100; 
        }

        private void PrintPreviewControl1_MouseMove(object sender MouseEventArgs e)
        {
           
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-07-02 20:02  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\
     目录           0  2015-09-21 20:05  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\
     目录           0  2015-09-21 20:05  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\
     文件        9560  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Anteprima.Designer.cs
     文件        2575  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Anteprima.cs
     文件        6211  2007-11-08 16:46  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Anteprima.resx
     文件       11775  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\CommandForm.Designer.cs
     文件        4426  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\CommandForm.cs
     文件       17900  2007-05-11 15:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\CommandForm.resx
     文件        5216  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Form1.Designer.cs
     文件        3195  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Form1.cs
     文件        5987  2007-11-20 11:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Form1.resx
     文件       13910  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Handle.cs
     文件        3717  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Help.Designer.cs
     文件        2279  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Help.cs
     文件        5814  2007-11-09 09:37  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Help.resx
     文件         524  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Program.cs
     目录           0  2015-09-21 20:05  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Properties\
     文件        1337  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Properties\AssemblyInfo.cs
     文件        2901  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Properties\Resources.Designer.cs
     文件        5612  2007-05-02 14:08  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Properties\Resources.resx
     文件        1136  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Properties\Settings.Designer.cs
     文件         249  2007-05-02 14:08  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Properties\Settings.settings
     文件        7135  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\RichTextBoxPrintCtrl.cs
     文件        1303  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Settings.cs
     文件      120641  2007-12-04 11:37  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\Shapes.cs
     文件        1847  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\UserControl1.Designer.cs
     文件        6228  2011-06-25 09:18  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\UserControl1.cs
     文件        5814  2007-05-02 15:19  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\UserControl1.resx
     文件        5889  2007-11-29 11:46  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\WindowsApplication1.csproj
     文件         611  2007-06-01 11:13  C# 编写的绘图板(可绘了直线,矩形,圆形,填充矩形,填充圆形等)源码程序\code\WindowsApplication1\WindowsApplication1.csproj.user
............此处省略50个文件信息

评论

共有 条评论