摘要:
using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using Microsoft.Win32;.............. private void bu... 阅读全文
摘要:
首先我们要将窗口类继承于 System.Windows.Forms.Form, IMessageFilter namespace WindowsApplication1{ public partial class Form1 : System.Windows.Forms.Form, IMessageFilter { public Form1() { ... 阅读全文
摘要:
using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Runtime.InteropServices; ......[STAThread] ... 阅读全文
摘要:
只需拽个 Timer 然后双击 创建一个事件 private void timer1_Tick(object sender, System.EventArgs e) {//移动程序窗体位置 int ScreenWidth=SystemInformation.PrimaryMonitorMaximizedWindowSize.Width; ... 阅读全文
摘要:
static void Main() { Application.Run(new Form1()); } [System.Runtime.InteropServices.DllImport("gdi32")] private static extern IntPtr CreateFont(int H,in... 阅读全文
摘要:
private void button1_Click(object sender, System.EventArgs e) {//保存为EXCEL文件 if(this.listView1.Items.Count0) { MyRange =MyWorkSheet.get_Range("A2",M... 阅读全文