摘要: 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)
摘要: public delegate void rtbCallBack(string txt); public void rtbAddText(string txt) { if (this.rtb.InvokeRequired) { this.Invoke(new rtbCallBack(rtbAddTe 阅读全文
posted @ 2016-03-24 13:56 赤月奇 阅读(144) 评论(0) 推荐(0)
摘要: Install-Package SomePackage -Source C:\PathToThePackageDir\ 阅读全文
posted @ 2015-12-22 17:07 赤月奇 阅读(579) 评论(0) 推荐(0)
摘要: sdf Label 设置背景色 Label.Foreground = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#626363")); Label.BorderBrush = ... 阅读全文
posted @ 2015-04-29 11:20 赤月奇 阅读(406) 评论(0) 推荐(0)
摘要: delegate void mydelete();DispatcherTimer dTimer = new System.Windows.Threading.DispatcherTimer(); dTimer.Tick += new EventHandler(dTimer_Tick); dTimer... 阅读全文
posted @ 2015-04-29 10:33 赤月奇 阅读(215) 评论(0) 推荐(0)
摘要: 排版:1、提供了 .h1 到 .h6 类,为的是给内联(inline)属性的文本赋予标题的样式。2、在标题内还可以包含 标签或赋予 .small 类的元素,可以用来标记副标题。排版样式:h1 .page-headersmall 副标题p .lead 稍微字体变得大一点,字体加粗一点dl文字的颜色(... 阅读全文
posted @ 2015-03-22 16:32 赤月奇 阅读(140) 评论(0) 推荐(0)
摘要: 中文网:http://www.bootcss.com/官网:http://v3.bootcss.com/需要准备:离线手册 和 软件包项目中引用bootstrap.min.js压缩版和bootstrap.min.css。bootstrap-theme.css 这个没用上 。官方包中需要在js文件夹中... 阅读全文
posted @ 2015-03-20 23:37 赤月奇 阅读(411) 评论(0) 推荐(0)