PortSettings.Designer.cs 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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_Enter = new System.Windows.Forms.Button();
  33. this.serialPort1 = new System.IO.Ports.SerialPort(this.components);
  34. this.button_Connect = new System.Windows.Forms.Button();
  35. this.SuspendLayout();
  36. //
  37. // label1
  38. //
  39. this.label1.AutoSize = true;
  40. this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
  41. this.label1.Location = new System.Drawing.Point(48, 44);
  42. this.label1.Name = "label1";
  43. this.label1.Size = new System.Drawing.Size(58, 21);
  44. this.label1.TabIndex = 0;
  45. this.label1.Text = "端口号";
  46. //
  47. // comboBox_ComIndex
  48. //
  49. this.comboBox_ComIndex.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
  50. this.comboBox_ComIndex.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  51. this.comboBox_ComIndex.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  52. this.comboBox_ComIndex.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
  53. this.comboBox_ComIndex.FormattingEnabled = true;
  54. this.comboBox_ComIndex.Location = new System.Drawing.Point(129, 41);
  55. this.comboBox_ComIndex.Name = "comboBox_ComIndex";
  56. this.comboBox_ComIndex.Size = new System.Drawing.Size(121, 29);
  57. this.comboBox_ComIndex.TabIndex = 1;
  58. this.comboBox_ComIndex.SelectedIndexChanged += new System.EventHandler(this.comboBox_ComIndex_SelectedIndexChanged);
  59. //
  60. // button_Enter
  61. //
  62. this.button_Enter.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
  63. this.button_Enter.ForeColor = System.Drawing.Color.White;
  64. this.button_Enter.Location = new System.Drawing.Point(170, 88);
  65. this.button_Enter.Name = "button_Enter";
  66. this.button_Enter.Size = new System.Drawing.Size(80, 33);
  67. this.button_Enter.TabIndex = 2;
  68. this.button_Enter.Text = "确认";
  69. this.button_Enter.UseVisualStyleBackColor = false;
  70. this.button_Enter.Click += new System.EventHandler(this.button_Enter_Click);
  71. //
  72. // serialPort1
  73. //
  74. this.serialPort1.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.serialPort1_DataReceived);
  75. //
  76. // button_Connect
  77. //
  78. this.button_Connect.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
  79. this.button_Connect.ForeColor = System.Drawing.Color.White;
  80. this.button_Connect.Location = new System.Drawing.Point(48, 88);
  81. this.button_Connect.Name = "button_Connect";
  82. this.button_Connect.Size = new System.Drawing.Size(80, 33);
  83. this.button_Connect.TabIndex = 2;
  84. this.button_Connect.Text = "连接";
  85. this.button_Connect.UseVisualStyleBackColor = false;
  86. this.button_Connect.Click += new System.EventHandler(this.button_Connect_Click);
  87. //
  88. // PortSettings
  89. //
  90. this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
  91. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  92. this.BackColor = System.Drawing.Color.White;
  93. this.ClientSize = new System.Drawing.Size(304, 162);
  94. this.ControlBox = false;
  95. this.Controls.Add(this.button_Connect);
  96. this.Controls.Add(this.button_Enter);
  97. this.Controls.Add(this.comboBox_ComIndex);
  98. this.Controls.Add(this.label1);
  99. this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  100. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  101. this.Margin = new System.Windows.Forms.Padding(5);
  102. this.MaximizeBox = false;
  103. this.MinimizeBox = false;
  104. this.Name = "PortSettings";
  105. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  106. this.Text = "PortSettings";
  107. this.Load += new System.EventHandler(this.PortSettings_Load);
  108. this.ResumeLayout(false);
  109. this.PerformLayout();
  110. }
  111. #endregion
  112. private System.Windows.Forms.Label label1;
  113. public System.IO.Ports.SerialPort serialPort1;
  114. public System.Windows.Forms.Button button_Enter;
  115. public System.Windows.Forms.ComboBox comboBox_ComIndex;
  116. public System.Windows.Forms.Button button_Connect;
  117. }
  118. }