|
@@ -0,0 +1,282 @@
|
|
|
+namespace metaldetector
|
|
|
+{
|
|
|
+ partial class FormMain
|
|
|
+ {
|
|
|
+ /// <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()
|
|
|
+ {
|
|
|
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
+ this.rbLocator = new System.Windows.Forms.RadioButton();
|
|
|
+ this.rbActive = new System.Windows.Forms.RadioButton();
|
|
|
+ this.rbPass = new System.Windows.Forms.RadioButton();
|
|
|
+ this.trbFreq = new System.Windows.Forms.TrackBar();
|
|
|
+ this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
|
+ this.lblFreqDelta = new System.Windows.Forms.Label();
|
|
|
+ this.trbFreqDelta = new System.Windows.Forms.TrackBar();
|
|
|
+ this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
|
+ this.picMap = new System.Windows.Forms.PictureBox();
|
|
|
+ this.groupBox4 = new System.Windows.Forms.GroupBox();
|
|
|
+ this.lblCursor = new System.Windows.Forms.Label();
|
|
|
+ this.button1 = new System.Windows.Forms.Button();
|
|
|
+ this.gbLog = new System.Windows.Forms.GroupBox();
|
|
|
+ this.trackBar1 = new System.Windows.Forms.TrackBar();
|
|
|
+ this.rtbLog = new System.Windows.Forms.RichTextBox();
|
|
|
+ this.btnSoundOn = new System.Windows.Forms.Button();
|
|
|
+ this.groupBox1.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.trbFreq)).BeginInit();
|
|
|
+ this.groupBox2.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.trbFreqDelta)).BeginInit();
|
|
|
+ this.groupBox3.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.picMap)).BeginInit();
|
|
|
+ this.groupBox4.SuspendLayout();
|
|
|
+ this.gbLog.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // groupBox1
|
|
|
+ //
|
|
|
+ this.groupBox1.Controls.Add(this.rbLocator);
|
|
|
+ this.groupBox1.Controls.Add(this.rbActive);
|
|
|
+ this.groupBox1.Controls.Add(this.rbPass);
|
|
|
+ this.groupBox1.Location = new System.Drawing.Point(510, 12);
|
|
|
+ this.groupBox1.Name = "groupBox1";
|
|
|
+ this.groupBox1.Size = new System.Drawing.Size(174, 110);
|
|
|
+ this.groupBox1.TabIndex = 1;
|
|
|
+ this.groupBox1.TabStop = false;
|
|
|
+ this.groupBox1.Text = "Тип детектора:";
|
|
|
+ //
|
|
|
+ // rbLocator
|
|
|
+ //
|
|
|
+ this.rbLocator.AutoSize = true;
|
|
|
+ this.rbLocator.Location = new System.Drawing.Point(19, 77);
|
|
|
+ this.rbLocator.Name = "rbLocator";
|
|
|
+ this.rbLocator.Size = new System.Drawing.Size(150, 19);
|
|
|
+ this.rbLocator.TabIndex = 2;
|
|
|
+ this.rbLocator.TabStop = true;
|
|
|
+ this.rbLocator.Text = "Нелинейный локатор";
|
|
|
+ this.rbLocator.UseVisualStyleBackColor = true;
|
|
|
+ this.rbLocator.CheckedChanged += new System.EventHandler(this.rbLocator_CheckedChanged);
|
|
|
+ //
|
|
|
+ // rbActive
|
|
|
+ //
|
|
|
+ this.rbActive.AutoSize = true;
|
|
|
+ this.rbActive.Location = new System.Drawing.Point(19, 51);
|
|
|
+ this.rbActive.Name = "rbActive";
|
|
|
+ this.rbActive.Size = new System.Drawing.Size(140, 19);
|
|
|
+ this.rbActive.TabIndex = 1;
|
|
|
+ this.rbActive.TabStop = true;
|
|
|
+ this.rbActive.Text = "Активный детектор";
|
|
|
+ this.rbActive.UseVisualStyleBackColor = true;
|
|
|
+ this.rbActive.CheckedChanged += new System.EventHandler(this.rbActive_CheckedChanged);
|
|
|
+ //
|
|
|
+ // rbPass
|
|
|
+ //
|
|
|
+ this.rbPass.AutoSize = true;
|
|
|
+ this.rbPass.Location = new System.Drawing.Point(19, 25);
|
|
|
+ this.rbPass.Name = "rbPass";
|
|
|
+ this.rbPass.Size = new System.Drawing.Size(148, 19);
|
|
|
+ this.rbPass.TabIndex = 0;
|
|
|
+ this.rbPass.TabStop = true;
|
|
|
+ this.rbPass.Text = "Пассивный детектор";
|
|
|
+ this.rbPass.UseVisualStyleBackColor = true;
|
|
|
+ this.rbPass.CheckedChanged += new System.EventHandler(this.rbPass_CheckedChanged);
|
|
|
+ //
|
|
|
+ // trbFreq
|
|
|
+ //
|
|
|
+ this.trbFreq.Location = new System.Drawing.Point(6, 19);
|
|
|
+ this.trbFreq.Name = "trbFreq";
|
|
|
+ this.trbFreq.Size = new System.Drawing.Size(161, 50);
|
|
|
+ this.trbFreq.TabIndex = 2;
|
|
|
+ this.trbFreq.Scroll += new System.EventHandler(this.trbFreq_Scroll);
|
|
|
+ //
|
|
|
+ // groupBox2
|
|
|
+ //
|
|
|
+ this.groupBox2.Controls.Add(this.lblFreqDelta);
|
|
|
+ this.groupBox2.Controls.Add(this.trbFreqDelta);
|
|
|
+ this.groupBox2.Controls.Add(this.trbFreq);
|
|
|
+ this.groupBox2.Location = new System.Drawing.Point(510, 135);
|
|
|
+ this.groupBox2.Name = "groupBox2";
|
|
|
+ this.groupBox2.Size = new System.Drawing.Size(174, 122);
|
|
|
+ this.groupBox2.TabIndex = 3;
|
|
|
+ this.groupBox2.TabStop = false;
|
|
|
+ this.groupBox2.Text = "Частота:";
|
|
|
+ //
|
|
|
+ // lblFreqDelta
|
|
|
+ //
|
|
|
+ this.lblFreqDelta.AutoSize = true;
|
|
|
+ this.lblFreqDelta.Location = new System.Drawing.Point(10, 50);
|
|
|
+ this.lblFreqDelta.Name = "lblFreqDelta";
|
|
|
+ this.lblFreqDelta.Size = new System.Drawing.Size(120, 15);
|
|
|
+ this.lblFreqDelta.TabIndex = 4;
|
|
|
+ this.lblFreqDelta.Text = "Усиление разности";
|
|
|
+ //
|
|
|
+ // trbFreqDelta
|
|
|
+ //
|
|
|
+ this.trbFreqDelta.Location = new System.Drawing.Point(8, 68);
|
|
|
+ this.trbFreqDelta.Name = "trbFreqDelta";
|
|
|
+ this.trbFreqDelta.Size = new System.Drawing.Size(161, 50);
|
|
|
+ this.trbFreqDelta.TabIndex = 3;
|
|
|
+ //
|
|
|
+ // groupBox3
|
|
|
+ //
|
|
|
+ this.groupBox3.Controls.Add(this.picMap);
|
|
|
+ this.groupBox3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
|
+ this.groupBox3.Location = new System.Drawing.Point(10, 12);
|
|
|
+ this.groupBox3.Name = "groupBox3";
|
|
|
+ this.groupBox3.Size = new System.Drawing.Size(490, 568);
|
|
|
+ this.groupBox3.TabIndex = 4;
|
|
|
+ this.groupBox3.TabStop = false;
|
|
|
+ this.groupBox3.Text = "Карта местности";
|
|
|
+ //
|
|
|
+ // picMap
|
|
|
+ //
|
|
|
+ this.picMap.Cursor = System.Windows.Forms.Cursors.Cross;
|
|
|
+ this.picMap.Location = new System.Drawing.Point(6, 20);
|
|
|
+ this.picMap.Name = "picMap";
|
|
|
+ this.picMap.Size = new System.Drawing.Size(480, 540);
|
|
|
+ this.picMap.TabIndex = 0;
|
|
|
+ this.picMap.TabStop = false;
|
|
|
+ this.picMap.MouseMove += new System.Windows.Forms.MouseEventHandler(this.picMap_MouseMove);
|
|
|
+ //
|
|
|
+ // groupBox4
|
|
|
+ //
|
|
|
+ this.groupBox4.Controls.Add(this.lblCursor);
|
|
|
+ this.groupBox4.Location = new System.Drawing.Point(510, 276);
|
|
|
+ this.groupBox4.Name = "groupBox4";
|
|
|
+ this.groupBox4.Size = new System.Drawing.Size(174, 130);
|
|
|
+ this.groupBox4.TabIndex = 5;
|
|
|
+ this.groupBox4.TabStop = false;
|
|
|
+ this.groupBox4.Text = "Данные:";
|
|
|
+ //
|
|
|
+ // lblCursor
|
|
|
+ //
|
|
|
+ this.lblCursor.AutoSize = true;
|
|
|
+ this.lblCursor.Location = new System.Drawing.Point(13, 25);
|
|
|
+ this.lblCursor.Name = "lblCursor";
|
|
|
+ this.lblCursor.Size = new System.Drawing.Size(58, 15);
|
|
|
+ this.lblCursor.TabIndex = 0;
|
|
|
+ this.lblCursor.Text = "X:---; Y:---";
|
|
|
+ //
|
|
|
+ // button1
|
|
|
+ //
|
|
|
+ this.button1.Location = new System.Drawing.Point(510, 421);
|
|
|
+ this.button1.Name = "button1";
|
|
|
+ this.button1.Size = new System.Drawing.Size(174, 40);
|
|
|
+ this.button1.TabIndex = 6;
|
|
|
+ this.button1.Text = "Генерировать карту";
|
|
|
+ this.button1.UseVisualStyleBackColor = true;
|
|
|
+ this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
|
+ //
|
|
|
+ // gbLog
|
|
|
+ //
|
|
|
+ this.gbLog.Controls.Add(this.trackBar1);
|
|
|
+ this.gbLog.Controls.Add(this.rtbLog);
|
|
|
+ this.gbLog.Location = new System.Drawing.Point(10, 586);
|
|
|
+ this.gbLog.Name = "gbLog";
|
|
|
+ this.gbLog.Size = new System.Drawing.Size(669, 173);
|
|
|
+ this.gbLog.TabIndex = 7;
|
|
|
+ this.gbLog.TabStop = false;
|
|
|
+ this.gbLog.Text = "Лог работы";
|
|
|
+ //
|
|
|
+ // trackBar1
|
|
|
+ //
|
|
|
+ this.trackBar1.Location = new System.Drawing.Point(237, 100);
|
|
|
+ this.trackBar1.Name = "trackBar1";
|
|
|
+ this.trackBar1.Size = new System.Drawing.Size(8, 50);
|
|
|
+ this.trackBar1.TabIndex = 1;
|
|
|
+ //
|
|
|
+ // rtbLog
|
|
|
+ //
|
|
|
+ this.rtbLog.Location = new System.Drawing.Point(9, 24);
|
|
|
+ this.rtbLog.Name = "rtbLog";
|
|
|
+ this.rtbLog.Size = new System.Drawing.Size(649, 143);
|
|
|
+ this.rtbLog.TabIndex = 0;
|
|
|
+ this.rtbLog.Text = "";
|
|
|
+ //
|
|
|
+ // btnSoundOn
|
|
|
+ //
|
|
|
+ this.btnSoundOn.Location = new System.Drawing.Point(510, 470);
|
|
|
+ this.btnSoundOn.Name = "btnSoundOn";
|
|
|
+ this.btnSoundOn.Size = new System.Drawing.Size(174, 40);
|
|
|
+ this.btnSoundOn.TabIndex = 8;
|
|
|
+ this.btnSoundOn.Text = "Включить звук";
|
|
|
+ this.btnSoundOn.UseVisualStyleBackColor = true;
|
|
|
+ this.btnSoundOn.Click += new System.EventHandler(this.btnSoundOn_Click);
|
|
|
+ //
|
|
|
+ // FormMain
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(692, 771);
|
|
|
+ this.Controls.Add(this.btnSoundOn);
|
|
|
+ this.Controls.Add(this.gbLog);
|
|
|
+ this.Controls.Add(this.button1);
|
|
|
+ this.Controls.Add(this.groupBox4);
|
|
|
+ this.Controls.Add(this.groupBox3);
|
|
|
+ this.Controls.Add(this.groupBox2);
|
|
|
+ this.Controls.Add(this.groupBox1);
|
|
|
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
+ this.Name = "FormMain";
|
|
|
+ this.Text = "Моделирование работы детекторов металла";
|
|
|
+ this.Load += new System.EventHandler(this.FormMain_Load);
|
|
|
+ this.groupBox1.ResumeLayout(false);
|
|
|
+ this.groupBox1.PerformLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.trbFreq)).EndInit();
|
|
|
+ this.groupBox2.ResumeLayout(false);
|
|
|
+ this.groupBox2.PerformLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.trbFreqDelta)).EndInit();
|
|
|
+ this.groupBox3.ResumeLayout(false);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.picMap)).EndInit();
|
|
|
+ this.groupBox4.ResumeLayout(false);
|
|
|
+ this.groupBox4.PerformLayout();
|
|
|
+ this.gbLog.ResumeLayout(false);
|
|
|
+ this.gbLog.PerformLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
|
|
|
+ this.ResumeLayout(false);
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+ private System.Windows.Forms.GroupBox groupBox1;
|
|
|
+ private System.Windows.Forms.RadioButton rbActive;
|
|
|
+ private System.Windows.Forms.RadioButton rbPass;
|
|
|
+ private System.Windows.Forms.RadioButton rbLocator;
|
|
|
+ private System.Windows.Forms.GroupBox groupBox2;
|
|
|
+ private System.Windows.Forms.GroupBox groupBox3;
|
|
|
+ private System.Windows.Forms.PictureBox picMap;
|
|
|
+ private System.Windows.Forms.GroupBox groupBox4;
|
|
|
+ private System.Windows.Forms.Button button1;
|
|
|
+ private System.Windows.Forms.GroupBox gbLog;
|
|
|
+ private System.Windows.Forms.RichTextBox rtbLog;
|
|
|
+ private System.Windows.Forms.TrackBar trackBar1;
|
|
|
+ private System.Windows.Forms.TrackBar trbFreqDelta;
|
|
|
+ private System.Windows.Forms.Label lblFreqDelta;
|
|
|
+ private System.Windows.Forms.Button btnSoundOn;
|
|
|
+ public System.Windows.Forms.TrackBar trbFreq;
|
|
|
+ public System.Windows.Forms.Label lblCursor;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|