⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fcolor.cs

📁 A fractal is generally "a rough or fragmented geometric shape that can be split into parts, each of
💻 CS
📖 第 1 页 / 共 2 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace Fractals
{
	/// <summary>
	/// Summary description for FColor.
	/// </summary>
	public class FColor : System.Windows.Forms.Form
	{
		private int[] _Color = 
		{
			Color.Black.ToArgb(),
			Color.Chocolate.ToArgb(),
			Color.Beige.ToArgb(),
			Color.Cyan.ToArgb(),
			Color.DarkCyan.ToArgb(),
			Color.Aqua.ToArgb(),
			Color.Blue.ToArgb(),
			Color.DarkBlue.ToArgb(),
			Color.Red.ToArgb(),
			Color.DarkRed.ToArgb(),
			Color.Green.ToArgb(),
			Color.DarkGreen.ToArgb(),
			Color.Violet.ToArgb(),
			Color.DarkViolet.ToArgb(),
			Color.Yellow.ToArgb(),
			Color.White.ToArgb()
		};

		private System.Windows.Forms.TextBox textBox1;
		private System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.TextBox textBox3;
		private System.Windows.Forms.TextBox textBox4;
		private System.Windows.Forms.TextBox textBox5;
		private System.Windows.Forms.TextBox textBox6;
		private System.Windows.Forms.TextBox textBox7;
		private System.Windows.Forms.TextBox textBox8;
		private System.Windows.Forms.TextBox textBox9;
		private System.Windows.Forms.TextBox textBox10;
		private System.Windows.Forms.TextBox textBox11;
		private System.Windows.Forms.TextBox textBox12;
		private System.Windows.Forms.TextBox textBox13;
		private System.Windows.Forms.TextBox textBox14;
		private System.Windows.Forms.TextBox textBox15;
		private System.Windows.Forms.TextBox textBox16;
		private System.Windows.Forms.Button btnOK;
		private System.Windows.Forms.ColorDialog colorDialog1;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public FColor()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(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()
		{
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.textBox3 = new System.Windows.Forms.TextBox();
			this.textBox4 = new System.Windows.Forms.TextBox();
			this.textBox5 = new System.Windows.Forms.TextBox();
			this.textBox6 = new System.Windows.Forms.TextBox();
			this.textBox7 = new System.Windows.Forms.TextBox();
			this.textBox8 = new System.Windows.Forms.TextBox();
			this.textBox9 = new System.Windows.Forms.TextBox();
			this.textBox10 = new System.Windows.Forms.TextBox();
			this.textBox11 = new System.Windows.Forms.TextBox();
			this.textBox12 = new System.Windows.Forms.TextBox();
			this.textBox13 = new System.Windows.Forms.TextBox();
			this.textBox14 = new System.Windows.Forms.TextBox();
			this.textBox15 = new System.Windows.Forms.TextBox();
			this.textBox16 = new System.Windows.Forms.TextBox();
			this.btnOK = new System.Windows.Forms.Button();
			this.colorDialog1 = new System.Windows.Forms.ColorDialog();
			this.SuspendLayout();
			// 
			// textBox1
			// 
			this.textBox1.Location = new System.Drawing.Point(114, 24);
			this.textBox1.Name = "textBox1";
			this.textBox1.ReadOnly = true;
			this.textBox1.TabIndex = 0;
			this.textBox1.Text = "";
			this.textBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox1_MouseDown);
			// 
			// textBox2
			// 
			this.textBox2.Location = new System.Drawing.Point(114, 48);
			this.textBox2.Name = "textBox2";
			this.textBox2.ReadOnly = true;
			this.textBox2.TabIndex = 1;
			this.textBox2.Text = "";
			this.textBox2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox2_MouseDown);
			// 
			// textBox3
			// 
			this.textBox3.Location = new System.Drawing.Point(114, 72);
			this.textBox3.Name = "textBox3";
			this.textBox3.ReadOnly = true;
			this.textBox3.TabIndex = 2;
			this.textBox3.Text = "";
			this.textBox3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox3_MouseDown);
			// 
			// textBox4
			// 
			this.textBox4.Location = new System.Drawing.Point(114, 96);
			this.textBox4.Name = "textBox4";
			this.textBox4.ReadOnly = true;
			this.textBox4.TabIndex = 3;
			this.textBox4.Text = "";
			this.textBox4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox4_MouseDown);
			// 
			// textBox5
			// 
			this.textBox5.Location = new System.Drawing.Point(114, 120);
			this.textBox5.Name = "textBox5";
			this.textBox5.ReadOnly = true;
			this.textBox5.TabIndex = 4;
			this.textBox5.Text = "";
			this.textBox5.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox5_MouseDown);
			// 
			// textBox6
			// 
			this.textBox6.Location = new System.Drawing.Point(114, 144);
			this.textBox6.Name = "textBox6";
			this.textBox6.ReadOnly = true;
			this.textBox6.TabIndex = 5;
			this.textBox6.Text = "";
			this.textBox6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox6_MouseDown);
			// 
			// textBox7
			// 
			this.textBox7.Location = new System.Drawing.Point(114, 168);
			this.textBox7.Name = "textBox7";
			this.textBox7.ReadOnly = true;
			this.textBox7.TabIndex = 6;
			this.textBox7.Text = "";
			this.textBox7.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox7_MouseDown);
			// 
			// textBox8
			// 
			this.textBox8.Location = new System.Drawing.Point(114, 192);
			this.textBox8.Name = "textBox8";
			this.textBox8.ReadOnly = true;
			this.textBox8.TabIndex = 7;
			this.textBox8.Text = "";
			this.textBox8.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox8_MouseDown);
			// 
			// textBox9
			// 
			this.textBox9.Location = new System.Drawing.Point(114, 216);
			this.textBox9.Name = "textBox9";
			this.textBox9.ReadOnly = true;
			this.textBox9.TabIndex = 8;
			this.textBox9.Text = "";
			this.textBox9.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox9_MouseDown);
			// 
			// textBox10
			// 
			this.textBox10.Location = new System.Drawing.Point(114, 240);
			this.textBox10.Name = "textBox10";
			this.textBox10.ReadOnly = true;
			this.textBox10.TabIndex = 9;
			this.textBox10.Text = "";
			this.textBox10.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox10_MouseDown);
			// 
			// textBox11
			// 
			this.textBox11.Location = new System.Drawing.Point(114, 264);
			this.textBox11.Name = "textBox11";
			this.textBox11.ReadOnly = true;
			this.textBox11.TabIndex = 10;
			this.textBox11.Text = "";
			this.textBox11.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox11_MouseDown);
			// 
			// textBox12
			// 
			this.textBox12.Location = new System.Drawing.Point(114, 288);
			this.textBox12.Name = "textBox12";
			this.textBox12.ReadOnly = true;
			this.textBox12.TabIndex = 11;
			this.textBox12.Text = "";
			this.textBox12.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox12_MouseDown);
			// 
			// textBox13
			// 
			this.textBox13.Location = new System.Drawing.Point(114, 312);
			this.textBox13.Name = "textBox13";
			this.textBox13.ReadOnly = true;
			this.textBox13.TabIndex = 12;
			this.textBox13.Text = "";
			this.textBox13.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox13_MouseDown);
			// 
			// textBox14
			// 
			this.textBox14.Location = new System.Drawing.Point(114, 336);
			this.textBox14.Name = "textBox14";
			this.textBox14.ReadOnly = true;
			this.textBox14.TabIndex = 13;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -