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

📄 mainwnd.designer.cs

📁 将bmp文件转成16位彩色的C数组
💻 CS
字号:
namespace bmp2c
{
	partial class MainWnd
	{
		/// <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.Windows.Forms.Label label3;
			System.Windows.Forms.Label label4;
			this.label1 = new System.Windows.Forms.Label();
			this.bmpFileNameTxt = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.cFileNameTxt = new System.Windows.Forms.TextBox();
			this.convertBtn = new System.Windows.Forms.Button();
			this.readBtn = new System.Windows.Forms.Button();
			this.pictureBox1 = new System.Windows.Forms.PictureBox();
			this.widthTxt = new System.Windows.Forms.TextBox();
			this.heightTxt = new System.Windows.Forms.TextBox();
			label3 = new System.Windows.Forms.Label();
			label4 = new System.Windows.Forms.Label();
			((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
			this.SuspendLayout();
			// 
			// label3
			// 
			label3.AutoSize = true;
			label3.Location = new System.Drawing.Point(415, 44);
			label3.Name = "label3";
			label3.Size = new System.Drawing.Size(17, 12);
			label3.TabIndex = 5;
			label3.Text = "宽";
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.Location = new System.Drawing.Point(3, 15);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(59, 12);
			this.label1.TabIndex = 0;
			this.label1.Text = "bmp file:";
			// 
			// bmpFileNameTxt
			// 
			this.bmpFileNameTxt.Location = new System.Drawing.Point(68, 12);
			this.bmpFileNameTxt.Name = "bmpFileNameTxt";
			this.bmpFileNameTxt.Size = new System.Drawing.Size(324, 21);
			this.bmpFileNameTxt.TabIndex = 1;
			this.bmpFileNameTxt.Text = "D:\\work\\wenkong\\logo.bmp";
			// 
			// label2
			// 
			this.label2.AutoSize = true;
			this.label2.Location = new System.Drawing.Point(3, 42);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(47, 12);
			this.label2.TabIndex = 0;
			this.label2.Text = "C file:";
			// 
			// cFileNameTxt
			// 
			this.cFileNameTxt.Location = new System.Drawing.Point(68, 39);
			this.cFileNameTxt.Name = "cFileNameTxt";
			this.cFileNameTxt.Size = new System.Drawing.Size(324, 21);
			this.cFileNameTxt.TabIndex = 1;
			this.cFileNameTxt.Text = "D:\\work\\wenkong\\logo.c";
			// 
			// convertBtn
			// 
			this.convertBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.convertBtn.Location = new System.Drawing.Point(398, 12);
			this.convertBtn.Name = "convertBtn";
			this.convertBtn.Size = new System.Drawing.Size(81, 21);
			this.convertBtn.TabIndex = 2;
			this.convertBtn.Text = "&Convert";
			this.convertBtn.UseVisualStyleBackColor = true;
			this.convertBtn.Click += new System.EventHandler(this.convertBtn_Click);
			// 
			// readBtn
			// 
			this.readBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.readBtn.Location = new System.Drawing.Point(505, 12);
			this.readBtn.Name = "readBtn";
			this.readBtn.Size = new System.Drawing.Size(81, 21);
			this.readBtn.TabIndex = 3;
			this.readBtn.Text = "read C File";
			this.readBtn.UseVisualStyleBackColor = true;
			this.readBtn.Click += new System.EventHandler(this.readBtn_Click);
			// 
			// pictureBox1
			// 
			this.pictureBox1.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)));
			this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.pictureBox1.Location = new System.Drawing.Point(12, 66);
			this.pictureBox1.Name = "pictureBox1";
			this.pictureBox1.Size = new System.Drawing.Size(623, 368);
			this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
			this.pictureBox1.TabIndex = 4;
			this.pictureBox1.TabStop = false;
			// 
			// widthTxt
			// 
			this.widthTxt.Location = new System.Drawing.Point(438, 39);
			this.widthTxt.Name = "widthTxt";
			this.widthTxt.Size = new System.Drawing.Size(48, 21);
			this.widthTxt.TabIndex = 9;
			this.widthTxt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.widthTxt_KeyPress);
			// 
			// label4
			// 
			label4.AutoSize = true;
			label4.Location = new System.Drawing.Point(505, 44);
			label4.Name = "label4";
			label4.Size = new System.Drawing.Size(17, 12);
			label4.TabIndex = 5;
			label4.Text = "高";
			// 
			// heightTxt
			// 
			this.heightTxt.Location = new System.Drawing.Point(528, 39);
			this.heightTxt.Name = "heightTxt";
			this.heightTxt.Size = new System.Drawing.Size(48, 21);
			this.heightTxt.TabIndex = 9;
			this.heightTxt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.widthTxt_KeyPress);
			// 
			// MainWnd
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(647, 446);
			this.Controls.Add(this.heightTxt);
			this.Controls.Add(label4);
			this.Controls.Add(this.widthTxt);
			this.Controls.Add(label3);
			this.Controls.Add(this.pictureBox1);
			this.Controls.Add(this.readBtn);
			this.Controls.Add(this.convertBtn);
			this.Controls.Add(this.cFileNameTxt);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.bmpFileNameTxt);
			this.Controls.Add(this.label1);
			this.Name = "MainWnd";
			this.Text = "Bmp To C Array";
			this.Load += new System.EventHandler(this.MainWnd_Load);
			((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.TextBox bmpFileNameTxt;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.TextBox cFileNameTxt;
		private System.Windows.Forms.Button convertBtn;
		private System.Windows.Forms.Button readBtn;
		private System.Windows.Forms.PictureBox pictureBox1;
		private System.Windows.Forms.TextBox widthTxt;
		private System.Windows.Forms.TextBox heightTxt;
	}
}

⌨️ 快捷键说明

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