/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Form1_Load(object sender, System.EventArgs e) { CheckBox exportCheckBox = new CheckBox(); exportCheckBox.Text = "Export Chart with toolbar"; exportCheckBox.AutoSize = true; exportCheckBox.Cursor = System.Windows.Forms.Cursors.Hand; exportCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.System; exportCheckBox.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); exportCheckBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); exportCheckBox.Location = new System.Drawing.Point(36, 200); exportCheckBox.Name = "exportCheckBox"; exportCheckBox.Size = new System.Drawing.Size(167, 36); exportCheckBox.Checked = true; exportCheckBox.CheckedChanged += exportCheckBox_CheckedChanged; this.panel3.Controls.Add(exportCheckBox); InitializeChartData(); this.comboBox3.SelectedIndex = 2; this.comboBox1.SelectedIndex = 0; ChartAppearance.ApplyChartStyles(this.chartControl1); this.chartControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Form1_Load(object sender, System.EventArgs e) { InitializeChartData(); this.comboBox3.SelectedIndex = 2; this.comboBox1.SelectedIndex = 0; ChartAppearance.ApplyChartStyles(this.chartControl1); this.chartControl1.Dock = DockStyle.Fill; }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Form1_Load(object sender, System.EventArgs e) { InitializeChartData(); this.comboBox3.SelectedIndex = 2; this.comboBox1.SelectedIndex = 0; ChartAppearance.ApplyChartStyles(this.chartControl1); this.chartControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); }