ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Tools/Tool_FullScreen.cs

(开头部分) 1KB

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

using Steema.TeeChart.Styles;
using Steema.TeeChart.Tools;
using System;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Steema.TeeChart.Samples
{
  public class Tool_FullScreen : BaseForm
  {
    private Button button1;
  
    public Tool_FullScreen() : base()
    {
      InitializeComponent();
      InitializeChart();
    }

    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;
      tChart1.Legend.Visible = false;

      tChart1.Series.Add(typeof(Bar)).FillSampleValues();

    }

    private void button1_Click(object sender, EventArgs e)
    {
      FullScreenTool tool = new FullScreenTool(tChart1.Chart);
      tool.Active = true;
    }


    private void InitializeComponent()
    {
      this.button1 = new System.Windows.Forms.Button();
      this.panel1.SuspendLayout();
      this.chartContainer.SuspendLayout();
      this.SuspendLayout();
      // 
      // textBox1
      // 
      this.textBox1.Text = "The FullScreen tool renders the Chart in a Maximized form of its own, using a spe" +
    "cified ReleaseKey which is the Escape Key by default.";
      // 
      // panel1
      // 
      this.panel1.Controls.Add(this.button1);
      // 
      // tChart1
      // 
      // 
      // 
      // 
      // 
      // 

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

AI 解读 AI

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

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