winform
噗噗刘
这个作者很懒,什么都没留下…
展开
-
winform中的关机,重启实现代码
首先在表示层添加Command.cs,Command里的代码如下: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using System.Drawing; using System.翻译 2013-08-21 11:01:37 · 1465 阅读 · 1 评论 -
winform C# 控件随分辨率改变而改变
public Form1() { InitializeComponent(); int count = this.Controls.Count * 2+2; float[] factor = new float[count]; int i = 0; f翻译 2013-08-21 10:50:56 · 2330 阅读 · 0 评论