NET岛

导航

2005年8月25日

访问和调用外部组件

摘要: 访问.NET和COM组件创建引用 Add Reference使用 using 关键字实例化ActiveX控件添加引用添加到Toolbox拖放控件或代码方式访问Web Service添加web 引用 Add Web Reference 实例化 webService1 myService = new WebService1();调用 myService.myMethod();异步调用例 public... 阅读全文

posted @ 2005-08-25 23:52 左佩玉 阅读(382) 评论(0) 推荐(0) 编辑

实现打印

摘要: PrintDocument myPrintDocument = new PrintDocument();Print方法初始化,引发一个或多个PrintPage事件PrintPage事件参数:PrintPageEventArgs对象Cancel 取消打印作业Graphics 打印内容HasMorePages 是否打印附加页面MarginBounds 页边空白部分范围PageBounds 总页面区域P... 阅读全文

posted @ 2005-08-25 17:33 左佩玉 阅读(476) 评论(0) 推荐(0) 编辑