摘要:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... 阅读全文
posted @ 2015-01-15 18:26
zrSoldier
阅读(698)
评论(0)
推荐(0)
摘要:
关键代码: /// /// 设置X轴Title /// /// ChartControl /// Title文字 /// Title文字颜色 public static void SetAxisXT... 阅读全文
posted @ 2015-01-15 18:24
zrSoldier
阅读(211)
评论(0)
推荐(0)
摘要:
窗体间传递数据,无论是父窗体操作子窗体,还是子窗体操作符窗体,有以下几种方式:公共静态变量;使用共有属性;使用委托与事件;通过构造函数把主窗体传递到从窗体中;一、通过静态变量特点:传值是双向的,实现简单实现代码如下:在一个app类中定义一个静态成员valuepublic class app{publ... 阅读全文
posted @ 2015-01-15 18:21
zrSoldier
阅读(203)
评论(0)
推荐(0)
摘要:
namespace file{ class MyFile { string FilePath; byte[] byData = new byte[100]; public char[] MyData = new char[1000]; ... 阅读全文
posted @ 2015-01-15 18:18
zrSoldier
阅读(558)
评论(4)
推荐(0)
摘要:
阅读全文
posted @ 2015-01-15 18:16
zrSoldier
阅读(206)
评论(0)
推荐(0)
摘要:
C#winform中DataGridView常用的属性1.AllowUserToAddRows属性:指示是否向用户显示添加行的选项 AllowUserToOrderColumns属性:指示是否允许通过手动对列重新定位 AllowUserToResizeColumns属性:指示用户是否可以调整列的大小... 阅读全文
posted @ 2015-01-15 18:10
zrSoldier
阅读(679)
评论(0)
推荐(0)
摘要:
private Dictionary chartPieDataDic = new Dictionary(); private Dictionary chartBarDataDic = new Dictionary(); private void showPie() ... 阅读全文
posted @ 2015-01-15 18:02
zrSoldier
阅读(1309)
评论(0)
推荐(0)
摘要:
private void BindData(ViewType vt) { chartControl1.Series.Clear(); //Series series1 = new Series("日志统计", ViewType.RadarAr... 阅读全文
posted @ 2015-01-15 18:01
zrSoldier
阅读(3040)
评论(0)
推荐(0)
浙公网安备 33010602011771号