Generated Image
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Runtime.InteropServices; ... 阅读全文
posted @ 2007-02-12 21:28 桂圆 阅读(473) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using Microsoft.Win32;.............. private void bu... 阅读全文
posted @ 2007-02-12 21:19 桂圆 阅读(1599) 评论(4) 推荐(0) 编辑
摘要: 首先我们要将窗口类继承于 System.Windows.Forms.Form, IMessageFilter namespace WindowsApplication1{ public partial class Form1 : System.Windows.Forms.Form, IMessageFilter { public Form1() { ... 阅读全文
posted @ 2007-02-12 21:09 桂圆 阅读(850) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Runtime.InteropServices; ......[STAThread] ... 阅读全文
posted @ 2007-02-12 15:44 桂圆 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 只需拽个 Timer 然后双击 创建一个事件 private void timer1_Tick(object sender, System.EventArgs e) {//移动程序窗体位置 int ScreenWidth=SystemInformation.PrimaryMonitorMaximizedWindowSize.Width; ... 阅读全文
posted @ 2007-02-12 15:34 桂圆 阅读(527) 评论(0) 推荐(0) 编辑
摘要: static void Main() { Application.Run(new Form1()); } [System.Runtime.InteropServices.DllImport("gdi32")] private static extern IntPtr CreateFont(int H,in... 阅读全文
posted @ 2007-02-12 12:38 桂圆 阅读(711) 评论(0) 推荐(0) 编辑
摘要: private void button1_Click(object sender, System.EventArgs e) {//保存为EXCEL文件 if(this.listView1.Items.Count0) { MyRange =MyWorkSheet.get_Range("A2",M... 阅读全文
posted @ 2007-02-12 12:27 桂圆 阅读(826) 评论(1) 推荐(0) 编辑