上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 56 下一页
摘要: public Form1() { InitializeComponent(); LoadData(); } private void LoadData() { DataTable tblDatas = new DataTable(); tblDatas.Columns.Add("ID", Type. 阅读全文
posted @ 2019-03-23 20:15 厦门哈韩 阅读(291) 评论(0) 推荐(0)
摘要: 方法一、DataGridView隔行显示不同的颜色 AlternatingRowsDefaultCellStyle 属性 获取或设置应用于 DataGridView 的奇数行的默认单元格样式。RowsDefaultCellStyle 属性 获取或设置应用于 DataGridView 的行单元格的默认 阅读全文
posted @ 2019-03-23 20:13 厦门哈韩 阅读(178) 评论(0) 推荐(0)
摘要: /// <summary>/// 判断字符串是否是数字/// </summary>public static bool IsNumber(string s){ if (string.IsNullOrWhiteSpace(s)) return false; const string pattern = 阅读全文
posted @ 2019-03-23 19:41 厦门哈韩 阅读(125) 评论(0) 推荐(0)
摘要: C#判断一个string是否为数字 案一:Try...Catch(执行效率不高) private bool IsNumberic(string oText) { try { int var1=Convert.ToInt32 (oText); return true; } catch { return 阅读全文
posted @ 2019-03-23 19:39 厦门哈韩 阅读(150) 评论(0) 推荐(0)
摘要: 使用下面的代码您可以在运行时修改最大和最小值: 你可以分别设置坐标轴刻度最大和最小值的自动化属性。例如: 阅读全文
posted @ 2019-03-19 21:31 厦门哈韩 阅读(234) 评论(0) 推荐(0)
摘要: Random random = new Random(); // Color SeriesColor; int SeriesIndex=0; tChart1.Series.Clear(); Steema.TeeChart.Styles.Points pieSeries; for (int t = 0 阅读全文
posted @ 2019-03-18 00:20 厦门哈韩 阅读(190) 评论(0) 推荐(0)
摘要: Random random = new Random(); // Steema.TeeChart.Styles.Points pieSeries1; Steema.TeeChart.Styles.Points pieSeries2; Steema.TeeChart.Styles.Points pie 阅读全文
posted @ 2019-03-17 23:36 厦门哈韩 阅读(131) 评论(0) 推荐(0)
摘要: using System;using System.Collections;using System.ComponentModel;using System.Drawing; using System.Windows.Forms; namespace Steema.TeeChart.Samples{ 阅读全文
posted @ 2019-03-17 23:19 厦门哈韩 阅读(141) 评论(0) 推荐(0)
摘要: using System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Data; using System.Windows.Forms; namespace Steema 阅读全文
posted @ 2019-03-17 22:49 厦门哈韩 阅读(183) 评论(0) 推荐(0)
摘要: private Steema.TeeChart.Styles.Pie pieSeries1; private Steema.TeeChart.Styles.Pie pieSeries2; private Steema.TeeChart.Styles.Pie pieSeries3; private S 阅读全文
posted @ 2019-03-17 16:20 厦门哈韩 阅读(160) 评论(0) 推荐(0)
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 56 下一页