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

📄 photoeditor.cs

📁 这是一个小型的相片管理器
💻 CS
📖 第 1 页 / 共 5 页
字号:
			this.lbLSat.Location = new System.Drawing.Point(384, 78);
			this.lbLSat.Name = "lbLSat";
			this.lbLSat.Size = new System.Drawing.Size(77, 17);
			this.lbLSat.TabIndex = 7;
			this.lbLSat.Text = "饱和度";
			// 
			// lbLGamma
			// 
			this.lbLGamma.Location = new System.Drawing.Point(384, 26);
			this.lbLGamma.Name = "lbLGamma";
			this.lbLGamma.Size = new System.Drawing.Size(77, 17);
			this.lbLGamma.TabIndex = 6;
			this.lbLGamma.Text = "灰度";
			// 
			// lbLCont
			// 
			this.lbLCont.Location = new System.Drawing.Point(10, 78);
			this.lbLCont.Name = "lbLCont";
			this.lbLCont.Size = new System.Drawing.Size(86, 17);
			this.lbLCont.TabIndex = 5;
			this.lbLCont.Text = "对比度";
			// 
			// lbLBright
			// 
			this.lbLBright.Location = new System.Drawing.Point(10, 17);
			this.lbLBright.Name = "lbLBright";
			this.lbLBright.Size = new System.Drawing.Size(86, 17);
			this.lbLBright.TabIndex = 4;
			this.lbLBright.Text = "亮度";
			// 
			// tbSat
			// 
			this.tbSat.Location = new System.Drawing.Point(470, 69);
			this.tbSat.Maximum = 100;
			this.tbSat.Minimum = -100;
			this.tbSat.Name = "tbSat";
			this.tbSat.Size = new System.Drawing.Size(221, 42);
			this.tbSat.TabIndex = 3;
			this.tbSat.TickFrequency = 25;
			this.tbSat.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbSat_MouseUp);
			// 
			// tbGamma
			// 
			this.tbGamma.Location = new System.Drawing.Point(470, 17);
			this.tbGamma.Maximum = 100;
			this.tbGamma.Minimum = -100;
			this.tbGamma.Name = "tbGamma";
			this.tbGamma.Size = new System.Drawing.Size(221, 42);
			this.tbGamma.TabIndex = 2;
			this.tbGamma.TickFrequency = 25;
			this.tbGamma.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbGamma_MouseUp);
			// 
			// tbCont
			// 
			this.tbCont.Location = new System.Drawing.Point(106, 69);
			this.tbCont.Maximum = 100;
			this.tbCont.Minimum = -100;
			this.tbCont.Name = "tbCont";
			this.tbCont.Size = new System.Drawing.Size(220, 42);
			this.tbCont.TabIndex = 1;
			this.tbCont.TickFrequency = 25;
			this.tbCont.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbCont_MouseUp);
			// 
			// tbBright
			// 
			this.tbBright.Location = new System.Drawing.Point(106, 9);
			this.tbBright.Maximum = 100;
			this.tbBright.Minimum = -100;
			this.tbBright.Name = "tbBright";
			this.tbBright.Size = new System.Drawing.Size(220, 42);
			this.tbBright.TabIndex = 0;
			this.tbBright.TickFrequency = 25;
			this.tbBright.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbBright_MouseUp);
			// 
			// tabResize
			// 
			this.tabResize.Controls.Add(this.bResize);
			this.tabResize.Controls.Add(this.cobFilt);
			this.tabResize.Controls.Add(this.cbChooseFilter);
			this.tabResize.Controls.Add(this.tbNHeight);
			this.tabResize.Controls.Add(this.tbNWidth);
			this.tabResize.Controls.Add(this.cbMaintainAR);
			this.tabResize.Controls.Add(this.lbLNewHeight);
			this.tabResize.Controls.Add(this.lbLNewWidth);
			this.tabResize.Controls.Add(this.lbHeight);
			this.tabResize.Controls.Add(this.lbWidth);
			this.tabResize.Controls.Add(this.lbLOrigHeight);
			this.tabResize.Controls.Add(this.lbLOrigWidth);
			this.tabResize.Location = new System.Drawing.Point(4, 21);
			this.tabResize.Name = "tabResize";
			this.tabResize.Size = new System.Drawing.Size(750, 147);
			this.tabResize.TabIndex = 2;
			this.tabResize.Text = "调整大小";
			// 
			// bResize
			// 
			this.bResize.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.bResize.Location = new System.Drawing.Point(509, 103);
			this.bResize.Name = "bResize";
			this.bResize.Size = new System.Drawing.Size(221, 26);
			this.bResize.TabIndex = 11;
			this.bResize.Text = "缩放";
			this.bResize.Click += new System.EventHandler(this.bResize_Click);
			// 
			// cobFilt
			// 
			this.cobFilt.Enabled = false;
			this.cobFilt.Items.AddRange(new object[] {
														 "Bicubic",
														 "High-Quality Bicubic",
														 "Bilinear",
														 "High-Quality Bilinear",
														 "Nearest Neighbor"});
			this.cobFilt.Location = new System.Drawing.Point(499, 60);
			this.cobFilt.Name = "cobFilt";
			this.cobFilt.Size = new System.Drawing.Size(240, 20);
			this.cobFilt.TabIndex = 10;
			this.cobFilt.Text = "Bicubic";
			// 
			// cbChooseFilter
			// 
			this.cbChooseFilter.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.cbChooseFilter.Location = new System.Drawing.Point(499, 17);
			this.cbChooseFilter.Name = "cbChooseFilter";
			this.cbChooseFilter.Size = new System.Drawing.Size(240, 35);
			this.cbChooseFilter.TabIndex = 9;
			this.cbChooseFilter.Text = "使用自定义滤镜";
			this.cbChooseFilter.CheckedChanged += new System.EventHandler(this.cbChooseFilter_CheckedChanged);
			// 
			// tbNHeight
			// 
			this.tbNHeight.Location = new System.Drawing.Point(365, 69);
			this.tbNHeight.MaxLength = 4;
			this.tbNHeight.Name = "tbNHeight";
			this.tbNHeight.Size = new System.Drawing.Size(105, 21);
			this.tbNHeight.TabIndex = 8;
			this.tbNHeight.Text = "";
			this.tbNHeight.TextChanged += new System.EventHandler(this.tbNHeight_TextChanged);
			// 
			// tbNWidth
			// 
			this.tbNWidth.Location = new System.Drawing.Point(365, 34);
			this.tbNWidth.MaxLength = 4;
			this.tbNWidth.Name = "tbNWidth";
			this.tbNWidth.Size = new System.Drawing.Size(105, 21);
			this.tbNWidth.TabIndex = 7;
			this.tbNWidth.Text = "";
			this.tbNWidth.TextChanged += new System.EventHandler(this.tbNWidth_TextChanged);
			// 
			// cbMaintainAR
			// 
			this.cbMaintainAR.Checked = true;
			this.cbMaintainAR.CheckState = System.Windows.Forms.CheckState.Checked;
			this.cbMaintainAR.Location = new System.Drawing.Point(230, 103);
			this.cbMaintainAR.Name = "cbMaintainAR";
			this.cbMaintainAR.Size = new System.Drawing.Size(212, 26);
			this.cbMaintainAR.TabIndex = 6;
			this.cbMaintainAR.Text = "等比例变换";
			// 
			// lbLNewHeight
			// 
			this.lbLNewHeight.Location = new System.Drawing.Point(230, 69);
			this.lbLNewHeight.Name = "lbLNewHeight";
			this.lbLNewHeight.Size = new System.Drawing.Size(120, 17);
			this.lbLNewHeight.TabIndex = 5;
			this.lbLNewHeight.Text = "新高度:";
			// 
			// lbLNewWidth
			// 
			this.lbLNewWidth.Location = new System.Drawing.Point(230, 34);
			this.lbLNewWidth.Name = "lbLNewWidth";
			this.lbLNewWidth.Size = new System.Drawing.Size(120, 18);
			this.lbLNewWidth.TabIndex = 4;
			this.lbLNewWidth.Text = "新宽度:";
			// 
			// lbHeight
			// 
			this.lbHeight.Location = new System.Drawing.Point(125, 78);
			this.lbHeight.Name = "lbHeight";
			this.lbHeight.Size = new System.Drawing.Size(86, 17);
			this.lbHeight.TabIndex = 3;
			this.lbHeight.Text = "label1";
			// 
			// lbWidth
			// 
			this.lbWidth.Location = new System.Drawing.Point(125, 52);
			this.lbWidth.Name = "lbWidth";
			this.lbWidth.Size = new System.Drawing.Size(86, 17);
			this.lbWidth.TabIndex = 2;
			this.lbWidth.Text = "label1";
			// 
			// lbLOrigHeight
			// 
			this.lbLOrigHeight.Location = new System.Drawing.Point(10, 78);
			this.lbLOrigHeight.Name = "lbLOrigHeight";
			this.lbLOrigHeight.Size = new System.Drawing.Size(105, 17);
			this.lbLOrigHeight.TabIndex = 1;
			this.lbLOrigHeight.Text = "初始高度:";
			// 
			// lbLOrigWidth
			// 
			this.lbLOrigWidth.Location = new System.Drawing.Point(10, 52);
			this.lbLOrigWidth.Name = "lbLOrigWidth";
			this.lbLOrigWidth.Size = new System.Drawing.Size(105, 17);
			this.lbLOrigWidth.TabIndex = 0;
			this.lbLOrigWidth.Text = "初始宽度:";
			// 
			// tabCrop
			// 
			this.tabCrop.Controls.Add(this.lbRight);
			this.tabCrop.Controls.Add(this.lbLeft);
			this.tabCrop.Controls.Add(this.lbBottom);
			this.tabCrop.Controls.Add(this.lbTop);
			this.tabCrop.Controls.Add(this.lbCArea);
			this.tabCrop.Controls.Add(this.numTop);
			this.tabCrop.Controls.Add(this.numRight);
			this.tabCrop.Controls.Add(this.numLeft);
			this.tabCrop.Controls.Add(this.numBottom);
			this.tabCrop.Controls.Add(this.bCrop);
			this.tabCrop.Controls.Add(this.lbSelDim);
			this.tabCrop.Controls.Add(this.lbOrigDim);
			this.tabCrop.Controls.Add(this.lbLSel);
			this.tabCrop.Controls.Add(this.lbLOrig);
			this.tabCrop.Controls.Add(this.lbDimensions);
			this.tabCrop.Location = new System.Drawing.Point(4, 21);
			this.tabCrop.Name = "tabCrop";
			this.tabCrop.Size = new System.Drawing.Size(750, 147);
			this.tabCrop.TabIndex = 3;
			this.tabCrop.Text = "裁减";
			// 
			// lbRight
			// 
			this.lbRight.Location = new System.Drawing.Point(538, 78);
			this.lbRight.Name = "lbRight";
			this.lbRight.Size = new System.Drawing.Size(57, 17);
			this.lbRight.TabIndex = 18;
			this.lbRight.Text = "右:";
			// 
			// lbLeft
			// 
			this.lbLeft.Location = new System.Drawing.Point(538, 43);
			this.lbLeft.Name = "lbLeft";
			this.lbLeft.Size = new System.Drawing.Size(57, 17);
			this.lbLeft.TabIndex = 17;
			this.lbLeft.Text = "左:";
			// 
			// lbBottom
			// 
			this.lbBottom.Location = new System.Drawing.Point(298, 86);
			this.lbBottom.Name = "lbBottom";
			this.lbBottom.Size = new System.Drawing.Size(67, 17);
			this.lbBottom.TabIndex = 16;
			this.lbBottom.Text = "底:";
			// 
			// lbTop
			// 
			this.lbTop.Location = new System.Drawing.Point(298, 43);
			this.lbTop.Name = "lbTop";
			this.lbTop.Size = new System.Drawing.Size(67, 17);
			this.lbTop.TabIndex = 15;
			this.lbTop.Text = "顶:";
			// 
			// lbCArea
			// 
			this.lbCArea.Location = new System.Drawing.Point(288, 17);
			this.lbCArea.Name = "lbCArea";
			this.lbCArea.Size = new System.Drawing.Size(120, 17);
			this.lbCArea.TabIndex = 14;
			this.lbCArea.Text = "裁减区域:";
			// 
			// numTop
			// 
			this.numTop.Location = new System.Drawing.Point(374, 43);
			this.numTop.Name = "numTop";
			this.numTop.Size = new System.Drawing.Size(144, 21);
			this.numTop.TabIndex = 13;
			this.numTop.ValueChanged += new System.EventHandler(this.numTop_ValueChanged);
			// 
			// numRight
			// 
			this.numRight.Location = new System.Drawing.Point(595, 78);
			this.numRight.Name = "numRight";
			this.numRight.Size = new System.Drawing.Size(125, 21);
			this.numRight.TabIndex = 12;
			this.numRight.ValueChanged += new System.EventHandler(this.numRight_ValueChanged);
			// 
			// numLeft
			// 
			this.numLeft.Location = new System.Drawing.Point(595, 43);
			this.numLeft.Name = "numLeft";
			this.numLeft.Size = new System.Drawing.Size(125, 21);
			this.numLeft.TabIndex = 11;
			this.numLeft.ValueChanged += new System.EventHandler(this.numLeft_ValueChanged);
			// 
			// numBottom
			// 
			this.numBottom.Location = new System.Drawing.Point(374, 78);
			this.numBottom.Name = "numBottom";
			this.numBottom.Size = new System.Drawing.Size(144, 21);
			this.numBottom.TabIndex = 9;
			this.numBottom.ValueChanged += new System.EventHandler(this.numBottom_ValueChanged);
			// 
			// bCrop
			// 
			this.bCrop.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.bCrop.Location = new System.Drawing.Point(384, 112);
			this.bCrop.Name = "bCrop";
			this.bCrop.Size = new System.Drawing.Size(317, 25);
			this.bCrop.TabIndex = 8;
			this.bCrop.Text = "裁减";
			this.bCrop.Click += new System.EventHandler(this.bCrop_Click);
			// 
			// lbSelDim
			// 
			this.lbSelDim.Location = new System.Drawing.Point(134, 86);
			this.lbSelDim.Name = "lbSelDim";
			this.lbSelDim.Size = new System.Drawing.Size(120, 17);
			this.lbSelDim.TabIndex = 7;
			this.lbSelDim.Text = "label8";
			// 
			// lbOrigDim
			// 
			this.lbOrigDim.Location = new System.Drawing.Point(134, 52);
			this.lbOrigDim.Name = "lbOrigDim";
			this.lbOrigDim.Size = new System.Drawing.Size(120, 17);
			this.lbOrigDim.TabIndex = 3;
			this.lbOrigDim.Text = "label4";
			// 
			// lbLSel
			// 
			this.lbLSel.Location = new System.Drawing.Point(38, 86);
			this.lbLSel.Name = "lbLSel";
			this.lbLSel.Size = new System.Drawing.Size(87, 17);
			this.lbLSel.TabIndex = 2;
			this.lbLSel.Text = "选择:";
			// 
			// lbLOrig
			// 
			this.lbLOrig.Location = new System.Drawing.Point(38, 52);
			this.lbLOrig.Name = "lbLOrig";
			this.lbLOrig.Size = new System.Drawing.Size(87, 17);
			this.lbLOrig.TabIndex = 1;
			this.lbLOrig.Text = "原始:";
			// 
			// lbDimensions
			// 
			this.lbDimensions.Location = new System.Drawing.Point(19, 17);
			this.lbDimensions.Name = "lbDimensions";
			this.lbDimensions.Size = new System.Drawing.Size(120, 17);
			this.lbDimensions.TabIndex = 0;
			this.lbDimensions.Text = "尺寸:";
			// 
			// hSb
			// 
			this.hSb.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.hSb.Location = new System.Drawing.Point(0, 461);
			this.hSb.Name = "hSb";
			this.hSb.Size = new System.Drawing.Size(921, 18);
			this.hSb.TabIndex = 1;
			this.hSb.Visible = false;
			this.hSb.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hSb_Scroll);
			// 
			// vSb
			// 
			this.vSb.Dock = System.Windows.Forms.DockStyle.Right;
			this.vSb.Location = new System.Drawing.Point(900, 0);
			this.vSb.Name = "vSb";
			this.vSb.Size = new System.Drawing.Size(21, 461);
			this.vSb.TabIndex = 2;
			this.vSb.Visible = false;
			this.vSb.Scroll += new System.Windows.Forms.ScrollEventHandler(this.vSb_Scroll);
			// 
			// PhotoEditor
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.AutoScroll = true;
			this.ClientSize = new System.Drawing.Size(921, 652);

⌨️ 快捷键说明

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