• 大小: 854KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-12
  • 语言: C#
  • 标签:

资源简介

绘制矢量图程序源码:支持自定义矩形、圆弧、图片、表格等等等图像的加载及保存,支持绘制的图形移动缩放等功能。

资源截图

代码片段和文件信息

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)
        {
           
        }
    }
}

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

     文件       1145  2009-06-24 11:09  C#&Shapes\source\UpgradeLog.xml

     文件       2537  2007-11-08 16:46  C#&Shapes\source\WindowsApplication1\Anteprima.cs

     文件       9522  2007-11-08 16:46  C#&Shapes\source\WindowsApplication1\Anteprima.Designer.cs

     文件       6211  2007-11-08 16:46  C#&Shapes\source\WindowsApplication1\Anteprima.resx

     文件      45056  2009-06-24 11:08  C#&Shapes\source\WindowsApplication1\bin\Debug\AxInterop.SHDocVw.dll

     文件     126976  2009-06-24 11:08  C#&Shapes\source\WindowsApplication1\bin\Debug\Interop.SHDocVw.dll

     文件     136192  2009-06-24 11:14  C#&Shapes\source\WindowsApplication1\bin\Debug\WindowsApplication1.exe

     文件     284160  2009-06-24 11:14  C#&Shapes\source\WindowsApplication1\bin\Debug\WindowsApplication1.pdb

     文件      14328  2009-10-31 15:03  C#&Shapes\source\WindowsApplication1\bin\Debug\WindowsApplication1.vshost.exe

     文件        490  2007-07-21 01:33  C#&Shapes\source\WindowsApplication1\bin\Debug\WindowsApplication1.vshost.exe.manifest

     文件      45056  2007-11-09 09:43  C#&Shapes\source\WindowsApplication1\bin\Release\AxInterop.SHDocVw.dll

     文件     131072  2007-11-09 09:43  C#&Shapes\source\WindowsApplication1\bin\Release\Interop.SHDocVw.dll

     文件      20480  2007-05-14 09:58  C#&Shapes\source\WindowsApplication1\bin\Release\RichTextBoxPrintCtrl.dll

     文件      13824  2007-05-14 09:58  C#&Shapes\source\WindowsApplication1\bin\Release\RichTextBoxPrintCtrl.pdb

     文件        461  2007-05-02 14:13  C#&Shapes\source\WindowsApplication1\bin\Release\UserControl1.cs

     文件       1472  2007-05-02 14:10  C#&Shapes\source\WindowsApplication1\bin\Release\UserControl1.Designer.cs

     文件       5814  2007-05-02 14:10  C#&Shapes\source\WindowsApplication1\bin\Release\UserControl1.resx

     文件     139264  2007-12-05 09:28  C#&Shapes\source\WindowsApplication1\bin\Release\WindowsApplication1.exe

     文件     257536  2007-12-05 09:28  C#&Shapes\source\WindowsApplication1\bin\Release\WindowsApplication1.pdb

     文件       4388  2007-05-11 15:18  C#&Shapes\source\WindowsApplication1\CommandForm.cs

     文件      11737  2007-05-11 15:18  C#&Shapes\source\WindowsApplication1\CommandForm.Designer.cs

     文件      17900  2007-05-11 15:18  C#&Shapes\source\WindowsApplication1\CommandForm.resx

     文件       3157  2007-11-20 11:18  C#&Shapes\source\WindowsApplication1\Form1.cs

     文件       5178  2007-11-20 11:18  C#&Shapes\source\WindowsApplication1\Form1.Designer.cs

     文件       5987  2007-11-20 11:18  C#&Shapes\source\WindowsApplication1\Form1.resx

     文件      13872  2007-11-30 13:49  C#&Shapes\source\WindowsApplication1\Handle.cs

     文件       2241  2007-11-09 09:37  C#&Shapes\source\WindowsApplication1\Help.cs

     文件       3679  2007-11-09 09:37  C#&Shapes\source\WindowsApplication1\Help.Designer.cs

     文件       5814  2007-11-09 09:37  C#&Shapes\source\WindowsApplication1\Help.resx

     文件      45056  2009-06-24 11:08  C#&Shapes\source\WindowsApplication1\obj\Debug\AxInterop.SHDocVw.dll

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

评论

共有 条评论

相关资源