public GuiCurve(HmiSimulator scr) { m_runScreen = scr; m_guiApp = scr.GuiApp; m_TPDev = scr.TPDevInf; for (int idx = 0; idx < CurveIndex.Length; ++idx) CurveIndex[idx] = new InfoCurveIndex(); }
public GuiCurve(HmiSimulator scr) { m_runScreen = scr; m_guiApp = scr.GuiApp; m_TPDev = scr.TPDevInf; for (int idx = 0; idx < CurveIndex.Length; ++idx) { CurveIndex[idx] = new InfoCurveIndex(); } }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(main)); this.tbCompilerOutput = new System.Windows.Forms.RichTextBox(); this.label2 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.listBox2 = new System.Windows.Forms.ListBox(); this.label4 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.listBox1 = new System.Windows.Forms.ListBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.btnSaveAsComponent = new System.Windows.Forms.Button(); this.listBox4 = new System.Windows.Forms.ListBox(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.menuStrip = new System.Windows.Forms.MenuStrip(); this.mi_File = new System.Windows.Forms.ToolStripMenuItem(); this.miNew2 = new System.Windows.Forms.ToolStripMenuItem(); this.miOpen2 = new System.Windows.Forms.ToolStripMenuItem(); this.miOpenBuildFolder = new System.Windows.Forms.ToolStripMenuItem(); this.separator10 = new System.Windows.Forms.ToolStripSeparator(); this.miSave2 = new System.Windows.Forms.ToolStripMenuItem(); this.miSaveAs = new System.Windows.Forms.ToolStripMenuItem(); this.miSaveOther = new System.Windows.Forms.ToolStripMenuItem(); this.separator9 = new System.Windows.Forms.ToolStripSeparator(); this.miImportProject = new System.Windows.Forms.ToolStripMenuItem(); this.miCloseProject = new System.Windows.Forms.ToolStripMenuItem(); this.separator11 = new System.Windows.Forms.ToolStripSeparator(); this.miExit = new System.Windows.Forms.ToolStripMenuItem(); this.miTools = new System.Windows.Forms.ToolStripMenuItem(); this.miFontGenerator = new System.Windows.Forms.ToolStripMenuItem(); this.miEyeDropper = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Help = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Language = new System.Windows.Forms.ToolStripMenuItem(); this.mi_English = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Chinese = new System.Windows.Forms.ToolStripMenuItem(); this.toolBar = new System.Windows.Forms.ToolStrip(); this.mi_Open = new System.Windows.Forms.ToolStripButton(); this.mi_New = new System.Windows.Forms.ToolStripButton(); this.mi_Save = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.mi_Compile = new System.Windows.Forms.ToolStripButton(); this.mi_Debug = new System.Windows.Forms.ToolStripButton(); this.mi_Upload = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.mi_AddComponent = new System.Windows.Forms.ToolStripDropDownButton(); this.mi_Text = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Number = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Button = new System.Windows.Forms.ToolStripMenuItem(); this.mi_ProgressBar = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Picture = new System.Windows.Forms.ToolStripMenuItem(); this.mi_CropImage = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Hotspot = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Gauges = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Waveform = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Slider = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Timer = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Variable = new System.Windows.Forms.ToolStripMenuItem(); this.mi_DualButton = new System.Windows.Forms.ToolStripMenuItem(); this.mi_RadioBox = new System.Windows.Forms.ToolStripMenuItem(); this.mi_Checkbox = new System.Windows.Forms.ToolStripMenuItem(); this.mi_DeleteComponent = new System.Windows.Forms.ToolStripDropDownButton(); this.mi_DeleteSelected = new System.Windows.Forms.ToolStripMenuItem(); this.mi_DeleteAll = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.mi_Copy = new System.Windows.Forms.ToolStripButton(); this.mi_Paste = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.mi_Resolution = new System.Windows.Forms.ToolStripButton(); this.mi_ID = new System.Windows.Forms.ToolStripButton(); this.mi_XY = new System.Windows.Forms.ToolStripButton(); this.panelLeft = new System.Windows.Forms.Panel(); this.panelPicAdmin = new System.Windows.Forms.Panel(); this.picAdmin = new NextionEditor.PicAdmin(); this.splitter4 = new System.Windows.Forms.Splitter(); this.panelFontAdmin = new System.Windows.Forms.Panel(); this.fontAdmin = new NextionEditor.FontAdmin(); this.panelRight = new System.Windows.Forms.Panel(); this.panelPageAdmin = new System.Windows.Forms.Panel(); this.pageAdmin = new NextionEditor.PageAdmin(); this.splitter6 = new System.Windows.Forms.Splitter(); this.panelObjAttrs = new System.Windows.Forms.Panel(); this.m_attributeEdit = new NextionEditor.ObjEdit(); this.splitter1 = new System.Windows.Forms.Splitter(); this.splitter2 = new System.Windows.Forms.Splitter(); this.panelBottom = new System.Windows.Forms.Panel(); this.m_compiler = new NextionEditor.ObjCompiler(); this.panel9 = new System.Windows.Forms.Panel(); this.splitter3 = new System.Windows.Forms.Splitter(); this.panelView = new System.Windows.Forms.Panel(); this.runScreen = new NextionEditor.HmiSimulator(); this.groupBox1.SuspendLayout(); this.statusStrip.SuspendLayout(); this.menuStrip.SuspendLayout(); this.toolBar.SuspendLayout(); this.panelLeft.SuspendLayout(); this.panelPicAdmin.SuspendLayout(); this.panelFontAdmin.SuspendLayout(); this.panelRight.SuspendLayout(); this.panelPageAdmin.SuspendLayout(); this.panelObjAttrs.SuspendLayout(); this.panelBottom.SuspendLayout(); this.panelView.SuspendLayout(); this.SuspendLayout(); // // tbCompilerOutput // this.tbCompilerOutput.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.tbCompilerOutput.Location = new System.Drawing.Point(4, 30); this.tbCompilerOutput.Margin = new System.Windows.Forms.Padding(4); this.tbCompilerOutput.Name = "tbCompilerOutput"; this.tbCompilerOutput.ReadOnly = true; this.tbCompilerOutput.Size = new System.Drawing.Size(235, 150); this.tbCompilerOutput.TabIndex = 180; this.tbCompilerOutput.Text = ""; // // label2 // this.label2.AutoSize = true; this.label2.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.label2.Location = new System.Drawing.Point(4, 6); this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(105, 17); this.label2.TabIndex = 177; this.label2.Text = "Compiler Output"; // // groupBox1 // this.groupBox1.Controls.Add(this.textBox2); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.textBox1); this.groupBox1.Controls.Add(this.listBox2); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.listBox1); this.groupBox1.Controls.Add(this.textBox3); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.btnSaveAsComponent); this.groupBox1.Controls.Add(this.listBox4); this.groupBox1.Location = new System.Drawing.Point(113, 4); this.groupBox1.Margin = new System.Windows.Forms.Padding(4); this.groupBox1.Name = "groupBox1"; this.groupBox1.Padding = new System.Windows.Forms.Padding(4); this.groupBox1.Size = new System.Drawing.Size(623, 412); this.groupBox1.TabIndex = 134; this.groupBox1.TabStop = false; this.groupBox1.Text = "groupBox1"; this.groupBox1.Visible = false; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(221, 202); this.textBox2.Margin = new System.Windows.Forms.Padding(4); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textBox2.Size = new System.Drawing.Size(259, 140); this.textBox2.TabIndex = 145; // // label5 // this.label5.AutoSize = true; this.label5.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.label5.Location = new System.Drawing.Point(8, 31); this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(54, 17); this.label5.TabIndex = 133; this.label5.Text = "codes_L"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(11, 52); this.textBox1.Margin = new System.Windows.Forms.Padding(4); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textBox1.Size = new System.Drawing.Size(202, 144); this.textBox1.TabIndex = 132; // // listBox2 // this.listBox2.FormattingEnabled = true; this.listBox2.ItemHeight = 17; this.listBox2.Location = new System.Drawing.Point(11, 236); this.listBox2.Margin = new System.Windows.Forms.Padding(4); this.listBox2.Name = "listBox2"; this.listBox2.Size = new System.Drawing.Size(202, 106); this.listBox2.TabIndex = 115; this.listBox2.SelectedIndexChanged += new System.EventHandler(this.listBox2_SelectedIndexChanged); // // label4 // this.label4.AutoSize = true; this.label4.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.label4.Location = new System.Drawing.Point(8, 215); this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(105, 17); this.label4.TabIndex = 116; this.label4.Text = "Components List"; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label1.AutoSize = true; this.label1.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.label1.Location = new System.Drawing.Point(396, -177); this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(77, 17); this.label1.TabIndex = 144; this.label1.Text = "Return Data"; // // listBox1 // this.listBox1.BackColor = System.Drawing.Color.White; this.listBox1.ForeColor = System.Drawing.Color.Black; this.listBox1.FormattingEnabled = true; this.listBox1.ItemHeight = 17; this.listBox1.Location = new System.Drawing.Point(488, 52); this.listBox1.Margin = new System.Windows.Forms.Padding(4); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(127, 140); this.listBox1.TabIndex = 142; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(221, 52); this.textBox3.Margin = new System.Windows.Forms.Padding(4); this.textBox3.Multiline = true; this.textBox3.Name = "textBox3"; this.textBox3.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textBox3.Size = new System.Drawing.Size(259, 140); this.textBox3.TabIndex = 106; // // label3 // this.label3.AutoSize = true; this.label3.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.label3.Location = new System.Drawing.Point(227, 31); this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(109, 17); this.label3.TabIndex = 107; this.label3.Text = "Component code"; // // btnSaveAsComponent // this.btnSaveAsComponent.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.btnSaveAsComponent.Location = new System.Drawing.Point(221, 350); this.btnSaveAsComponent.Margin = new System.Windows.Forms.Padding(4); this.btnSaveAsComponent.Name = "btnSaveAsComponent"; this.btnSaveAsComponent.Size = new System.Drawing.Size(102, 36); this.btnSaveAsComponent.TabIndex = 117; this.btnSaveAsComponent.Text = "Save As Component"; this.btnSaveAsComponent.UseVisualStyleBackColor = true; this.btnSaveAsComponent.Click += new System.EventHandler(this.btnSaveAsComponent_Click); // // listBox4 // this.listBox4.FormattingEnabled = true; this.listBox4.ItemHeight = 17; this.listBox4.Location = new System.Drawing.Point(488, 202); this.listBox4.Margin = new System.Windows.Forms.Padding(4); this.listBox4.Name = "listBox4"; this.listBox4.Size = new System.Drawing.Size(127, 140); this.listBox4.TabIndex = 143; // // statusStrip // this.statusStrip.BackColor = System.Drawing.SystemColors.Control; this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.statusLabel}); this.statusStrip.Location = new System.Drawing.Point(0, 719); this.statusStrip.Name = "statusStrip"; this.statusStrip.Padding = new System.Windows.Forms.Padding(1, 0, 17, 0); this.statusStrip.Size = new System.Drawing.Size(1339, 22); this.statusStrip.TabIndex = 55; this.statusStrip.Text = "statusStrip1"; // // statusLabel // this.statusLabel.Name = "statusLabel"; this.statusLabel.Size = new System.Drawing.Size(1321, 17); this.statusLabel.Spring = true; this.statusLabel.Text = "File size:"; this.statusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // menuStrip // this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mi_File, this.miTools, this.mi_Help, this.mi_Language}); this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2); this.menuStrip.Size = new System.Drawing.Size(1339, 25); this.menuStrip.TabIndex = 173; this.menuStrip.Text = "menuStrip1"; // // mi_File // this.mi_File.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.miNew2, this.miOpen2, this.miOpenBuildFolder, this.separator10, this.miSave2, this.miSaveAs, this.miSaveOther, this.separator9, this.miImportProject, this.miCloseProject, this.separator11, this.miExit}); this.mi_File.Name = "mi_File"; this.mi_File.Size = new System.Drawing.Size(39, 21); this.mi_File.Text = "File"; // // miNew2 // this.miNew2.Name = "miNew2"; this.miNew2.Size = new System.Drawing.Size(187, 22); this.miNew2.Text = "New"; this.miNew2.Click += new System.EventHandler(this.mi_New_Click); // // miOpen2 // this.miOpen2.Name = "miOpen2"; this.miOpen2.Size = new System.Drawing.Size(187, 22); this.miOpen2.Text = "Open"; this.miOpen2.Click += new System.EventHandler(this.mi_Open_Click); // // miOpenBuildFolder // this.miOpenBuildFolder.Name = "miOpenBuildFolder"; this.miOpenBuildFolder.Size = new System.Drawing.Size(187, 22); this.miOpenBuildFolder.Text = "Open build folder"; this.miOpenBuildFolder.Click += new System.EventHandler(this.mi_Open3_Click); // // separator10 // this.separator10.Name = "separator10"; this.separator10.Size = new System.Drawing.Size(184, 6); // // miSave2 // this.miSave2.Name = "miSave2"; this.miSave2.Size = new System.Drawing.Size(187, 22); this.miSave2.Text = "Save"; this.miSave2.Click += new System.EventHandler(this.mi_Save_Click); // // miSaveAs // this.miSaveAs.Name = "miSaveAs"; this.miSaveAs.Size = new System.Drawing.Size(187, 22); this.miSaveAs.Text = "Save as"; this.miSaveAs.Click += new System.EventHandler(this.mi_SaveAs_Click); // // miSaveOther // this.miSaveOther.Name = "miSaveOther"; this.miSaveOther.Size = new System.Drawing.Size(187, 22); this.miSaveOther.Text = "Save Other Version"; this.miSaveOther.Click += new System.EventHandler(this.mi_SaveOther_Click); // // separator9 // this.separator9.Name = "separator9"; this.separator9.Size = new System.Drawing.Size(184, 6); // // miImportProject // this.miImportProject.Name = "miImportProject"; this.miImportProject.Size = new System.Drawing.Size(187, 22); this.miImportProject.Text = "Import ..."; this.miImportProject.Click += new System.EventHandler(this.miImport_Click); // // miCloseProject // this.miCloseProject.Name = "miCloseProject"; this.miCloseProject.Size = new System.Drawing.Size(187, 22); this.miCloseProject.Text = "Close Project"; this.miCloseProject.Click += new System.EventHandler(this.mi_CloseProject_Click); // // separator11 // this.separator11.Name = "separator11"; this.separator11.Size = new System.Drawing.Size(184, 6); // // miExit // this.miExit.Name = "miExit"; this.miExit.Size = new System.Drawing.Size(187, 22); this.miExit.Text = "Exit"; this.miExit.Click += new System.EventHandler(this.miExit_Click); // // miTools // this.miTools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.miFontGenerator, this.miEyeDropper}); this.miTools.Name = "miTools"; this.miTools.Size = new System.Drawing.Size(51, 21); this.miTools.Text = "Tools"; // // miFontGenerator // this.miFontGenerator.Name = "miFontGenerator"; this.miFontGenerator.Size = new System.Drawing.Size(164, 22); this.miFontGenerator.Text = "Font Generator"; this.miFontGenerator.Click += new System.EventHandler(this.miFontGenerator_Click); // // miEyeDropper // this.miEyeDropper.Name = "miEyeDropper"; this.miEyeDropper.Size = new System.Drawing.Size(164, 22); this.miEyeDropper.Text = "EyeDropper"; this.miEyeDropper.Click += new System.EventHandler(this.miEyeDropper_Click); // // mi_Help // this.mi_Help.Name = "mi_Help"; this.mi_Help.Size = new System.Drawing.Size(47, 21); this.mi_Help.Text = "Help"; this.mi_Help.Click += new System.EventHandler(this.mi_Help_Click); // // mi_Language // this.mi_Language.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mi_English, this.mi_Chinese}); this.mi_Language.Name = "mi_Language"; this.mi_Language.Size = new System.Drawing.Size(77, 21); this.mi_Language.Text = "Language"; // // mi_English // this.mi_English.Name = "mi_English"; this.mi_English.Size = new System.Drawing.Size(121, 22); this.mi_English.Text = "English"; this.mi_English.Click += new System.EventHandler(this.miEnglish_Click); // // mi_Chinese // this.mi_Chinese.Name = "mi_Chinese"; this.mi_Chinese.Size = new System.Drawing.Size(121, 22); this.mi_Chinese.Text = "Chinese"; this.mi_Chinese.Click += new System.EventHandler(this.miChinese_Click); // // toolBar // this.toolBar.BackColor = System.Drawing.SystemColors.Control; this.toolBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mi_Open, this.mi_New, this.mi_Save, this.toolStripSeparator1, this.toolStripSeparator2, this.mi_Compile, this.mi_Debug, this.mi_Upload, this.toolStripSeparator4, this.toolStripSeparator3, this.mi_AddComponent, this.mi_DeleteComponent, this.toolStripSeparator5, this.toolStripSeparator6, this.mi_Copy, this.mi_Paste, this.toolStripSeparator7, this.toolStripSeparator8, this.mi_Resolution, this.mi_ID, this.mi_XY}); this.toolBar.Location = new System.Drawing.Point(0, 25); this.toolBar.Name = "toolBar"; this.toolBar.Size = new System.Drawing.Size(1339, 25); this.toolBar.TabIndex = 174; this.toolBar.Text = "toolStrip1"; // // mi_Open // this.mi_Open.Image = ((System.Drawing.Image)(resources.GetObject("mi_Open.Image"))); this.mi_Open.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_Open.Name = "mi_Open"; this.mi_Open.Size = new System.Drawing.Size(60, 22); this.mi_Open.Text = "Open"; this.mi_Open.Click += new System.EventHandler(this.mi_Open_Click); // // mi_New // this.mi_New.Image = ((System.Drawing.Image)(resources.GetObject("mi_New.Image"))); this.mi_New.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_New.Name = "mi_New"; this.mi_New.Size = new System.Drawing.Size(54, 22); this.mi_New.Text = "New"; this.mi_New.Click += new System.EventHandler(this.mi_New_Click); // // mi_Save // this.mi_Save.Image = ((System.Drawing.Image)(resources.GetObject("mi_Save.Image"))); this.mi_Save.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_Save.Name = "mi_Save"; this.mi_Save.Size = new System.Drawing.Size(55, 22); this.mi_Save.Text = "Save"; this.mi_Save.Click += new System.EventHandler(this.mi_Save_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // mi_Compile // this.mi_Compile.Image = ((System.Drawing.Image)(resources.GetObject("mi_Compile.Image"))); this.mi_Compile.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_Compile.Name = "mi_Compile"; this.mi_Compile.Size = new System.Drawing.Size(76, 22); this.mi_Compile.Text = "Compile"; this.mi_Compile.Click += new System.EventHandler(this.mi_Compile_Click); // // mi_Debug // this.mi_Debug.Image = ((System.Drawing.Image)(resources.GetObject("mi_Debug.Image"))); this.mi_Debug.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_Debug.Name = "mi_Debug"; this.mi_Debug.Size = new System.Drawing.Size(67, 22); this.mi_Debug.Text = "Debug"; this.mi_Debug.Click += new System.EventHandler(this.mi_Debug_Click); // // mi_Upload // this.mi_Upload.Image = ((System.Drawing.Image)(resources.GetObject("mi_Upload.Image"))); this.mi_Upload.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_Upload.Name = "mi_Upload"; this.mi_Upload.Size = new System.Drawing.Size(71, 22); this.mi_Upload.Text = "Upload"; this.mi_Upload.Click += new System.EventHandler(this.mi_Upload_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); // // mi_AddComponent // this.mi_AddComponent.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mi_Text, this.mi_Number, this.mi_Button, this.mi_ProgressBar, this.mi_Picture, this.mi_CropImage, this.mi_Hotspot, this.mi_Gauges, this.mi_Waveform, this.mi_Slider, this.mi_Timer, this.mi_Variable, this.mi_DualButton, this.mi_RadioBox, this.mi_Checkbox}); this.mi_AddComponent.Image = ((System.Drawing.Image)(resources.GetObject("mi_AddComponent.Image"))); this.mi_AddComponent.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_AddComponent.Name = "mi_AddComponent"; this.mi_AddComponent.Size = new System.Drawing.Size(133, 22); this.mi_AddComponent.Text = "Add Component"; // // mi_Text // this.mi_Text.Name = "mi_Text"; this.mi_Text.Size = new System.Drawing.Size(224, 22); this.mi_Text.Text = "Text"; this.mi_Text.Click += new System.EventHandler(this.mi_Text_Click); // // mi_Number // this.mi_Number.Name = "mi_Number"; this.mi_Number.Size = new System.Drawing.Size(224, 22); this.mi_Number.Text = "Number"; this.mi_Number.Click += new System.EventHandler(this.mi_Number_Click); // // mi_Button // this.mi_Button.Name = "mi_Button"; this.mi_Button.Size = new System.Drawing.Size(224, 22); this.mi_Button.Text = "Button"; this.mi_Button.Click += new System.EventHandler(this.mi_Button_Click); // // mi_ProgressBar // this.mi_ProgressBar.Name = "mi_ProgressBar"; this.mi_ProgressBar.Size = new System.Drawing.Size(224, 22); this.mi_ProgressBar.Text = "Progress bar"; this.mi_ProgressBar.Click += new System.EventHandler(this.mi_ProgressBar_Click); // // mi_Picture // this.mi_Picture.Name = "mi_Picture"; this.mi_Picture.Size = new System.Drawing.Size(224, 22); this.mi_Picture.Text = "Picture"; this.mi_Picture.Click += new System.EventHandler(this.mi_Picture_Click); // // mi_CropImage // this.mi_CropImage.Name = "mi_CropImage"; this.mi_CropImage.Size = new System.Drawing.Size(224, 22); this.mi_CropImage.Text = "Crop Image"; this.mi_CropImage.Click += new System.EventHandler(this.mi_CropImage_Click); // // mi_Hotspot // this.mi_Hotspot.Name = "mi_Hotspot"; this.mi_Hotspot.Size = new System.Drawing.Size(224, 22); this.mi_Hotspot.Text = "Hotspot"; this.mi_Hotspot.Click += new System.EventHandler(this.mi_Hotspot_Click); // // mi_Gauges // this.mi_Gauges.Name = "mi_Gauges"; this.mi_Gauges.Size = new System.Drawing.Size(224, 22); this.mi_Gauges.Text = "Gauges"; this.mi_Gauges.Click += new System.EventHandler(this.mi_Gauges_Click); // // mi_Waveform // this.mi_Waveform.Name = "mi_Waveform"; this.mi_Waveform.Size = new System.Drawing.Size(224, 22); this.mi_Waveform.Text = "Waveform"; this.mi_Waveform.Click += new System.EventHandler(this.mi_Waveform_Click); // // mi_Slider // this.mi_Slider.Name = "mi_Slider"; this.mi_Slider.Size = new System.Drawing.Size(224, 22); this.mi_Slider.Text = "Slider"; this.mi_Slider.Click += new System.EventHandler(this.mi_Slider_Click); // // mi_Timer // this.mi_Timer.Name = "mi_Timer"; this.mi_Timer.Size = new System.Drawing.Size(224, 22); this.mi_Timer.Text = "Timer"; this.mi_Timer.Click += new System.EventHandler(this.mi_Timer_Click); // // mi_Variable // this.mi_Variable.Name = "mi_Variable"; this.mi_Variable.Size = new System.Drawing.Size(224, 22); this.mi_Variable.Text = "Variable"; this.mi_Variable.Click += new System.EventHandler(this.mi_Variable_Click); // // mi_DualButton // this.mi_DualButton.Name = "mi_DualButton"; this.mi_DualButton.Size = new System.Drawing.Size(224, 22); this.mi_DualButton.Text = "Dual-state button"; this.mi_DualButton.Click += new System.EventHandler(this.mi_DualButton_Click); // // mi_RadioBox // this.mi_RadioBox.Name = "mi_RadioBox"; this.mi_RadioBox.Size = new System.Drawing.Size(224, 22); this.mi_RadioBox.Text = "Radio box (coming soon)"; this.mi_RadioBox.Click += new System.EventHandler(this.mi_RadioBox_Click); // // mi_Checkbox // this.mi_Checkbox.Name = "mi_Checkbox"; this.mi_Checkbox.Size = new System.Drawing.Size(224, 22); this.mi_Checkbox.Text = "Checkbox (coming soon)"; this.mi_Checkbox.Click += new System.EventHandler(this.mi_Checkbox_Click); // // mi_DeleteComponent // this.mi_DeleteComponent.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mi_DeleteSelected, this.mi_DeleteAll}); this.mi_DeleteComponent.Image = ((System.Drawing.Image)(resources.GetObject("mi_DeleteComponent.Image"))); this.mi_DeleteComponent.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_DeleteComponent.Name = "mi_DeleteComponent"; this.mi_DeleteComponent.Size = new System.Drawing.Size(146, 22); this.mi_DeleteComponent.Text = "Delete Component"; // // mi_DeleteSelected // this.mi_DeleteSelected.Name = "mi_DeleteSelected"; this.mi_DeleteSelected.Size = new System.Drawing.Size(238, 22); this.mi_DeleteSelected.Text = "Delete Selected Component"; this.mi_DeleteSelected.Click += new System.EventHandler(this.mi_DeleteSelected_Click); // // mi_DeleteAll // this.mi_DeleteAll.Name = "mi_DeleteAll"; this.mi_DeleteAll.Size = new System.Drawing.Size(238, 22); this.mi_DeleteAll.Text = "Delete All Components"; this.mi_DeleteAll.Click += new System.EventHandler(this.mi_DeleteAll_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25); // // mi_Copy // this.mi_Copy.Image = ((System.Drawing.Image)(resources.GetObject("mi_Copy.Image"))); this.mi_Copy.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_Copy.Name = "mi_Copy"; this.mi_Copy.Size = new System.Drawing.Size(58, 22); this.mi_Copy.Text = "Copy"; this.mi_Copy.Click += new System.EventHandler(this.mi_Copy_Click); // // mi_Paste // this.mi_Paste.Image = ((System.Drawing.Image)(resources.GetObject("mi_Paste.Image"))); this.mi_Paste.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_Paste.Name = "mi_Paste"; this.mi_Paste.Size = new System.Drawing.Size(59, 22); this.mi_Paste.Text = "Paste"; this.mi_Paste.Click += new System.EventHandler(this.mi_Paste_Click); // // toolStripSeparator7 // this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(6, 25); // // toolStripSeparator8 // this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Size = new System.Drawing.Size(6, 25); // // mi_Resolution // this.mi_Resolution.Image = ((System.Drawing.Image)(resources.GetObject("mi_Resolution.Image"))); this.mi_Resolution.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_Resolution.Name = "mi_Resolution"; this.mi_Resolution.Size = new System.Drawing.Size(89, 22); this.mi_Resolution.Text = "Resolution"; this.mi_Resolution.Click += new System.EventHandler(this.mi_Resolution_Click); // // mi_ID // this.mi_ID.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.mi_ID.Image = ((System.Drawing.Image)(resources.GetObject("mi_ID.Image"))); this.mi_ID.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_ID.Name = "mi_ID"; this.mi_ID.Size = new System.Drawing.Size(23, 22); this.mi_ID.Text = "ID"; this.mi_ID.Click += new System.EventHandler(this.mi_ID_Click); // // mi_XY // this.mi_XY.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.mi_XY.Image = ((System.Drawing.Image)(resources.GetObject("mi_XY.Image"))); this.mi_XY.ImageTransparentColor = System.Drawing.Color.Magenta; this.mi_XY.Name = "mi_XY"; this.mi_XY.Size = new System.Drawing.Size(27, 22); this.mi_XY.Text = "XY"; this.mi_XY.Click += new System.EventHandler(this.mi_XY_Click); // // panelLeft // this.panelLeft.Controls.Add(this.panelPicAdmin); this.panelLeft.Controls.Add(this.splitter4); this.panelLeft.Controls.Add(this.panelFontAdmin); this.panelLeft.Dock = System.Windows.Forms.DockStyle.Left; this.panelLeft.Location = new System.Drawing.Point(0, 50); this.panelLeft.Margin = new System.Windows.Forms.Padding(4); this.panelLeft.Name = "panelLeft"; this.panelLeft.Size = new System.Drawing.Size(256, 669); this.panelLeft.TabIndex = 177; // // panelPicAdmin // this.panelPicAdmin.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelPicAdmin.Controls.Add(this.picAdmin); this.panelPicAdmin.Dock = System.Windows.Forms.DockStyle.Fill; this.panelPicAdmin.Location = new System.Drawing.Point(0, 0); this.panelPicAdmin.Margin = new System.Windows.Forms.Padding(4); this.panelPicAdmin.Name = "panelPicAdmin"; this.panelPicAdmin.Size = new System.Drawing.Size(256, 416); this.panelPicAdmin.TabIndex = 2; this.panelPicAdmin.Resize += new System.EventHandler(this.panelPicAdmin_Resize); // // picAdmin // this.picAdmin.BackColor = System.Drawing.SystemColors.Control; this.picAdmin.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.picAdmin.Location = new System.Drawing.Point(13, 15); this.picAdmin.Margin = new System.Windows.Forms.Padding(4); this.picAdmin.Name = "picAdmin"; this.picAdmin.Size = new System.Drawing.Size(228, 353); this.picAdmin.TabIndex = 112; this.picAdmin.PicSelect += new System.EventHandler(this.picadmin1_picselect); this.picAdmin.PicUpdate += new System.EventHandler(this.picadmin1_picupdate); // // splitter4 // this.splitter4.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter4.Location = new System.Drawing.Point(0, 416); this.splitter4.Margin = new System.Windows.Forms.Padding(4); this.splitter4.Name = "splitter4"; this.splitter4.Size = new System.Drawing.Size(256, 3); this.splitter4.TabIndex = 1; this.splitter4.TabStop = false; // // panelFontAdmin // this.panelFontAdmin.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelFontAdmin.Controls.Add(this.fontAdmin); this.panelFontAdmin.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelFontAdmin.Location = new System.Drawing.Point(0, 419); this.panelFontAdmin.Margin = new System.Windows.Forms.Padding(4); this.panelFontAdmin.Name = "panelFontAdmin"; this.panelFontAdmin.Size = new System.Drawing.Size(256, 250); this.panelFontAdmin.TabIndex = 0; this.panelFontAdmin.Resize += new System.EventHandler(this.panelFontAdmin_Resize); // // fontAdmin // this.fontAdmin.BackColor = System.Drawing.SystemColors.Control; this.fontAdmin.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.fontAdmin.Location = new System.Drawing.Point(13, 8); this.fontAdmin.Margin = new System.Windows.Forms.Padding(4); this.fontAdmin.Name = "fontAdmin"; this.fontAdmin.Size = new System.Drawing.Size(228, 193); this.fontAdmin.TabIndex = 123; this.fontAdmin.FontUpdate += new System.EventHandler(this.fontAdmin_FontUpdate); // // panelRight // this.panelRight.Controls.Add(this.panelPageAdmin); this.panelRight.Controls.Add(this.splitter6); this.panelRight.Controls.Add(this.panelObjAttrs); this.panelRight.Dock = System.Windows.Forms.DockStyle.Right; this.panelRight.Location = new System.Drawing.Point(1083, 50); this.panelRight.Margin = new System.Windows.Forms.Padding(4); this.panelRight.Name = "panelRight"; this.panelRight.Size = new System.Drawing.Size(256, 669); this.panelRight.TabIndex = 180; // // panelPageAdmin // this.panelPageAdmin.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelPageAdmin.Controls.Add(this.pageAdmin); this.panelPageAdmin.Dock = System.Windows.Forms.DockStyle.Fill; this.panelPageAdmin.Location = new System.Drawing.Point(0, 0); this.panelPageAdmin.Margin = new System.Windows.Forms.Padding(4); this.panelPageAdmin.Name = "panelPageAdmin"; this.panelPageAdmin.Size = new System.Drawing.Size(256, 266); this.panelPageAdmin.TabIndex = 148; this.panelPageAdmin.Resize += new System.EventHandler(this.panelPageAdmin_Resize); // // pageAdmin // this.pageAdmin.BackColor = System.Drawing.SystemColors.Control; this.pageAdmin.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.pageAdmin.Location = new System.Drawing.Point(8, 15); this.pageAdmin.Margin = new System.Windows.Forms.Padding(4); this.pageAdmin.Name = "pageAdmin"; this.pageAdmin.Size = new System.Drawing.Size(234, 217); this.pageAdmin.TabIndex = 144; this.pageAdmin.PageChange += new System.EventHandler(this.pageAdmin_PageChange); this.pageAdmin.SelectEnter += new System.EventHandler(this.pageAdmin_SelectEnter); // // splitter6 // this.splitter6.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter6.Location = new System.Drawing.Point(0, 266); this.splitter6.Margin = new System.Windows.Forms.Padding(4); this.splitter6.Name = "splitter6"; this.splitter6.Size = new System.Drawing.Size(256, 3); this.splitter6.TabIndex = 147; this.splitter6.TabStop = false; // // panelObjAttrs // this.panelObjAttrs.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelObjAttrs.Controls.Add(this.m_attributeEdit); this.panelObjAttrs.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelObjAttrs.Location = new System.Drawing.Point(0, 269); this.panelObjAttrs.Margin = new System.Windows.Forms.Padding(4); this.panelObjAttrs.Name = "panelObjAttrs"; this.panelObjAttrs.Size = new System.Drawing.Size(256, 400); this.panelObjAttrs.TabIndex = 146; this.panelObjAttrs.Resize += new System.EventHandler(this.panelObjAttrs_Resize); // // m_attributeEdit // this.m_attributeEdit.BackColor = System.Drawing.SystemColors.Control; this.m_attributeEdit.Location = new System.Drawing.Point(8, 8); this.m_attributeEdit.Margin = new System.Windows.Forms.Padding(4); this.m_attributeEdit.Name = "m_attributeEdit"; this.m_attributeEdit.Size = new System.Drawing.Size(234, 339); this.m_attributeEdit.TabIndex = 113; this.m_attributeEdit.ObjectAttach += new System.EventHandler(this.attributeEdit_ObjectAttach); this.m_attributeEdit.ObjectPosXY += new System.EventHandler(this.attributeEdit_ObjectPosXY); // // splitter1 // this.splitter1.Location = new System.Drawing.Point(256, 50); this.splitter1.Margin = new System.Windows.Forms.Padding(4); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 669); this.splitter1.TabIndex = 181; this.splitter1.TabStop = false; // // splitter2 // this.splitter2.Dock = System.Windows.Forms.DockStyle.Right; this.splitter2.Location = new System.Drawing.Point(1080, 50); this.splitter2.Margin = new System.Windows.Forms.Padding(4); this.splitter2.Name = "splitter2"; this.splitter2.Size = new System.Drawing.Size(3, 669); this.splitter2.TabIndex = 182; this.splitter2.TabStop = false; // // panelBottom // this.panelBottom.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelBottom.Controls.Add(this.m_compiler); this.panelBottom.Controls.Add(this.tbCompilerOutput); this.panelBottom.Controls.Add(this.label2); this.panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelBottom.Location = new System.Drawing.Point(259, 533); this.panelBottom.Margin = new System.Windows.Forms.Padding(4); this.panelBottom.Name = "panelBottom"; this.panelBottom.Size = new System.Drawing.Size(821, 186); this.panelBottom.TabIndex = 183; this.panelBottom.Paint += new System.Windows.Forms.PaintEventHandler(this.panelBottom_Paint); // // m_compiler // this.m_compiler.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.m_compiler.BackColor = System.Drawing.Color.White; this.m_compiler.Location = new System.Drawing.Point(248, 31); this.m_compiler.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.m_compiler.Name = "m_compiler"; this.m_compiler.Size = new System.Drawing.Size(563, 149); this.m_compiler.TabIndex = 178; this.m_compiler.ChangeAttribute += new System.EventHandler(this.objAttCompiler_ChangeAttribute); // // panel9 // this.panel9.AutoScroll = true; this.panel9.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel9.Location = new System.Drawing.Point(259, 480); this.panel9.Margin = new System.Windows.Forms.Padding(4); this.panel9.Name = "panel9"; this.panel9.Size = new System.Drawing.Size(821, 50); this.panel9.TabIndex = 177; this.panel9.Visible = false; // // splitter3 // this.splitter3.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter3.Location = new System.Drawing.Point(259, 530); this.splitter3.Margin = new System.Windows.Forms.Padding(4); this.splitter3.Name = "splitter3"; this.splitter3.Size = new System.Drawing.Size(821, 3); this.splitter3.TabIndex = 184; this.splitter3.TabStop = false; this.splitter3.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitter3_SplitterMoved); // // panelView // this.panelView.AllowDrop = true; this.panelView.AutoScroll = true; this.panelView.BackColor = System.Drawing.Color.Gray; this.panelView.Controls.Add(this.groupBox1); this.panelView.Controls.Add(this.runScreen); this.panelView.Dock = System.Windows.Forms.DockStyle.Fill; this.panelView.Location = new System.Drawing.Point(259, 50); this.panelView.Margin = new System.Windows.Forms.Padding(4); this.panelView.Name = "panelView"; this.panelView.Size = new System.Drawing.Size(821, 430); this.panelView.TabIndex = 185; this.panelView.DragDrop += new System.Windows.Forms.DragEventHandler(this.panelView_DragDrop); this.panelView.DragEnter += new System.Windows.Forms.DragEventHandler(this.panelView_DragEnter); this.panelView.Paint += new System.Windows.Forms.PaintEventHandler(this.panelView_Paint); this.panelView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panelView_MouseUp); this.panelView.Resize += new System.EventHandler(this.panelView_Resize); // // runScreen // this.runScreen.BackColor = System.Drawing.Color.Black; this.runScreen.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.runScreen.Location = new System.Drawing.Point(5, 4); this.runScreen.Margin = new System.Windows.Forms.Padding(4); this.runScreen.Name = "runScreen"; this.runScreen.Size = new System.Drawing.Size(100, 100); this.runScreen.TabIndex = 175; this.runScreen.Visible = false; this.runScreen.ObjChange += new System.EventHandler(this.runScreen_ObjChange); this.runScreen.ObjMouseUp += new System.EventHandler(this.runScreen_ObjMouseUp); this.runScreen.SendByte += new System.EventHandler(this.runScreen_SendByte); this.runScreen.Resize += new System.EventHandler(this.runScreen_Resize); // // main // this.AllowDrop = true; this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.Control; this.ClientSize = new System.Drawing.Size(1339, 741); this.Controls.Add(this.panelView); this.Controls.Add(this.panel9); this.Controls.Add(this.splitter3); this.Controls.Add(this.panelBottom); this.Controls.Add(this.splitter2); this.Controls.Add(this.splitter1); this.Controls.Add(this.panelLeft); this.Controls.Add(this.panelRight); this.Controls.Add(this.toolBar); this.Controls.Add(this.menuStrip); this.Controls.Add(this.statusStrip); this.DoubleBuffered = true; this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.MainMenuStrip = this.menuStrip; this.Margin = new System.Windows.Forms.Padding(4); this.Name = "main"; this.Text = "Nextion Editor"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.main_FormClosing); this.Load += new System.EventHandler(this.main_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); this.menuStrip.ResumeLayout(false); this.menuStrip.PerformLayout(); this.toolBar.ResumeLayout(false); this.toolBar.PerformLayout(); this.panelLeft.ResumeLayout(false); this.panelPicAdmin.ResumeLayout(false); this.panelFontAdmin.ResumeLayout(false); this.panelRight.ResumeLayout(false); this.panelPageAdmin.ResumeLayout(false); this.panelObjAttrs.ResumeLayout(false); this.panelBottom.ResumeLayout(false); this.panelBottom.PerformLayout(); this.panelView.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
public GuiSlider(HmiSimulator runScreen) { m_runScreen = runScreen; m_guiApp = runScreen.GuiApp; m_TPDev = runScreen.TPDevInf; }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SerialDebug)); this.tbManualCommand = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.cbPressEnter = new System.Windows.Forms.CheckBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.m_com = new System.IO.Ports.SerialPort(this.components); this.timerMcuRead = new System.Windows.Forms.Timer(this.components); this.toolStrip = new System.Windows.Forms.ToolStrip(); this.miUpload = new System.Windows.Forms.ToolStripButton(); this.miSendCommandTo = new System.Windows.Forms.ToolStripLabel(); this.cbSendTo = new System.Windows.Forms.ToolStripComboBox(); this.lblComPort = new System.Windows.Forms.ToolStripLabel(); this.cbSendToCom = new System.Windows.Forms.ToolStripComboBox(); this.miConnect = new System.Windows.Forms.ToolStripButton(); this.miXY = new System.Windows.Forms.ToolStripButton(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.lblstatusText = new System.Windows.Forms.ToolStripStatusLabel(); this.linkRunAll = new System.Windows.Forms.LinkLabel(); this.linkSimClear = new System.Windows.Forms.LinkLabel(); this.lblSimResponses = new System.Windows.Forms.ListBox(); this.lblMcuResponses = new System.Windows.Forms.ListBox(); this.lblSimParse = new System.Windows.Forms.Label(); this.lblMcuParse = new System.Windows.Forms.Label(); this.linkMcuClear = new System.Windows.Forms.LinkLabel(); this.panelDisplay = new System.Windows.Forms.Panel(); this.runScreen = new NextionEditor.HmiSimulator(); this.rbKeyboardInput = new System.Windows.Forms.RadioButton(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.rbMcuInput = new System.Windows.Forms.RadioButton(); this.label7 = new System.Windows.Forms.Label(); this.cbComPorts = new System.Windows.Forms.ComboBox(); this.cbBaudRates = new System.Windows.Forms.ComboBox(); this.label8 = new System.Windows.Forms.Label(); this.linkStart = new System.Windows.Forms.LinkLabel(); this.btnSend = new System.Windows.Forms.Button(); this.label9 = new System.Windows.Forms.Label(); this.tbInterval = new System.Windows.Forms.TextBox(); this.linkWaveform = new System.Windows.Forms.LinkLabel(); this.panel2 = new System.Windows.Forms.Panel(); this.label12 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.tbMaxValue = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.tbMinValue = new System.Windows.Forms.TextBox(); this.cbRandom = new System.Windows.Forms.CheckBox(); this.label11 = new System.Windows.Forms.Label(); this.tbComponentId = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); this.tbChannel = new System.Windows.Forms.TextBox(); this.TimerCom = new System.Windows.Forms.Timer(this.components); this.toolStrip.SuspendLayout(); this.statusStrip.SuspendLayout(); this.panelDisplay.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // tbManualCommand // this.tbManualCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.tbManualCommand.BackColor = System.Drawing.Color.White; this.tbManualCommand.ForeColor = System.Drawing.Color.Black; this.tbManualCommand.Location = new System.Drawing.Point(4, 594); this.tbManualCommand.Multiline = true; this.tbManualCommand.Name = "tbManualCommand"; this.tbManualCommand.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.tbManualCommand.Size = new System.Drawing.Size(444, 98); this.tbManualCommand.TabIndex = 1; this.tbManualCommand.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tbManualCommand_KeyPress); // // label6 // this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(6, 570); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(128, 17); this.label6.TabIndex = 150; this.label6.Text = "Istruction Input Area:"; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(469, 570); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(139, 17); this.label1.TabIndex = 154; this.label1.Text = "Simulator Return Data:"; // // cbPressEnter // this.cbPressEnter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.cbPressEnter.AutoSize = true; this.cbPressEnter.Checked = true; this.cbPressEnter.CheckState = System.Windows.Forms.CheckState.Checked; this.cbPressEnter.Location = new System.Drawing.Point(10, 698); this.cbPressEnter.Name = "cbPressEnter"; this.cbPressEnter.Size = new System.Drawing.Size(239, 21); this.cbPressEnter.TabIndex = 156; this.cbPressEnter.Text = "Press Enter to run the last command"; this.cbPressEnter.UseVisualStyleBackColor = true; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.Color.Black; this.label2.Location = new System.Drawing.Point(254, 570); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(194, 17); this.label2.TabIndex = 157; this.label2.Text = "Note: One command in one line"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(742, 570); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(152, 17); this.label3.TabIndex = 159; this.label3.Text = "User MCU returned data"; // // m_com // this.m_com.WriteBufferSize = 204800; // // timerMcuRead // this.timerMcuRead.Tick += new System.EventHandler(this.timerMcuRead_Tick); // // toolStrip // this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.miUpload, this.miSendCommandTo, this.cbSendTo, this.lblComPort, this.cbSendToCom, this.miConnect, this.miXY}); this.toolStrip.Location = new System.Drawing.Point(0, 0); this.toolStrip.Name = "toolStrip"; this.toolStrip.Size = new System.Drawing.Size(1016, 25); this.toolStrip.TabIndex = 168; this.toolStrip.Text = "toolStrip1"; // // miUpload // this.miUpload.Image = ((System.Drawing.Image)(resources.GetObject("miUpload.Image"))); this.miUpload.ImageTransparentColor = System.Drawing.Color.Magenta; this.miUpload.Name = "miUpload"; this.miUpload.Size = new System.Drawing.Size(123, 22); this.miUpload.Text = "Upload to Nextion"; this.miUpload.Click += new System.EventHandler(this.miUpload_Click); // // miSendCommandTo // this.miSendCommandTo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.miSendCommandTo.Image = ((System.Drawing.Image)(resources.GetObject("miSendCommandTo.Image"))); this.miSendCommandTo.ImageTransparentColor = System.Drawing.Color.Magenta; this.miSendCommandTo.Name = "miSendCommandTo"; this.miSendCommandTo.Size = new System.Drawing.Size(108, 22); this.miSendCommandTo.Text = "Send command to:"; // // cbSendTo // this.cbSendTo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbSendTo.Name = "cbSendTo"; this.cbSendTo.Size = new System.Drawing.Size(190, 25); this.cbSendTo.SelectedIndexChanged += new System.EventHandler(this.SendTo_SelectedIndexChanged); // // lblComPort // this.lblComPort.Name = "lblComPort"; this.lblComPort.Size = new System.Drawing.Size(61, 22); this.lblComPort.Text = "Com Port:"; // // cbSendToCom // this.cbSendToCom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbSendToCom.Name = "cbSendToCom"; this.cbSendToCom.Size = new System.Drawing.Size(121, 25); // // miConnect // this.miConnect.Image = global::NextionEditor.Properties.Resources.glzy8_com_148; this.miConnect.ImageTransparentColor = System.Drawing.Color.Magenta; this.miConnect.Name = "miConnect"; this.miConnect.Size = new System.Drawing.Size(72, 22); this.miConnect.Text = "Connect"; this.miConnect.Click += new System.EventHandler(this.miConnect_Click); // // miXY // this.miXY.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.miXY.Image = ((System.Drawing.Image)(resources.GetObject("miXY.Image"))); this.miXY.ImageTransparentColor = System.Drawing.Color.Magenta; this.miXY.Name = "miXY"; this.miXY.Size = new System.Drawing.Size(25, 22); this.miXY.Text = "XY"; this.miXY.Click += new System.EventHandler(this.miXY_Click); // // statusStrip // this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.lblstatusText}); this.statusStrip.Location = new System.Drawing.Point(0, 770); this.statusStrip.Name = "statusStrip"; this.statusStrip.Size = new System.Drawing.Size(1016, 22); this.statusStrip.TabIndex = 169; this.statusStrip.Text = "statusStrip1"; // // lblstatusText // this.lblstatusText.Name = "lblstatusText"; this.lblstatusText.Size = new System.Drawing.Size(1001, 17); this.lblstatusText.Spring = true; this.lblstatusText.Text = "Nextion state: Disconnected"; this.lblstatusText.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // linkRunAll // this.linkRunAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.linkRunAll.Location = new System.Drawing.Point(332, 705); this.linkRunAll.Name = "linkRunAll"; this.linkRunAll.Size = new System.Drawing.Size(119, 17); this.linkRunAll.TabIndex = 171; this.linkRunAll.TabStop = true; this.linkRunAll.Text = "Run all commands"; this.linkRunAll.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.linkRunAll.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkRunAll_LinkClicked); // // linkSimClear // this.linkSimClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.linkSimClear.AutoSize = true; this.linkSimClear.Location = new System.Drawing.Point(698, 570); this.linkSimClear.Name = "linkSimClear"; this.linkSimClear.Size = new System.Drawing.Size(38, 17); this.linkSimClear.TabIndex = 172; this.linkSimClear.TabStop = true; this.linkSimClear.Text = "Clear"; this.linkSimClear.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkSimRespClear_LinkClicked); // // lblSimResponses // this.lblSimResponses.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.lblSimResponses.FormattingEnabled = true; this.lblSimResponses.HorizontalScrollbar = true; this.lblSimResponses.ItemHeight = 17; this.lblSimResponses.Location = new System.Drawing.Point(471, 594); this.lblSimResponses.Name = "lblSimResponses"; this.lblSimResponses.Size = new System.Drawing.Size(265, 89); this.lblSimResponses.TabIndex = 173; this.lblSimResponses.SelectedIndexChanged += new System.EventHandler(this.listSimResponses_SelectedIndexChanged); this.lblSimResponses.DoubleClick += new System.EventHandler(this.listSimResponses_DoubleClick); // // lblMcuResponses // this.lblMcuResponses.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.lblMcuResponses.FormattingEnabled = true; this.lblMcuResponses.HorizontalScrollbar = true; this.lblMcuResponses.ItemHeight = 17; this.lblMcuResponses.Location = new System.Drawing.Point(742, 594); this.lblMcuResponses.Name = "lblMcuResponses"; this.lblMcuResponses.Size = new System.Drawing.Size(265, 89); this.lblMcuResponses.TabIndex = 174; this.lblMcuResponses.SelectedIndexChanged += new System.EventHandler(this.listMcuResponses_SelectedIndexChanged); this.lblMcuResponses.DoubleClick += new System.EventHandler(this.listMcuResponses_DoubleClick); // // lblSimParse // this.lblSimParse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.lblSimParse.Location = new System.Drawing.Point(469, 690); this.lblSimParse.Name = "lblSimParse"; this.lblSimParse.Size = new System.Drawing.Size(267, 31); this.lblSimParse.TabIndex = 175; this.lblSimParse.Text = "Parse:"; // // lblMcuParse // this.lblMcuParse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.lblMcuParse.Location = new System.Drawing.Point(742, 690); this.lblMcuParse.Name = "lblMcuParse"; this.lblMcuParse.Size = new System.Drawing.Size(265, 31); this.lblMcuParse.TabIndex = 176; this.lblMcuParse.Text = "Parse:"; // // linkMcuClear // this.linkMcuClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.linkMcuClear.AutoSize = true; this.linkMcuClear.Location = new System.Drawing.Point(966, 570); this.linkMcuClear.Name = "linkMcuClear"; this.linkMcuClear.Size = new System.Drawing.Size(38, 17); this.linkMcuClear.TabIndex = 177; this.linkMcuClear.TabStop = true; this.linkMcuClear.Text = "Clear"; this.linkMcuClear.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.McuRespClear_LinkClicked); // // panelDisplay // this.panelDisplay.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.panelDisplay.AutoScroll = true; this.panelDisplay.BackColor = System.Drawing.Color.Gray; this.panelDisplay.Controls.Add(this.runScreen); this.panelDisplay.Location = new System.Drawing.Point(0, 30); this.panelDisplay.Name = "panelDisplay"; this.panelDisplay.Size = new System.Drawing.Size(1016, 531); this.panelDisplay.TabIndex = 180; this.panelDisplay.Paint += new System.Windows.Forms.PaintEventHandler(this.panelDisplay_Paint); this.panelDisplay.Resize += new System.EventHandler(this.panelDisplay_Resize); // // ucRunScreen // this.runScreen.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.runScreen.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.runScreen.Location = new System.Drawing.Point(54, 50); this.runScreen.Name = "ucRunScreen"; this.runScreen.Size = new System.Drawing.Size(100, 100); this.runScreen.TabIndex = 0; this.runScreen.SendByte += new System.EventHandler(this.ucRunScreen_SendByte); this.runScreen.SendRunCode += new NextionEditor.HmiSimulator.SendRunCodeHandler(this.ucRunScreen_SendRunCode); this.runScreen.Resize += new System.EventHandler(this.ucRunScreen_Resize); // // rbKeyboardInput // this.rbKeyboardInput.AutoSize = true; this.rbKeyboardInput.Checked = true; this.rbKeyboardInput.Location = new System.Drawing.Point(6, 15); this.rbKeyboardInput.Name = "rbKeyboardInput"; this.rbKeyboardInput.Size = new System.Drawing.Size(116, 21); this.rbKeyboardInput.TabIndex = 181; this.rbKeyboardInput.TabStop = true; this.rbKeyboardInput.Text = "Keyboard Input"; this.rbKeyboardInput.UseVisualStyleBackColor = true; this.rbKeyboardInput.CheckedChanged += new System.EventHandler(this.rbKeyboardMcyInput_CheckedChanged); // // groupBox1 // this.groupBox1.AutoSize = true; this.groupBox1.Controls.Add(this.rbMcuInput); this.groupBox1.Controls.Add(this.rbKeyboardInput); this.groupBox1.Location = new System.Drawing.Point(4, 715); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(445, 60); this.groupBox1.TabIndex = 182; this.groupBox1.TabStop = false; // // rbMcuInput // this.rbMcuInput.AutoSize = true; this.rbMcuInput.Location = new System.Drawing.Point(258, 15); this.rbMcuInput.Name = "rbMcuInput"; this.rbMcuInput.Size = new System.Drawing.Size(119, 21); this.rbMcuInput.TabIndex = 182; this.rbMcuInput.Text = "User MCU Input"; this.rbMcuInput.UseVisualStyleBackColor = true; this.rbMcuInput.CheckedChanged += new System.EventHandler(this.rbKeyboardMcyInput_CheckedChanged); // // label7 // this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(543, 733); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(63, 17); this.label7.TabIndex = 183; this.label7.Text = "Com Port"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label7.Visible = false; // // cbComPorts // this.cbComPorts.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.cbComPorts.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbComPorts.FormattingEnabled = true; this.cbComPorts.Location = new System.Drawing.Point(608, 730); this.cbComPorts.Name = "cbComPorts"; this.cbComPorts.Size = new System.Drawing.Size(85, 25); this.cbComPorts.TabIndex = 184; this.cbComPorts.Visible = false; // // cbBaudRates // this.cbBaudRates.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.cbBaudRates.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbBaudRates.FormattingEnabled = true; this.cbBaudRates.Location = new System.Drawing.Point(742, 730); this.cbBaudRates.Name = "cbBaudRates"; this.cbBaudRates.Size = new System.Drawing.Size(83, 25); this.cbBaudRates.TabIndex = 186; this.cbBaudRates.Visible = false; // // label8 // this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(699, 733); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(37, 17); this.label8.TabIndex = 185; this.label8.Text = "Baud"; this.label8.Visible = false; // // linkStart // this.linkStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.linkStart.AutoSize = true; this.linkStart.Location = new System.Drawing.Point(831, 731); this.linkStart.Name = "linkStart"; this.linkStart.Size = new System.Drawing.Size(35, 17); this.linkStart.TabIndex = 187; this.linkStart.TabStop = true; this.linkStart.Text = "Start"; this.linkStart.Visible = false; this.linkStart.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkStart_LinkClicked); // // btnSend // this.btnSend.Location = new System.Drawing.Point(356, 48); this.btnSend.Name = "btnSend"; this.btnSend.Size = new System.Drawing.Size(81, 27); this.btnSend.TabIndex = 188; this.btnSend.Text = "Send"; this.btnSend.UseVisualStyleBackColor = true; this.btnSend.Click += new System.EventHandler(this.btnSend_Click); // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(277, 14); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(75, 17); this.label9.TabIndex = 189; this.label9.Text = "Interval(ms)"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tbInterval // this.tbInterval.Location = new System.Drawing.Point(399, 11); this.tbInterval.Name = "tbInterval"; this.tbInterval.Size = new System.Drawing.Size(38, 25); this.tbInterval.TabIndex = 190; this.tbInterval.Text = "0"; this.tbInterval.TextChanged += new System.EventHandler(this.tbInterval_TextChanged); // // linkWaveform // this.linkWaveform.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.linkWaveform.AutoSize = true; this.linkWaveform.Location = new System.Drawing.Point(877, 732); this.linkWaveform.Name = "linkWaveform"; this.linkWaveform.Size = new System.Drawing.Size(128, 17); this.linkWaveform.TabIndex = 188; this.linkWaveform.TabStop = true; this.linkWaveform.Text = "Waveform Gererator"; this.linkWaveform.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.linkWaveform.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.WaveformGererator_LinkClicked); // // panel2 // this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.panel2.Controls.Add(this.label12); this.panel2.Controls.Add(this.label15); this.panel2.Controls.Add(this.tbMaxValue); this.panel2.Controls.Add(this.label14); this.panel2.Controls.Add(this.tbMinValue); this.panel2.Controls.Add(this.cbRandom); this.panel2.Controls.Add(this.label11); this.panel2.Controls.Add(this.tbComponentId); this.panel2.Controls.Add(this.label10); this.panel2.Controls.Add(this.tbChannel); this.panel2.Controls.Add(this.label9); this.panel2.Controls.Add(this.tbInterval); this.panel2.Controls.Add(this.btnSend); this.panel2.Location = new System.Drawing.Point(4, 594); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(445, 130); this.panel2.TabIndex = 189; this.panel2.Visible = false; // // label12 // this.label12.AutoSize = true; this.label12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.label12.Location = new System.Drawing.Point(6, 78); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(385, 17); this.label12.TabIndex = 204; this.label12.Text = "Mulit-channel generator. ID argument is a comma-separated list."; // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(156, 53); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(33, 17); this.label15.TabIndex = 202; this.label15.Text = "Max"; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tbMaxValue // this.tbMaxValue.Location = new System.Drawing.Point(213, 52); this.tbMaxValue.Name = "tbMaxValue"; this.tbMaxValue.Size = new System.Drawing.Size(58, 25); this.tbMaxValue.TabIndex = 203; this.tbMaxValue.Text = "100"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(49, 55); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(30, 17); this.label14.TabIndex = 200; this.label14.Text = "Min"; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tbMinValue // this.tbMinValue.Location = new System.Drawing.Point(113, 52); this.tbMinValue.Name = "tbMinValue"; this.tbMinValue.Size = new System.Drawing.Size(37, 25); this.tbMinValue.TabIndex = 201; this.tbMinValue.Text = "0"; // // cbRandom // this.cbRandom.AutoSize = true; this.cbRandom.Location = new System.Drawing.Point(280, 54); this.cbRandom.Name = "cbRandom"; this.cbRandom.Size = new System.Drawing.Size(76, 21); this.cbRandom.TabIndex = 199; this.cbRandom.Text = "Random"; this.cbRandom.UseVisualStyleBackColor = true; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(15, 11); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(92, 17); this.label11.TabIndex = 193; this.label11.Text = "Component ID"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tbComponentId // this.tbComponentId.Location = new System.Drawing.Point(113, 11); this.tbComponentId.Name = "tbComponentId"; this.tbComponentId.Size = new System.Drawing.Size(37, 25); this.tbComponentId.TabIndex = 194; this.tbComponentId.Text = "1"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(156, 14); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(54, 17); this.label10.TabIndex = 191; this.label10.Text = "Channel"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tbChannel // this.tbChannel.Location = new System.Drawing.Point(213, 11); this.tbChannel.Name = "tbChannel"; this.tbChannel.Size = new System.Drawing.Size(58, 25); this.tbChannel.TabIndex = 192; this.tbChannel.Text = "0"; this.tbChannel.TextChanged += new System.EventHandler(this.tbChannel_TextChanged); // // TimerCom // this.TimerCom.Enabled = true; this.TimerCom.Interval = 30; this.TimerCom.Tick += new System.EventHandler(this.timerSimMcuLog_Tick); // // SerialDebug // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1016, 792); this.Controls.Add(this.cbPressEnter); this.Controls.Add(this.panel2); this.Controls.Add(this.linkWaveform); this.Controls.Add(this.linkStart); this.Controls.Add(this.cbBaudRates); this.Controls.Add(this.label8); this.Controls.Add(this.cbComPorts); this.Controls.Add(this.label7); this.Controls.Add(this.panelDisplay); this.Controls.Add(this.linkMcuClear); this.Controls.Add(this.lblMcuParse); this.Controls.Add(this.lblSimParse); this.Controls.Add(this.lblMcuResponses); this.Controls.Add(this.lblSimResponses); this.Controls.Add(this.linkSimClear); this.Controls.Add(this.linkRunAll); this.Controls.Add(this.toolStrip); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.label6); this.Controls.Add(this.tbManualCommand); this.Controls.Add(this.statusStrip); this.Controls.Add(this.groupBox1); this.DoubleBuffered = true; this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.Name = "SerialDebug"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Serial Debug"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SerialDebug_FormClosing); this.Load += new System.EventHandler(this.SerialDebug_Load); this.Resize += new System.EventHandler(this.SerialDebug_Resize); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); this.panelDisplay.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }