ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Other/ShadowEditor.cs

(开头部分) 1KB

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

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

namespace Steema.TeeChart.Samples
{
	/// <summary>
	/// Summary description for ShadowEditor.
	/// </summary>
	public class ShadowEditor : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Button bOK;
		private System.Windows.Forms.NumericUpDown UDShaHoriz;
		private System.Windows.Forms.NumericUpDown UDShaVert;
		private System.Windows.Forms.NumericUpDown UDShaTrans;
		private Steema.TeeChart.ButtonColor shadowColor;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public ShadowEditor()
		{
			InitializeComponent();
		}

		private Steema.TeeChart.Drawing.Shadow Shadow;

		public ShadowEditor(Steema.TeeChart.Drawing.Shadow AShadow) {
			InitializeComponent();

			Shadow = AShadow;
			bOK.Visible = true;
		}

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

		private void RefreshControls(Steema.TeeChart.Drawing.Shadow AShadow) {
			Shadow = AShadow;
			UDShaHoriz.Value = Shadow.Width;
			UDShaVert.Value = Shadow.Height;
			UDShaTrans.Value = Shadow.Transparency;

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

AI 解读 AI

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

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