随笔分类 - WinForm
摘要:using System.Runtime.InteropServices; using System.Windows.Forms; namespace WindowsFormsApp { public partial class Form1 : Form { public Form1() { Ini
阅读全文
摘要:win32 API using System; //using System.Drawing; using System.Runtime.InteropServices; using System.Text; using System.Windows.Forms; namespace Transfe
阅读全文
摘要:public partial class Label4L1 : PictureBox { [Browsable(true), Description("鼠标悬浮,填充图片")] [Category("Appearance")] public Image HoverImage { get; set;
阅读全文
摘要:private void button1_Click(object sender, EventArgs e){ Timer timer1 = new Timer(); timer1.Interval = 1000; timer1.Enabled = truestyle="color: #000000
阅读全文
摘要:1、http://blog.csdn.net/yysyangyangyangshan/article/details/10515035 上面的这篇文章一共两段,第二段讲的是使用代码来安装发布这个WindowsService,如果不想使用代码来发布WindowsService的话可以不看。 1、打开c
阅读全文
摘要:http://blog.csdn.net/linux7985/article/details/5698932 http://www.cnblogs.com/ocean2000/archive/2008/07/09/1238944.html http://blog.csdn.net/shyghost/
阅读全文
摘要:一、右击类库 → 添加 → 新建项 → 应用程序配置文件(或者选择一个XML文件,然后将名字改成XXX.config),内容如下: <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="cons
阅读全文
摘要:步骤: 1)新建工程 2)在窗体上放置一个Label控件,命名为lblClock。并设置以下属性 this.lblClock.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblClock.Name = "lblCl
阅读全文