c#经典实例----画图程序.docVIP

  • 10
  • 0
  • 约2.08万字
  • 约 29页
  • 2020-03-02 发布于安徽
  • 举报
. word范文 这是一个简单的画图程序 其源码是: using System.Drawing; using System; using System.Windows.Forms; using System.Drawing.Imaging; namespace WindowsApplication1 { partial class Form1 { /// summary /// 必需的设计器变量。 /// /summary private System.ComponentModel.IContainer components = null; /// summary /// 清理所有正在使用的资源。 /// /summary /// param name=disposing如果应释放托管资源,为 true;否则为 false。/param protected override void Dispose(bool disposing) { if (disposing (components != null)) { components.Dispose(); } base.Dispose(disposing); } public Form1() { InitializeComponent(); } #region Windows 窗体设计器生成的代码 /// summary /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// /summary private void InitializeComponent() { ponents = new System.ComponentModel.Container(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.Open = new System.Windows.Forms.ToolStripMenuItem(); this.NEW = new System.Windows.Forms.ToolStripMenuItem(); this.saveFile = new System.Windows.Forms.ToolStripMenuItem(); this.Exist = new System.Windows.Forms.ToolStripMenuItem(); this.编辑颜色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.关于ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolTip1 = new System.Windows.Forms.ToolTip(ponents); this.menuStrip2 = new System.Windows.Forms.MenuStrip(); this.画笔工具ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.画直线ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.画椭圆ToolStripMenuItem = new System.Windows.Forms.ToolStripMen

文档评论(0)

1亿VIP精品文档

相关文档