登录
首页 » C# » c#用鼠标画直线

c#用鼠标画直线

于 2022-02-10 发布 文件大小:48.38 kB
0 166
下载积分: 2 下载次数: 1

代码说明:

应用背景实现动态画图,及拖动鼠标就能动态产生图形,并且颜色是可调节的,当你不喜欢颜色时候,你可以换不同的颜色,画直线,所以这个程序很好的实现了c#的动态画图,  此程序是我自己编的,不足之处还望大家指正,谢谢大家,我们一起学习,一起进步,喜欢编程的朋友可以经常交流一下,关键技术 public partial class Form1 : Form     {         Point startPoint = new Point();       //  bool showPaint = false;         public Form1()         {             InitializeComponent();         }         private void Form1_MouseDown(object sender, MouseEventArgs e)         {             startPoint = new Point(e.X, e.Y);             //{ showPaint = true; }         }         private void

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CPP.NET
    学习用C++编写.NET架构的大型程序,(Learning is written with C++. NET framework large programs,)
    2012-10-11 22:16:12下载
    积分:1
  • Microcontroller_based_2KW_UPS_Schematic_Code_PCB
    micro controller based ups invertor
    2013-11-06 17:43:09下载
    积分:1
  • Fluent.Ribbon.6.1.0.233
    说明:  Fluent.Ribbon 源码,类似office2010的界面,最近很流行的界面(Fluent. Ribbon source code, similar to the Office 2010 interface, the recently popular interface)
    2020-06-18 04:00:01下载
    积分:1
  • vccangkuguanlixitong
    vc编写的程序 能够运行 进行删除添加等功能齐全(warehouse management system source code, normal operations, a full range of functions available for reference, study)
    2010-07-04 17:04:44下载
    积分:1
  • Client
    本文以霍尔茨(HOLZER)法作为船舶轴系扭转振动的计算方法,着重研究了船舶轴系自由扭振的计算与分析,并对轴系扭振产生原因进行了分析,提出了一系列减振方法,以保证船舶动力装置的安全正常运行。(In this paper, Holtz (HOLZER) Act as the ship shafting torsional vibration calculation methods, focusing on the calculation and analysis of ship shafting torsional vibration of freedom, and the shaft torsional vibration causes analyzed, proposed a series of less vibration methods to ensure the safety of the ship s power plant running.)
    2014-07-23 10:04:16下载
    积分:1
  • buckshuangbihuan
    BUCK电路的双闭环控制matlab仿真,直接能用,参数都设置好了,效果很好。(BUCK circuit double-loop control matlab simulation, can be used directly, parameters are set up, the effect is very good.)
    2013-08-22 11:52:34下载
    积分:1
  • face
    本程序是运用SVM来实现人脸识别算法,能直接运行且能进行二次开发(This procedure is to use SVM to implement face recognition algorithm that can run directly and can perform a secondary development)
    2014-02-18 21:17:44下载
    积分:1
  • C51_Udisk
    一个51单片机读写U盘的完整资料,包括硬件原理图(.sch格式)、芯片手册、应用说明及keil c源代码(A single-chip microcomputer 51 to read and write disk U complete information, including hardware schematics (. Sch format), chip manuals, application notes and keil c source code)
    2020-10-30 19:09:56下载
    积分:1
  • s
    说明:  无线通信接受模块程序,内含数模转换应用程序。(Wireless receiving module program that includes digital to analog conversion applications.)
    2011-07-20 09:29:11下载
    积分:1
  • ksniffer_src
    WINPCAP 抓包工具,可以用来抓包等功能,十分简单的代码,可以直接使用(WINPCAP tools)
    2015-01-05 22:01:56下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载