using System; using System.Drawing; using System.Windows.Forms; namespace ClipImage { public partial class FormImage : Form { #region 自定义对象 private Point position; private Rectangle clip; private NotifyIcon notifyInfo; #endregion public FormImage()
using System; using System.Drawing; using System.Windows.Forms; namespace ClipImage { public partial class FormImage : Form { #region private Point position; private Rectangle clip; #endregion public FormImage() { #region InitializeComponent(); this
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace huiji { public partial class Form1 : Form { public Form1() { InitializeCom
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace MyClockApp { public partial class Form1 : Form { public Form1() { Initiali
基于C#的典型图像处理算法 第二章: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; //using System.Drawing.Drawing2D; namespace gray { public partial
比较实用的c#小程序,小时钟 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; //download by http://www.codefans.net namespace MyClockApp { public p
用lblMode_Paint函数分别画出4条横线 4条竖线,部分程序源代码如下: private void lblMode_Paint(object sender, PaintEventArgs e) { Graphics gp = e.Graphics; gp.Clear(Color.Black); Pen p = new Pen(Color.White); for (int i = 31; i < 155; i = i + 31)//画横白线 gp.DrawLine(p, 1, i,
C#做的俄罗斯方块游戏using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Xml; using System.IO; using System.Security.Cryptography; using System.Text; using System.Runtime.Serializ
private void mpanelXaxisPaint(object sender, PaintEventArgs e) { try { int temp = 0; //Consider the graphics object of the x axis panel. Graphics g = e.Graphics; pnlXAxis.BackColor = Color.FromName(XAxisBackColor.Name); //The smoothing mode is set t
using System; using System.Drawing; using System.Windows.Forms; namespace 象棋 { public partial class Form1 : Form//依然纯代码 不过要调用图片了 棋盘自己画的 棋子是图片 { int[,] ai ={{5,4,3,2,1,2,3,4,5}, {0,0,0,0,0,0,0,0,0}, {0,6,0,0,0,0,0,6,0}, {7,0,7,0,7,0,7,0,7}, {0,0,0,0,
C#实现抛物线插值函数 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 WindowsFormsApplication2 { public partial c