ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Functions/Function_CrossPoints.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace Steema.TeeChart.Samples
{
public class Function_CrossPoints : Steema.TeeChart.Samples.BaseForm
{
private Steema.TeeChart.Styles.Line line1;
private Steema.TeeChart.Styles.Line line2;
private Steema.TeeChart.Functions.CrossPoints crossPoints1;
private Steema.TeeChart.Styles.Line line3;
private System.Windows.Forms.CheckBox checkBox1;
private System.ComponentModel.IContainer components = null;
public Function_CrossPoints()
{
// This call is required by the Windows Form Designer.
InitializeComponent();
for (double x = -5; x<5; x += 0.2)
{
this.line1.Add(x,Math.Sin(Math.PI/2*x));
this.line2.Add(x,Math.Sin(Math.PI/6*x)-0.25);
}
line3.CheckDataSource();
}
/// <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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Function_CrossPoints));
this.line1 = new Steema.TeeChart.Styles.Line();
this.line2 = new Steema.TeeChart.Styles.Line();
this.crossPoints1 = new Steema.TeeChart.Functions.CrossPoints();
this.line3 = new Steema.TeeChart.Styles.Line();
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。