摘要:
1、引用NPOI; using NPOI.HSSF.UserModel;using NPOI.HSSF.Util;using NPOI.SS.UserModel; 2、导出excel 1 private void btnadd_MouseUp(object sender, MouseButtonEv 阅读全文
posted @ 2016-05-16 11:27
赤月奇
阅读(297)
评论(0)
推荐(0)
摘要:
1 public IRow SetTJRow(HSSFWorkbook wb, ISheet sh) 2 { 3 #region 设置表头 4 IRow row1 = sh.CreateRow(0); 5 row1.Height = 20 * 20; 6 ICell icell1top = row1 阅读全文
posted @ 2016-05-16 11:16
赤月奇
阅读(234)
评论(0)
推荐(0)
摘要:
public int ctype = 0; private const int GWL_STYLE = -16; private const int WS_SYSMENU = 0x80000; [System.Runtime.InteropServices.DllImport("user32.dll 阅读全文
posted @ 2016-05-16 11:07
赤月奇
阅读(512)
评论(0)
推荐(0)
摘要:
using System.Runtime.InteropServices; [DllImport("user32.dll")] internal static extern IntPtr GetSystemMenu(IntPtr hwnd, bool bRevert); [DllImport("us 阅读全文
posted @ 2016-05-16 11:02
赤月奇
阅读(915)
评论(0)
推荐(0)