上一页 1 ··· 21 22 23 24 25
摘要: PrintDialog printDialog = new PrintDialog(); if (printDialog.ShowDialog() == true) { System.Printing.PrintCapabilities capabilities = printDialog... 阅读全文
posted @ 2018-05-24 09:47 马肯尼煤牙巴骨 阅读(289) 评论(0) 推荐(0)
摘要: private void Button_Click(object sender, RoutedEventArgs e) { string fileName = @"C:\Users\Admin\Desktop\322.docx"; XWPFDocument document = null; t... 阅读全文
posted @ 2018-05-23 19:32 马肯尼煤牙巴骨 阅读(3563) 评论(0) 推荐(0)
摘要: ... 阅读全文
posted @ 2018-05-18 08:29 马肯尼煤牙巴骨 阅读(786) 评论(0) 推荐(0)
摘要: var param = Expression.Parameter(typeof(T)); var datetime1 = Expression.Constant(dt1); var datetime2 = Expression.Constant(dt2); var body = Expression 阅读全文
posted @ 2018-04-29 16:16 马肯尼煤牙巴骨 阅读(134) 评论(0) 推荐(0)
摘要: in above textbox code we can restrict these commands in PrviewExecuted event of CommandManager Class and in code behind add below code and your job is 阅读全文
posted @ 2018-04-20 10:16 马肯尼煤牙巴骨 阅读(222) 评论(0) 推荐(0)
摘要: ICellStyle style0 = wb.CreateCellStyle(); IDataFormat dataformat = wb.CreateDataFormat(); style0.DataFormat = dataformat.GetFormat("yyyy年MM月dd日 HH:mm" 阅读全文
posted @ 2018-04-10 20:03 马肯尼煤牙巴骨 阅读(495) 评论(0) 推荐(0)
摘要: /// <summary> /// method for changing the opacity of an image /// </summary> /// <param name="image">image to set opacity on</param> /// <param name=" 阅读全文
posted @ 2018-01-31 14:41 马肯尼煤牙巴骨 阅读(1525) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-12-16 15:35 马肯尼煤牙巴骨 阅读(2377) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25