摘要:
#region 设置页边距 //sheet.SetMargin(MarginType.LeftMargin, (double)0.6 / 3); //sheet.SetMargin(MarginType.RightMargin, (double)0.6 / 3); //sheet.SetMargin(MarginType.BottomMargin, (double)0.6 / 3); //she... 阅读全文
posted @ 2018-12-18 22:42
一只桔子2233
阅读(269)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2018-12-18 22:39
一只桔子2233
阅读(282)
评论(0)
推荐(0)
摘要:
16.2.1 基本行为 .NET 4.5引入了三个新特性(attribute),即 CallerFilePathAttribute 、 CallerLineNumber- Attribute 和 CallerMemberNameAttribute 。 三 者 均 位 于 System.Runtime 阅读全文
posted @ 2018-12-18 22:17
一只桔子2233
阅读(368)
评论(0)
推荐(0)
摘要:
在 foreach 循环内的匿名函数(通常为Lambda表达式)中捕获循环 变量时要格外小心。代码清单16-1就展示了这样一个简单的示例,它看上去似乎会输出 x 、 y 、 z 。 在C# 3和C# 4中,以上代码实际上会打印出三个 z 。循环变量( value )可由Lambda表达式捕获,且名义 阅读全文
posted @ 2018-12-18 22:00
一只桔子2233
阅读(347)
评论(0)
推荐(0)
摘要:
DataGridView赋值后 通过RowPostPaint事件绘制行号 1 private void AddXh() 2 { 3 DataGridViewTextBoxColumn col = new DataGridViewTextBoxColumn(); 4 col.Name = "xh"; 阅读全文
posted @ 2018-12-18 17:42
一只桔子2233
阅读(185)
评论(0)
推荐(0)

浙公网安备 33010602011771号