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

(开头部分) 1KB

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

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

namespace Steema.TeeChart.Samples
{
    public class WorldMapDemo : Steema.TeeChart.Samples.BaseForm
    {
        private World worldmap1;
        
        public WorldMapDemo()
        {
            InitializeComponent();
            worldmap1 = new World();
            tChart1.Series.Add(worldmap1);
            worldmap1.UseColorRange = false;
            worldmap1.UsePalette = true;
            worldmap1.Shadow.Visible = false;

            buttonPen1.Pen = worldmap1.Pen;
        }

        private ComboBox comboBox1;
        private Label label1;
        private CheckBox checkBox1;
        private ButtonPen buttonPen1;
        private Button button1;
        /// <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.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WorldMapDemo));
            this.label1 = new System.Windows.Forms.Label();
            this.comboBox1 = new System.Windows.Forms.ComboBox();

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

AI 解读 AI

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

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