📄 frmmain.designer.cs
字号:
this.flowPortSettings.Controls.Add( this.txtFlowControl );
this.flowPortSettings.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowPortSettings.Location = new System.Drawing.Point( 3, 16 );
this.flowPortSettings.Name = "flowPortSettings";
this.flowPortSettings.Size = new System.Drawing.Size( 392, 54 );
this.flowPortSettings.TabIndex = 0;
//
// lblComPort
//
this.lblComPort.Font = new System.Drawing.Font( "Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ( ( byte )( 204 ) ) );
this.lblComPort.Location = new System.Drawing.Point( 3, 3 );
this.lblComPort.Margin = new System.Windows.Forms.Padding( 3 );
this.lblComPort.Name = "lblComPort";
this.lblComPort.Size = new System.Drawing.Size( 76, 20 );
this.lblComPort.TabIndex = 0;
this.lblComPort.Text = "COM Port:";
this.lblComPort.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtComPort
//
this.txtComPort.Location = new System.Drawing.Point( 85, 3 );
this.txtComPort.Name = "txtComPort";
this.txtComPort.ReadOnly = true;
this.txtComPort.Size = new System.Drawing.Size( 41, 20 );
this.txtComPort.TabIndex = 1;
this.txtComPort.Text = "COM1";
//
// lblBaudRate
//
this.lblBaudRate.Font = new System.Drawing.Font( "Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ( ( byte )( 204 ) ) );
this.lblBaudRate.Location = new System.Drawing.Point( 132, 3 );
this.lblBaudRate.Margin = new System.Windows.Forms.Padding( 3 );
this.lblBaudRate.Name = "lblBaudRate";
this.lblBaudRate.Size = new System.Drawing.Size( 80, 20 );
this.lblBaudRate.TabIndex = 2;
this.lblBaudRate.Text = "Baud Rate:";
this.lblBaudRate.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtBaudeRate
//
this.txtBaudeRate.Location = new System.Drawing.Point( 218, 3 );
this.txtBaudeRate.Name = "txtBaudeRate";
this.txtBaudeRate.ReadOnly = true;
this.txtBaudeRate.Size = new System.Drawing.Size( 47, 20 );
this.txtBaudeRate.TabIndex = 3;
this.txtBaudeRate.Text = "115200";
//
// lblDatabit
//
this.lblDatabit.Location = new System.Drawing.Point( 271, 3 );
this.lblDatabit.Margin = new System.Windows.Forms.Padding( 3 );
this.lblDatabit.Name = "lblDatabit";
this.lblDatabit.Size = new System.Drawing.Size( 47, 20 );
this.lblDatabit.TabIndex = 4;
this.lblDatabit.Text = "Databit:";
this.lblDatabit.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtDatabit
//
this.txtDatabit.Location = new System.Drawing.Point( 324, 3 );
this.txtDatabit.Name = "txtDatabit";
this.txtDatabit.ReadOnly = true;
this.txtDatabit.Size = new System.Drawing.Size( 23, 20 );
this.txtDatabit.TabIndex = 5;
this.txtDatabit.Text = "8";
//
// lblParity
//
this.lblParity.Location = new System.Drawing.Point( 3, 29 );
this.lblParity.Margin = new System.Windows.Forms.Padding( 3 );
this.lblParity.Name = "lblParity";
this.lblParity.Size = new System.Drawing.Size( 47, 20 );
this.lblParity.TabIndex = 6;
this.lblParity.Text = "Parity:";
this.lblParity.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtParity
//
this.txtParity.Location = new System.Drawing.Point( 56, 29 );
this.txtParity.Name = "txtParity";
this.txtParity.ReadOnly = true;
this.txtParity.Size = new System.Drawing.Size( 23, 20 );
this.txtParity.TabIndex = 7;
this.txtParity.Text = "No";
//
// lblStopBit
//
this.lblStopBit.Location = new System.Drawing.Point( 85, 29 );
this.lblStopBit.Margin = new System.Windows.Forms.Padding( 3 );
this.lblStopBit.Name = "lblStopBit";
this.lblStopBit.Size = new System.Drawing.Size( 47, 20 );
this.lblStopBit.TabIndex = 8;
this.lblStopBit.Text = "Stop Bit:";
this.lblStopBit.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtStopBit
//
this.txtStopBit.Location = new System.Drawing.Point( 138, 29 );
this.txtStopBit.Name = "txtStopBit";
this.txtStopBit.ReadOnly = true;
this.txtStopBit.Size = new System.Drawing.Size( 23, 20 );
this.txtStopBit.TabIndex = 9;
this.txtStopBit.Text = "1";
//
// lblFlowControl
//
this.lblFlowControl.Location = new System.Drawing.Point( 167, 29 );
this.lblFlowControl.Margin = new System.Windows.Forms.Padding( 3 );
this.lblFlowControl.Name = "lblFlowControl";
this.lblFlowControl.Size = new System.Drawing.Size( 70, 20 );
this.lblFlowControl.TabIndex = 10;
this.lblFlowControl.Text = "Flow Control:";
this.lblFlowControl.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtFlowControl
//
this.txtFlowControl.Location = new System.Drawing.Point( 243, 29 );
this.txtFlowControl.Name = "txtFlowControl";
this.txtFlowControl.ReadOnly = true;
this.txtFlowControl.Size = new System.Drawing.Size( 23, 20 );
this.txtFlowControl.TabIndex = 11;
this.txtFlowControl.Text = "No";
//
// lblCounter
//
this.lblCounter.Anchor = ( ( System.Windows.Forms.AnchorStyles )( ( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right ) ) );
this.lblCounter.Location = new System.Drawing.Point( 261, 132 );
this.lblCounter.Name = "lblCounter";
this.lblCounter.Size = new System.Drawing.Size( 149, 20 );
this.lblCounter.TabIndex = 7;
this.lblCounter.Text = "Quantity of records: {0}";
this.lblCounter.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// chkAutoScroll
//
this.chkAutoScroll.AutoSize = true;
this.chkAutoScroll.Checked = true;
this.chkAutoScroll.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkAutoScroll.Location = new System.Drawing.Point( 71, 134 );
this.chkAutoScroll.Name = "chkAutoScroll";
this.chkAutoScroll.Size = new System.Drawing.Size( 151, 17 );
this.chkAutoScroll.TabIndex = 6;
this.chkAutoScroll.Text = "Auto scroll to last message";
this.chkAutoScroll.UseVisualStyleBackColor = true;
//
// timerWait
//
this.timerWait.Interval = 1000;
this.timerWait.Tick += new System.EventHandler( this.timerWait_Tick );
//
// mnuFoundFirmwares
//
this.mnuFoundFirmwares.Name = "mnuFoundFirmwares";
this.mnuFoundFirmwares.Size = new System.Drawing.Size( 380, 22 );
this.mnuFoundFirmwares.Text = "Found firmwares";
//
// frmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF( 6F, 13F );
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size( 422, 294 );
this.Controls.Add( this.chkAutoScroll );
this.Controls.Add( this.grpComPort );
this.Controls.Add( this.lstLogViewer );
this.Controls.Add( this.btnSearch );
this.Controls.Add( this.txtFilePath );
this.Controls.Add( this.lblLog );
this.Controls.Add( this.lblCounter );
this.Controls.Add( this.lblFile );
this.Controls.Add( this.statusMain );
this.Controls.Add( this.mainMenu );
this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
this.MainMenuStrip = this.mainMenu;
this.MinimumSize = new System.Drawing.Size( 430, 320 );
this.Name = "frmMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "OpenBox Software Uploader";
this.Load += new System.EventHandler( this.frmMain_Load );
this.mainMenu.ResumeLayout( false );
this.mainMenu.PerformLayout();
this.statusMain.ResumeLayout( false );
this.statusMain.PerformLayout();
this.popupLog.ResumeLayout( false );
this.grpComPort.ResumeLayout( false );
this.grpComPort.PerformLayout();
this.flowPortSettings.ResumeLayout( false );
this.flowPortSettings.PerformLayout();
this.ResumeLayout( false );
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip mainMenu;
private System.Windows.Forms.ToolStripMenuItem mnuFile;
private System.Windows.Forms.ToolStripMenuItem mnuOpen;
private System.Windows.Forms.ToolStripSeparator mnuSeparator0;
private System.Windows.Forms.ToolStripMenuItem mnuClose;
private System.Windows.Forms.ToolStripMenuItem mnuSerialPort;
private System.Windows.Forms.ToolStripMenuItem mnuComPorts;
private System.Windows.Forms.ToolStripMenuItem mnuCom1;
private System.Windows.Forms.ToolStripMenuItem mnuCom2;
private System.Windows.Forms.ToolStripSeparator mnuSeparator1;
private System.Windows.Forms.ToolStripMenuItem mnuBaudRate;
private System.Windows.Forms.ToolStripMenuItem mnu115200;
private System.Windows.Forms.ToolStripMenuItem mnu128000;
private System.Windows.Forms.ToolStripMenuItem mnu019200;
private System.Windows.Forms.ToolStripMenuItem mnu009600;
private System.Windows.Forms.StatusStrip statusMain;
private System.Windows.Forms.ToolStripStatusLabel stripLblProgress;
private System.Windows.Forms.ToolStripProgressBar progressStrip;
private System.IO.Ports.SerialPort serialCOM;
private System.ComponentModel.BackgroundWorker threadUpdate;
private System.Windows.Forms.Label lblFile;
private System.Windows.Forms.TextBox txtFilePath;
private System.Windows.Forms.Button btnSearch;
private System.Windows.Forms.ListBox lstLogViewer;
private System.Windows.Forms.Label lblLog;
private System.Windows.Forms.OpenFileDialog openFileDlg;
private System.Windows.Forms.GroupBox grpComPort;
private System.Windows.Forms.FlowLayoutPanel flowPortSettings;
private System.Windows.Forms.Label lblComPort;
private System.Windows.Forms.TextBox txtComPort;
private System.Windows.Forms.Label lblBaudRate;
private System.Windows.Forms.TextBox txtBaudeRate;
private System.Windows.Forms.Label lblDatabit;
private System.Windows.Forms.TextBox txtDatabit;
private System.Windows.Forms.Label lblParity;
private System.Windows.Forms.TextBox txtParity;
private System.Windows.Forms.Label lblStopBit;
private System.Windows.Forms.TextBox txtStopBit;
private System.Windows.Forms.Label lblFlowControl;
private System.Windows.Forms.TextBox txtFlowControl;
private System.Windows.Forms.ToolStripStatusLabel stripBtnUpdate;
private System.Windows.Forms.ToolStripStatusLabel stripBtnCancel;
private System.Windows.Forms.ContextMenuStrip popupLog;
private System.Windows.Forms.ToolStripMenuItem mnuCopy;
private System.Windows.Forms.ToolStripMenuItem mnuCopyAll;
private System.Windows.Forms.Label lblCounter;
private System.Windows.Forms.CheckBox chkAutoScroll;
private System.Windows.Forms.Timer timerWait;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem mnuResetLog;
private System.Windows.Forms.ToolStripSeparator mnuSeparator2;
private System.Windows.Forms.ToolStripMenuItem mnuFirmwares;
private System.Windows.Forms.ToolStripMenuItem mnuWebSiteUrlLabel;
private System.Windows.Forms.ToolStripTextBox mnuUrl;
private System.Windows.Forms.ToolStripMenuItem mnuCheckFirmware;
private System.Windows.Forms.ToolStripSeparator mnuSeparator3;
private System.Windows.Forms.ToolStripMenuItem mnuHelp;
private System.Windows.Forms.ToolStripMenuItem mnuAbout;
private System.Windows.Forms.ToolStripMenuItem mnuLoginLabel;
private System.Windows.Forms.ToolStripTextBox mnuLogin;
private System.Windows.Forms.ToolStripTextBox mnuPassword;
private System.Windows.Forms.ToolStripSeparator mnuSeparator4;
private System.Windows.Forms.ToolStripMenuItem mnuProxyLabel;
private System.Windows.Forms.ToolStripTextBox mnuProxyUrl;
private System.Windows.Forms.ToolStripSeparator mnuSeparator5;
private System.Windows.Forms.ToolStripStatusLabel stripDownload;
private System.Windows.Forms.ToolStripMenuItem mnuFoundFirmwares;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -