ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Zoom_Scroll/Zoom_KeyShift.cs

(开头部分) 1KB

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

using System;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Steema.TeeChart.Samples
{
  public class Zoom_KeyShift : BaseForm
  {
    public Zoom_KeyShift()
    {
      InitializeComponent();
      InitializeChart();
    }

    private bool doZoom, doScroll;

    private void InitializeChart()
    {
      cbModifier.Items.Add("None");
      cbModifier.Items.Add("Shift");
      cbModifier.Items.Add("Control");
      cbModifier.Items.Add("Alt");
      cbModifier.SelectedIndex = 0;
      doZoom = true;
      doScroll = true;
      line1.FillSampleValues(100);
    }

    private Label label1;
    private ComboBox cbModifier;
    private Steema.TeeChart.Styles.Line line1;
    private CheckBox cbScroll;
    private CheckBox cbZoom;

    /// <summary>
    /// Required designer variable.
    /// </summary>
    private System.ComponentModel.IContainer components = null;

    /// <summary>
    /// Clean up any resources being used.
    /// </summary>
    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    protected override void Dispose(bool disposing)
    {
      if (disposing && (components != null))
      {
        components.Dispose();
      }
      base.Dispose(disposing);
    }

    #region Windows Form Designer generated code

    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.

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

AI 解读 AI

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

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