You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
416 lines
20 KiB
416 lines
20 KiB
namespace Test_img |
|
{ |
|
partial class Form1 |
|
{ |
|
/// <summary> |
|
/// Обязательная переменная конструктора. |
|
/// </summary> |
|
private System.ComponentModel.IContainer components = null; |
|
|
|
/// <summary> |
|
/// Освободить все используемые ресурсы. |
|
/// </summary> |
|
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param> |
|
protected override void Dispose(bool disposing) |
|
{ |
|
if (disposing && (components != null)) |
|
{ |
|
components.Dispose(); |
|
} |
|
base.Dispose(disposing); |
|
} |
|
|
|
#region Код, автоматически созданный конструктором форм Windows |
|
|
|
/// <summary> |
|
/// Требуемый метод для поддержки конструктора — не изменяйте |
|
/// содержимое этого метода с помощью редактора кода. |
|
/// </summary> |
|
private void InitializeComponent() |
|
{ |
|
this.components = new System.ComponentModel.Container(); |
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip(); |
|
this.img_resolution = new System.Windows.Forms.ToolStripStatusLabel(); |
|
this.img_aspect = new System.Windows.Forms.ToolStripStatusLabel(); |
|
this.img_coord = new System.Windows.Forms.ToolStripStatusLabel(); |
|
this.img_color = new System.Windows.Forms.ToolStripStatusLabel(); |
|
this.img_srch = new System.Windows.Forms.ToolStripStatusLabel(); |
|
this.ttt = new System.Windows.Forms.ToolStripStatusLabel(); |
|
this.yyy = new System.Windows.Forms.ToolStripStatusLabel(); |
|
this.menu = new System.Windows.Forms.MenuStrip(); |
|
this.MenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.img_load = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripSeparator(); |
|
this.exit = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.MenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.развернутьToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.свернутьToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.MenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.img1 = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.img2 = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.img3 = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); |
|
this.img_timer = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.img_smooth = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.img_center = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.minus_fon = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.img_search = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.img_fon = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.img_save = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.timer1 = new System.Windows.Forms.Timer(this.components); |
|
this.pictureBox1 = new System.Windows.Forms.PictureBox(); |
|
this.statusStrip1.SuspendLayout(); |
|
this.menu.SuspendLayout(); |
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); |
|
this.SuspendLayout(); |
|
// |
|
// statusStrip1 |
|
// |
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
this.img_resolution, |
|
this.img_aspect, |
|
this.img_coord, |
|
this.img_color, |
|
this.img_srch, |
|
this.ttt, |
|
this.yyy}); |
|
this.statusStrip1.Location = new System.Drawing.Point(0, 543); |
|
this.statusStrip1.Name = "statusStrip1"; |
|
this.statusStrip1.Size = new System.Drawing.Size(650, 24); |
|
this.statusStrip1.TabIndex = 1; |
|
this.statusStrip1.Text = "statusStrip1"; |
|
// |
|
// img_resolution |
|
// |
|
this.img_resolution.AutoSize = false; |
|
this.img_resolution.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right; |
|
this.img_resolution.Name = "img_resolution"; |
|
this.img_resolution.Size = new System.Drawing.Size(70, 19); |
|
this.img_resolution.Text = "4000 X 3000"; |
|
// |
|
// img_aspect |
|
// |
|
this.img_aspect.AutoSize = false; |
|
this.img_aspect.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right; |
|
this.img_aspect.Name = "img_aspect"; |
|
this.img_aspect.Size = new System.Drawing.Size(90, 19); |
|
this.img_aspect.Text = "Аспект 12.999"; |
|
// |
|
// img_coord |
|
// |
|
this.img_coord.AutoSize = false; |
|
this.img_coord.Name = "img_coord"; |
|
this.img_coord.Size = new System.Drawing.Size(105, 19); |
|
this.img_coord.Text = "X = 0000 Y = 0000"; |
|
// |
|
// img_color |
|
// |
|
this.img_color.AutoSize = false; |
|
this.img_color.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); |
|
this.img_color.Name = "img_color"; |
|
this.img_color.Size = new System.Drawing.Size(110, 19); |
|
this.img_color.Text = "R:000 G:000 B:000"; |
|
// |
|
// img_srch |
|
// |
|
this.img_srch.AutoSize = false; |
|
this.img_srch.Name = "img_srch"; |
|
this.img_srch.Size = new System.Drawing.Size(55, 19); |
|
this.img_srch.Text = "Фон: 000"; |
|
// |
|
// ttt |
|
// |
|
this.ttt.AutoSize = false; |
|
this.ttt.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left; |
|
this.ttt.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; |
|
this.ttt.Name = "ttt"; |
|
this.ttt.Size = new System.Drawing.Size(70, 19); |
|
this.ttt.Text = "-0000 -0000"; |
|
// |
|
// yyy |
|
// |
|
this.yyy.AutoSize = false; |
|
this.yyy.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left; |
|
this.yyy.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; |
|
this.yyy.Name = "yyy"; |
|
this.yyy.Size = new System.Drawing.Size(70, 19); |
|
this.yyy.Text = "0000 0000"; |
|
// |
|
// menu |
|
// |
|
this.menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
this.MenuItem1, |
|
this.MenuItem2, |
|
this.MenuItem3}); |
|
this.menu.Location = new System.Drawing.Point(0, 0); |
|
this.menu.Name = "menu"; |
|
this.menu.Size = new System.Drawing.Size(650, 24); |
|
this.menu.TabIndex = 7; |
|
this.menu.Text = "menuStrip1"; |
|
// |
|
// MenuItem1 |
|
// |
|
this.MenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
this.img_load, |
|
this.toolStripMenuItem2, |
|
this.toolStripMenuItem7, |
|
this.exit}); |
|
this.MenuItem1.Name = "MenuItem1"; |
|
this.MenuItem1.Size = new System.Drawing.Size(48, 20); |
|
this.MenuItem1.Text = "Файл"; |
|
// |
|
// img_load |
|
// |
|
this.img_load.Name = "img_load"; |
|
this.img_load.Size = new System.Drawing.Size(210, 22); |
|
this.img_load.Text = "Загрузить изображение"; |
|
this.img_load.Click += new System.EventHandler(this.img_load_Click); |
|
// |
|
// toolStripMenuItem2 |
|
// |
|
this.toolStripMenuItem2.Name = "toolStripMenuItem2"; |
|
this.toolStripMenuItem2.Size = new System.Drawing.Size(210, 22); |
|
this.toolStripMenuItem2.Text = "Сохранить изображение"; |
|
this.toolStripMenuItem2.Click += new System.EventHandler(this.img_save_Click); |
|
// |
|
// toolStripMenuItem7 |
|
// |
|
this.toolStripMenuItem7.Name = "toolStripMenuItem7"; |
|
this.toolStripMenuItem7.Size = new System.Drawing.Size(207, 6); |
|
// |
|
// exit |
|
// |
|
this.exit.Name = "exit"; |
|
this.exit.Size = new System.Drawing.Size(210, 22); |
|
this.exit.Text = "Выход"; |
|
this.exit.Click += new System.EventHandler(this.exit_Click); |
|
// |
|
// MenuItem2 |
|
// |
|
this.MenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
this.развернутьToolStripMenuItem, |
|
this.свернутьToolStripMenuItem}); |
|
this.MenuItem2.Name = "MenuItem2"; |
|
this.MenuItem2.Size = new System.Drawing.Size(39, 20); |
|
this.MenuItem2.Text = "Вид"; |
|
// |
|
// развернутьToolStripMenuItem |
|
// |
|
this.развернутьToolStripMenuItem.Name = "развернутьToolStripMenuItem"; |
|
this.развернутьToolStripMenuItem.Size = new System.Drawing.Size(135, 22); |
|
this.развернутьToolStripMenuItem.Text = "Развернуть"; |
|
this.развернутьToolStripMenuItem.Click += new System.EventHandler(this.развернутьToolStripMenuItem_Click); |
|
// |
|
// свернутьToolStripMenuItem |
|
// |
|
this.свернутьToolStripMenuItem.Name = "свернутьToolStripMenuItem"; |
|
this.свернутьToolStripMenuItem.Size = new System.Drawing.Size(135, 22); |
|
this.свернутьToolStripMenuItem.Text = "Свернуть"; |
|
this.свернутьToolStripMenuItem.Click += new System.EventHandler(this.свернутьToolStripMenuItem_Click); |
|
// |
|
// MenuItem3 |
|
// |
|
this.MenuItem3.AutoSize = false; |
|
this.MenuItem3.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
this.toolStripMenuItem5, |
|
this.img_smooth, |
|
this.img_center, |
|
this.img_search, |
|
this.img_fon, |
|
this.img_save}); |
|
this.MenuItem3.Name = "MenuItem3"; |
|
this.MenuItem3.Size = new System.Drawing.Size(122, 20); |
|
this.MenuItem3.Text = "Инструменты"; |
|
// |
|
// toolStripMenuItem5 |
|
// |
|
this.toolStripMenuItem5.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
this.img1, |
|
this.img2, |
|
this.img3, |
|
this.toolStripSeparator1, |
|
this.img_timer}); |
|
this.toolStripMenuItem5.Name = "toolStripMenuItem5"; |
|
this.toolStripMenuItem5.Size = new System.Drawing.Size(180, 22); |
|
this.toolStripMenuItem5.Text = "Демо-картинка"; |
|
// |
|
// img1 |
|
// |
|
this.img1.Name = "img1"; |
|
this.img1.Size = new System.Drawing.Size(104, 22); |
|
this.img1.Text = "1"; |
|
this.img1.Click += new System.EventHandler(this.img1_Click); |
|
// |
|
// img2 |
|
// |
|
this.img2.Name = "img2"; |
|
this.img2.Size = new System.Drawing.Size(104, 22); |
|
this.img2.Text = "2"; |
|
this.img2.Click += new System.EventHandler(this.img2_Click); |
|
// |
|
// img3 |
|
// |
|
this.img3.Name = "img3"; |
|
this.img3.Size = new System.Drawing.Size(104, 22); |
|
this.img3.Text = "3"; |
|
this.img3.Click += new System.EventHandler(this.img3_Click); |
|
// |
|
// toolStripSeparator1 |
|
// |
|
this.toolStripSeparator1.Name = "toolStripSeparator1"; |
|
this.toolStripSeparator1.Size = new System.Drawing.Size(101, 6); |
|
// |
|
// img_timer |
|
// |
|
this.img_timer.Checked = true; |
|
this.img_timer.CheckOnClick = true; |
|
this.img_timer.CheckState = System.Windows.Forms.CheckState.Checked; |
|
this.img_timer.Image = global::Test_img.Properties.Resources.CheckBoxChecked; |
|
this.img_timer.Name = "img_timer"; |
|
this.img_timer.Size = new System.Drawing.Size(104, 22); |
|
this.img_timer.Text = "Timer"; |
|
this.img_timer.Click += new System.EventHandler(this.img_timer_Click); |
|
// |
|
// img_smooth |
|
// |
|
this.img_smooth.CheckOnClick = true; |
|
this.img_smooth.Image = global::Test_img.Properties.Resources.CheckBoxUnchecked; |
|
this.img_smooth.Name = "img_smooth"; |
|
this.img_smooth.Size = new System.Drawing.Size(180, 22); |
|
this.img_smooth.Text = "Размытие"; |
|
this.img_smooth.Click += new System.EventHandler(this.img_smooth_Click); |
|
// |
|
// img_center |
|
// |
|
this.img_center.CheckOnClick = true; |
|
this.img_center.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
this.minus_fon}); |
|
this.img_center.Image = global::Test_img.Properties.Resources.CheckBoxUnchecked; |
|
this.img_center.Name = "img_center"; |
|
this.img_center.Size = new System.Drawing.Size(180, 22); |
|
this.img_center.Text = "Центр масс"; |
|
this.img_center.Click += new System.EventHandler(this.img_center_Click); |
|
// |
|
// minus_fon |
|
// |
|
this.minus_fon.CheckOnClick = true; |
|
this.minus_fon.Image = global::Test_img.Properties.Resources.CheckBoxUnchecked; |
|
this.minus_fon.Name = "minus_fon"; |
|
this.minus_fon.Size = new System.Drawing.Size(180, 22); |
|
this.minus_fon.Text = "Вычитать фон"; |
|
this.minus_fon.Click += new System.EventHandler(this.minus_fon_Click); |
|
// |
|
// img_search |
|
// |
|
this.img_search.CheckOnClick = true; |
|
this.img_search.Image = global::Test_img.Properties.Resources.CheckBoxUnchecked; |
|
this.img_search.Name = "img_search"; |
|
this.img_search.Size = new System.Drawing.Size(180, 22); |
|
this.img_search.Text = "Поиск пятна"; |
|
this.img_search.Click += new System.EventHandler(this.img_search_Click); |
|
// |
|
// img_fon |
|
// |
|
this.img_fon.Name = "img_fon"; |
|
this.img_fon.Size = new System.Drawing.Size(180, 22); |
|
this.img_fon.Text = "Фон"; |
|
this.img_fon.Click += new System.EventHandler(this.img_fon_Click); |
|
// |
|
// img_save |
|
// |
|
this.img_save.Name = "img_save"; |
|
this.img_save.Size = new System.Drawing.Size(180, 22); |
|
this.img_save.Text = "Скриншот"; |
|
this.img_save.Click += new System.EventHandler(this.screenshot_Click); |
|
// |
|
// timer1 |
|
// |
|
this.timer1.Enabled = true; |
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick); |
|
// |
|
// 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.Location = new System.Drawing.Point(5, 27); |
|
this.pictureBox1.Name = "pictureBox1"; |
|
this.pictureBox1.Size = new System.Drawing.Size(640, 512); |
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; |
|
this.pictureBox1.TabIndex = 0; |
|
this.pictureBox1.TabStop = false; |
|
this.pictureBox1.Paint += new System.Windows.Forms.PaintEventHandler(this.pictureBox1_Paint); |
|
this.pictureBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseDown); |
|
this.pictureBox1.MouseEnter += new System.EventHandler(this.pictureBox1_MouseEnter); |
|
this.pictureBox1.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave); |
|
this.pictureBox1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseMove); |
|
this.pictureBox1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseUp); |
|
// |
|
// Form1 |
|
// |
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
|
this.ClientSize = new System.Drawing.Size(650, 567); |
|
this.Controls.Add(this.statusStrip1); |
|
this.Controls.Add(this.menu); |
|
this.Controls.Add(this.pictureBox1); |
|
this.DoubleBuffered = true; |
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; |
|
this.MainMenuStrip = this.menu; |
|
this.MinimizeBox = false; |
|
this.MinimumSize = new System.Drawing.Size(666, 606); |
|
this.Name = "Form1"; |
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; |
|
this.Text = "Form1"; |
|
this.Load += new System.EventHandler(this.Form1_Load); |
|
this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged); |
|
this.statusStrip1.ResumeLayout(false); |
|
this.statusStrip1.PerformLayout(); |
|
this.menu.ResumeLayout(false); |
|
this.menu.PerformLayout(); |
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); |
|
this.ResumeLayout(false); |
|
this.PerformLayout(); |
|
|
|
} |
|
|
|
#endregion |
|
|
|
private System.Windows.Forms.PictureBox pictureBox1; |
|
private System.Windows.Forms.StatusStrip statusStrip1; |
|
private System.Windows.Forms.MenuStrip menu; |
|
private System.Windows.Forms.ToolStripMenuItem MenuItem1; |
|
private System.Windows.Forms.ToolStripMenuItem img_load; |
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; |
|
private System.Windows.Forms.ToolStripMenuItem exit; |
|
private System.Windows.Forms.ToolStripMenuItem MenuItem2; |
|
private System.Windows.Forms.ToolStripMenuItem MenuItem3; |
|
private System.Windows.Forms.ToolStripMenuItem развернутьToolStripMenuItem; |
|
private System.Windows.Forms.ToolStripMenuItem свернутьToolStripMenuItem; |
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem5; |
|
private System.Windows.Forms.ToolStripMenuItem img_center; |
|
private System.Windows.Forms.ToolStripStatusLabel img_resolution; |
|
private System.Windows.Forms.ToolStripStatusLabel img_aspect; |
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem7; |
|
private System.Windows.Forms.ToolStripStatusLabel img_coord; |
|
private System.Windows.Forms.ToolStripStatusLabel img_color; |
|
private System.Windows.Forms.ToolStripMenuItem img_search; |
|
private System.Windows.Forms.ToolStripStatusLabel img_srch; |
|
private System.Windows.Forms.ToolStripMenuItem img_save; |
|
private System.Windows.Forms.ToolStripStatusLabel ttt; |
|
private System.Windows.Forms.ToolStripStatusLabel yyy; |
|
private System.Windows.Forms.ToolStripMenuItem img1; |
|
private System.Windows.Forms.ToolStripMenuItem img2; |
|
private System.Windows.Forms.ToolStripMenuItem img3; |
|
private System.Windows.Forms.ToolStripMenuItem img_fon; |
|
private System.Windows.Forms.Timer timer1; |
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; |
|
private System.Windows.Forms.ToolStripMenuItem img_timer; |
|
private System.Windows.Forms.ToolStripMenuItem img_smooth; |
|
private System.Windows.Forms.ToolStripMenuItem minus_fon; |
|
} |
|
} |
|
|
|
|