ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Components/Series_TextSource.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace Steema.TeeChart.Samples
{
public class Series_TextSource : Steema.TeeChart.Samples.BaseNoChart
{
protected System.Windows.Forms.TextBox textBox2;
protected System.Windows.Forms.Button button1;
protected Steema.TeeChart.Data.TextSource textSource1;
protected Steema.TeeChart.TChart tChart1;
protected Steema.TeeChart.Styles.Bar bar1;
protected System.Windows.Forms.Button button2;
protected System.Windows.Forms.TextBox textBox3;
private System.ComponentModel.IContainer components = null;
public Series_TextSource()
{
// This call is required by the Windows Form Designer.
InitializeComponent();
int count=0;
foreach(Steema.TeeChart.Styles.ValueList v in bar1.ValuesLists) {
textSource1.Fields.Add(count, v.Name);
++count;
}
textSource1.Fields.Add(count, "text");
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.textBox2 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.textSource1 = new Steema.TeeChart.Data.TextSource();
this.bar1 = new Steema.TeeChart.Styles.Bar();
this.tChart1 = new Steema.TeeChart.TChart();
this.button2 = new System.Windows.Forms.Button();
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。