jiangyuxuan

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 7 ··· 27 下一页

2016年1月24日

摘要: using System;using System.Collections.Generic;using System.Text;using System.Windows.Forms;using System.Drawing.Printing;using System.Drawing;namespac... 阅读全文
posted @ 2016-01-24 10:26 江宇旋 阅读(3027) 评论(0) 推荐(0) 编辑

摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Drawing.Print... 阅读全文
posted @ 2016-01-24 10:24 江宇旋 阅读(4611) 评论(0) 推荐(0) 编辑

摘要: visual studio开发工具的C#主流控件属性一览表 详细的介绍了各控制属性的详细中文介绍C#控件及常用设计整理1、窗体1、常用属性(1)Name属性:用来获取或设置窗体的名称,在应用程序中可通过Name属性来引用窗体。(2) WindowState属性: 用来获取或设置窗体的窗口状态。 取值... 阅读全文
posted @ 2016-01-24 00:20 江宇旋 阅读(5837) 评论(0) 推荐(1) 编辑

2016年1月21日

摘要: windows一个特点就是设备无关性,这样就给程序控制打印机提供了很好的方法。首先引用“泥人张”写的打印API类。usingSystem;usingSystem.Collections;usingSystem.Text;usingSystem.Runtime.InteropServices;usin... 阅读全文
posted @ 2016-01-21 23:26 江宇旋 阅读(1424) 评论(0) 推荐(0) 编辑

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Drawing.Printing;using S... 阅读全文
posted @ 2016-01-21 22:48 江宇旋 阅读(2168) 评论(2) 推荐(0) 编辑

摘要: .Net 提供的打印类PrintDocument 非常简洁易用,不过在实际应用开发中往往需要对纸张进行自定义,尤其是需要进行票据打印时。这个问题也困扰了我许久,经过查阅相关的资料和多次尝试,发现其实也很简单。下面的示例就是我在.Net2.0已经验证可行的办法:using System;using S... 阅读全文
posted @ 2016-01-21 22:42 江宇旋 阅读(3509) 评论(0) 推荐(0) 编辑

摘要: C# WinForm 父窗体 子窗体 传值本次示例效果如下:Form1为父窗体(包含textBox1、button1)Form2为子窗体(包含textBox2、button2)父窗体给子窗体传值==================1.点击Form1的button1 打开Form2 父窗体给子窗体传值... 阅读全文
posted @ 2016-01-21 21:50 江宇旋 阅读(1013) 评论(0) 推荐(0) 编辑

2015年6月16日

摘要: 按钮带有data-role="button"的超链接。button 元素、工具栏中的链接以及 input 字段都会自动渲染成按钮样式,不需要添加 data-role="button"。Data-属性值描述data-cornerstrue| false规定按钮是否圆角data-iconIcons 参考... 阅读全文
posted @ 2015-06-16 00:05 江宇旋 阅读(317) 评论(0) 推荐(0) 编辑

摘要: Buttondata-role="button"data-corners true | falsedata-icon home | delete | plus | arrow-u | arrow-d | check | gear | grid | star | custom | arrow-r | ... 阅读全文
posted @ 2015-06-16 00:03 江宇旋 阅读(620) 评论(0) 推荐(0) 编辑

2015年6月15日

摘要: data-role参数表:page 页面容器,其内部的mobile元素将会继承这个容器上所设置的属性header 页面标题容器,这个容器内部可以包含文字、返回按钮、功能按钮等元素footer 页面页脚容器,这个容器内部也可以包含文字、返回按钮、功能按钮等元素content 页面内容容器,这是一个很宽... 阅读全文
posted @ 2015-06-15 22:16 江宇旋 阅读(960) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 27 下一页