C1Zip:处理标准Zip文件

本文介绍用C1Zip的C1ZipFile类处理Zip文件,它包括创建、打开、编辑标准的Zip文件。还可以列出Zip文件中的条目,添加、删除、扩展或查看文件,压缩整个目录,并使用密码保护/加密。C1ZipFile是处理zip文件的类。C1ZipFile具有一个C1ZipFile.Entries属性,该属性代表了一个zip文件中条目的集合。<p><a href="http://www.grapecity.com.cn/image.ashx?picture=Zip-Open.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Zip-Open" src="http://www.grapecity.com.cn/image.ashx?picture=Zip-Open_thumb.png" alt="Zip-Open" width="696" height="396" border="0" /></a></p>

使用C1FlashCanvas绘制Flash单帧画面或背景

本文介绍C1FlashCanvas控件绘制Flash单帧画面或背景的方法。C1FlashCanvas是一个与.NET图形类相似的组件,包含了与.NET Graphics类完全相同的绘制图形的方法和属性。创建C1FlashCanvas。绘制Flash单帧画面。绘制Flash背景。生成SWF文件。用Fill方法画出的图形如下所示:<p><a href="http://www.grapecity.com.cn/image.ashx?picture=Flash-Fill.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Flash-Fill" src="http://www.grapecity.com.cn/image.ashx?picture=Flash-Fill_thumb.png" alt="Flash-Fill" width="538" height="321" border="0" /></a></p>

如何用C1实现应用程序与微软Excel的交互

本文介绍使用C1实现与微软Excel的交互。不需要安装Microsoft Excel,可以用C1简单的命令来加载工作簿、操作工作表,然后将工作簿保存到一个Excel文件。它用过程C1XLBook对象在代码中把握Excel文件,可以将任何数据从应用中转换到Excel里。OpenXML格式使得它支持对更小的、压缩的XLSX文件进行保存。在本文Demo中,就用C1XLBook导入Excel文件作为C1Chart的数据源。可以在运行时在左边面板选择不同的Excel文件,导入到C1XLBook中并读取其中的数据,效果如下图所示:<p><a href="http://www.grapecity.com.cn/image.ashx?picture=excel-import.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="excel-import" src="http://www.grapecity.com.cn/image.ashx?picture=excel-import_thumb.png" alt="excel-import" width="504" height="380" border="0" /></a></p>

用C1PDF控件从应用程序创建支持AcroForm的PDF文件

本文介绍如何使用C1PDF控件,从应用程序创建支持AcroForm的PDF文件。步骤如下:1.创建C1PdfDocument2.C1PDF支持AcroForms3.保存PDF文档生成如下的PDF文档:<p><a href="http://www.grapecity.com.cn/image.ashx?picture=PDF.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="PDF" src="http://www.grapecity.com.cn/image.ashx?picture=PDF_thumb.png" alt="PDF" width="384" height="386" border="0" /></a></p>

C1Input控件实现数据绑定以及自定义下拉界面

C1Input控件有各种类型,比如文本、数字或者日期,还定制格式,比如电话号码、文字,百分比,货币,时间,日期等等。这些类型都可以方便的进行数据绑定,每一个输入控件均可直接绑定到字段。本文就介绍如何使用C1Input控件实现数据绑定以及自定义下拉界面。数据绑定效果图:<p><a href="http://www.grapecity.com.cn/image.ashx?picture=input-databinding-1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="input-databinding-1" src="http://www.grapecity.com.cn/image.ashx?picture=input-databinding-1_thumb.png" alt="input-databinding-1" width="497" height="388" border="0" /></a></p>

C1Menus:创建源于OneNote的圆形菜单

本文介绍如用C1RadialMenu创建源于OneNote的圆形菜单,完全替代传统菜单和工具栏。首先从工具箱拖拽C1RadialMenu到窗体,它被放到底部的组件栏。其次,打开C1RadialMenu的Items,弹出RadialMenuItem的集合编辑器。添加需要的Item。它可以嵌套添加多层的Item。然后,可以通过Image和Text属性给Item设置图片和文字。最后通过调用C1RadialMenu.ShowMenu方法,将C1RadialMenu在运行时显示在特定的位置。并且通过调用C1RadialMenu.HideMenu方法,隐藏已经显示出来的C1RadiaMenu.该圆形菜单的样子如下所示:<p><a href="http://www.grapecity.com.cn/image.ashx?picture=radialmenu-demo.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="radialmenu-demo" src="http://www.grapecity.com.cn/image.ashx?picture=radialmenu-demo_thumb.png" alt="radialmenu-demo" width="503" height="374" border="0" /></a></p><p>&nbsp;</p>

C1Toolbars创建导航栏

本文介绍如何用C1Toolbars创建三种不同风格的导航栏。1.创建Office风格导航栏2.创建经典Outlook体验导航栏3.创建经典Windows样式导航栏

用C1 Menus and Toolbars创建菜单和工具栏

本文讲述如何使用ComponentOne Menus and Toolbars™ for WinForms控件创建停靠/浮动工具栏,多级菜单以及上下文菜单。1.创建主菜单和上下文菜单2.创建C1ToolBar和C1CommandDock3.创建C1CommandHolderDemo运行起来如下所示:<p><a href="http://www.grapecity.com.cn/image.ashx?picture=menu-toolbars.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="menu-toolbars" src="http://www.grapecity.com.cn/image.ashx?picture=menu-toolbars_thumb.png" alt="menu-toolbars" width="502" height="353" border="0" /></a></p>

创建Studio for WinForms桌面布局控件

在本文中,介绍Studio for WinForms提供的桌面布局控件,只需要拖拽操作就可以快速建立布局界面。它包括传统的分区域布局控件C1SplitContainer,符合用户使用习惯的类似Visual Studio样式的可停靠布局,C1DockingTab还有与WPF布局方式相同的C1Sizer。这些控件可以隐藏、展开、拖拽停靠、调整尺寸甚至等比例缩放整个窗体界面。主要介绍如何创建如下三种桌面布局:1。创建可嵌套的桌面布局控件2。创建VisualStudio风格的停靠布局控件3。创建可缩放的网格布局控件

C1Gauges:通过数据绑定显示天气

如果要创建一个天气数据或者信息中如果要创建一个天气数据或者信息中心或者KPI看板,能够一目了然的把握关键数据,那么只需要将C1Gauges拖放到窗体上,然后赋给它们数据就可以了。本文介绍如何用C1Gauges控件数据和仪表结合展示天气数据。1.将C1Gauges拖放到窗体2.数据绑定仪表3.定制仪表4.绑定内容转换为仪表天气数据运行Demo,可以得到如下图的天气仪表,选择绑定数据中的不同行,仪表会根据绑定数据发生变化。<p><a href="http://www.grapecity.com.cn/image.ashx?picture=gauges-dashboard.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="gauges-dashboard" src="http://www.grapecity.com.cn/image.ashx?picture=gauges-dashboard_thumb.png" alt="gauges-dashboard" width="511" height="405" border="0" /></a></p>

推荐相关资源
关注微信
葡萄城社区二维码

关注“葡萄城社区”

加微信获取技术资讯

加微信获取技术资讯

想了解更多信息,请联系我们, 随时掌握技术资源和产品动态