ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Series/Area_Gradient.cs

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;

using System.Windows.Forms;


namespace Steema.TeeChart.Samples
{
	public class Area_Gradient : Samples.BaseForm
	{
		private Steema.TeeChart.Styles.Area areaSeries1;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.CheckBox checkBox1;
		private System.Windows.Forms.TrackBar trackBar1;
    private System.Windows.Forms.Label label1;
    private CheckBox cbGradRelative;
		private System.ComponentModel.IContainer components = null;

		public Area_Gradient()
		{
			// This call is required by the Windows Form Designer.
			InitializeComponent();

			areaSeries1.FillSampleValues(10);
			areaSeries1.Gradient.Visible = true;
			areaSeries1.Gradient.StartColor = Color.Red;
			areaSeries1.Gradient.MiddleColor = Color.Blue;
			areaSeries1.Gradient.EndColor = Color.Green;
      areaSeries1.AreaLines.Visible = false;

      trackBar1.Value=areaSeries1.Transparency;
		}

		/// <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(Area_Gradient));
      this.areaSeries1 = new Steema.TeeChart.Styles.Area();
      this.button1 = new System.Windows.Forms.Button();

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。