PortSettings.Designer.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. namespace MOTINOVA_Motor_Factory_Set
  2. {
  3. partial class PortSettings
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PortSettings));
  30. this.label1 = new System.Windows.Forms.Label();
  31. this.comboBox_ComIndex = new System.Windows.Forms.ComboBox();
  32. this.button_ComOpen = new System.Windows.Forms.Button();
  33. this.serialPort1 = new System.IO.Ports.SerialPort(this.components);
  34. this.SuspendLayout();
  35. //
  36. // label1
  37. //
  38. this.label1.AutoSize = true;
  39. this.label1.Location = new System.Drawing.Point(48, 44);
  40. this.label1.Name = "label1";
  41. this.label1.Size = new System.Drawing.Size(58, 21);
  42. this.label1.TabIndex = 0;
  43. this.label1.Text = "端口号";
  44. //
  45. // comboBox_ComIndex
  46. //
  47. this.comboBox_ComIndex.FormattingEnabled = true;
  48. this.comboBox_ComIndex.Location = new System.Drawing.Point(129, 41);
  49. this.comboBox_ComIndex.Name = "comboBox_ComIndex";
  50. this.comboBox_ComIndex.Size = new System.Drawing.Size(121, 29);
  51. this.comboBox_ComIndex.TabIndex = 1;
  52. //
  53. // button_ComOpen
  54. //
  55. this.button_ComOpen.Location = new System.Drawing.Point(113, 86);
  56. this.button_ComOpen.Name = "button_ComOpen";
  57. this.button_ComOpen.Size = new System.Drawing.Size(102, 33);
  58. this.button_ComOpen.TabIndex = 2;
  59. this.button_ComOpen.Text = "连接";
  60. this.button_ComOpen.UseVisualStyleBackColor = true;
  61. this.button_ComOpen.Click += new System.EventHandler(this.button_ComOpen_Click);
  62. //
  63. // serialPort1
  64. //
  65. this.serialPort1.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.serialPort1_DataReceived);
  66. //
  67. // PortSettings
  68. //
  69. this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
  70. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  71. this.BackColor = System.Drawing.Color.White;
  72. this.ClientSize = new System.Drawing.Size(304, 162);
  73. this.ControlBox = false;
  74. this.Controls.Add(this.button_ComOpen);
  75. this.Controls.Add(this.comboBox_ComIndex);
  76. this.Controls.Add(this.label1);
  77. this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  78. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  79. this.Margin = new System.Windows.Forms.Padding(5);
  80. this.MaximizeBox = false;
  81. this.MinimizeBox = false;
  82. this.Name = "PortSettings";
  83. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  84. this.Text = "PortSettings";
  85. this.Load += new System.EventHandler(this.PortSettings_Load);
  86. this.ResumeLayout(false);
  87. this.PerformLayout();
  88. }
  89. #endregion
  90. private System.Windows.Forms.Label label1;
  91. public System.IO.Ports.SerialPort serialPort1;
  92. public System.Windows.Forms.Button button_ComOpen;
  93. public System.Windows.Forms.ComboBox comboBox_ComIndex;
  94. }
  95. }