ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Components/Commander_Editor.cs

(开头部分) 1KB

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

using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

namespace Steema.TeeChart.Samples
{
	public class Commander_Editor : Steema.TeeChart.Samples.BaseForm
	{
		private Steema.TeeChart.ChartController commander1;
		private Steema.TeeChart.Editor editor1;
		private System.ComponentModel.IContainer components = null;

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

				// This can be done at design-time.
			// This code is how to do it programatically

			editor1.Chart = tChart1;
			commander1.Chart = tChart1;
			commander1.Editor = editor1;

			editor1.HighLightTabs = true;
			editor1.HideTabs = new Steema.TeeChart.Editors.ChartEditorTabs[] {
				Steema.TeeChart.Editors.ChartEditorTabs.Axes,
				Steema.TeeChart.Editors.ChartEditorTabs.Export,
				Steema.TeeChart.Editors.ChartEditorTabs.Legend,
				Steema.TeeChart.Editors.ChartEditorTabs.Main,
				Steema.TeeChart.Editors.ChartEditorTabs.Page,
				Steema.TeeChart.Editors.ChartEditorTabs.Panel,
				Steema.TeeChart.Editors.ChartEditorTabs.Print,
				Steema.TeeChart.Editors.ChartEditorTabs.SeriesDataSource,
				Steema.TeeChart.Editors.ChartEditorTabs.Tools,
				Steema.TeeChart.Editors.ChartEditorTabs.Walls
			};
			editor1.Options = new Steema.TeeChart.Editors.ChartEditorOptions[] {
				Steema.TeeChart.Editors.ChartEditorOptions.Add
			};
			editor1.DefaultTab = Steema.TeeChart.Editors.ChartEditorTabs.Aspect;
			editor1.Title = "Insert your Custom Title here";
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

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

AI 解读 AI

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

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