PortSettings.Designer.cs 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. //
  59. // button_Enter
  60. //
  61. this.button_Enter.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
  62. this.button_Enter.ForeColor = System.Drawing.Color.White;
  63. this.button_Enter.Location = new System.Drawing.Point(170, 88);
  64. this.button_Enter.Name = "button_Enter";
  65. this.button_Enter.Size = new System.Drawing.Size(80, 33);
  66. this.button_Enter.TabIndex = 2;
  67. this.button_Enter.Text = "确认";
  68. this.button_Enter.UseVisualStyleBackColor = false;
  69. this.button_Enter.Click += new System.EventHandler(this.button_Enter_Click);
  70. //
  71. // serialPort1
  72. //
  73. this.serialPort1.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.serialPort1_DataReceived);
  74. //
  75. // button_Connect
  76. //
  77. this.button_Connect.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
  78. this.button_Connect.ForeColor = System.Drawing.Color.White;
  79. this.button_Connect.Location = new System.Drawing.Point(48, 88);
  80. this.button_Connect.Name = "button_Connect";
  81. this.button_Connect.Size = new System.Drawing.Size(80, 33);
  82. this.button_Connect.TabIndex = 2;
  83. this.button_Connect.Text = "连接";
  84. this.button_Connect.UseVisualStyleBackColor = false;
  85. this.button_Connect.Click += new System.EventHandler(this.button_Connect_Click);
  86. //
  87. // PortSettings
  88. //
  89. this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
  90. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  91. this.BackColor = System.Drawing.Color.White;
  92. this.ClientSize = new System.Drawing.Size(304, 162);
  93. this.ControlBox = false;
  94. this.Controls.Add(this.button_Connect);
  95. this.Controls.Add(this.button_Enter);
  96. this.Controls.Add(this.comboBox_ComIndex);
  97. this.Controls.Add(this.label1);
  98. this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  99. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  100. this.Margin = new System.Windows.Forms.Padding(5);
  101. this.MaximizeBox = false;
  102. this.MinimizeBox = false;
  103. this.Name = "PortSettings";
  104. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  105. this.Text = "PortSettings";
  106. this.Load += new System.EventHandler(this.PortSettings_Load);
  107. this.ResumeLayout(false);
  108. this.PerformLayout();
  109. }
  110. #endregion
  111. private System.Windows.Forms.Label label1;
  112. public System.IO.Ports.SerialPort serialPort1;
  113. public System.Windows.Forms.Button button_Enter;
  114. public System.Windows.Forms.ComboBox comboBox_ComIndex;
  115. public System.Windows.Forms.Button button_Connect;
  116. }
  117. }