📄 form1.designer.cs
字号:
this.DirectionBox.Items.AddRange(new object[] {
"Out",
"In"});
this.DirectionBox.SelectedIndex = 0;
this.DirectionBox.Location = new System.Drawing.Point(58, 130);
this.DirectionBox.Name = "DirectionBox";
this.DirectionBox.Size = new System.Drawing.Size(42, 21);
this.DirectionBox.TabIndex = 9;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(6, 52);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(87, 13);
this.label3.TabIndex = 8;
this.label3.Text = "Bytes to Transfer";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(153, 13);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(96, 13);
this.label2.TabIndex = 7;
this.label2.Text = "Data to send (Hex)";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(6, 13);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(66, 13);
this.label1.TabIndex = 6;
this.label1.Text = "Text to send";
//
// FileXferBtn
//
this.FileXferBtn.Enabled = false;
this.FileXferBtn.Location = new System.Drawing.Point(164, 95);
this.FileXferBtn.Name = "FileXferBtn";
this.FileXferBtn.Size = new System.Drawing.Size(110, 23);
this.FileXferBtn.TabIndex = 5;
this.FileXferBtn.Text = "Transfer File";
this.FileXferBtn.UseVisualStyleBackColor = true;
this.FileXferBtn.Visible = false;
this.FileXferBtn.Click += new System.EventHandler(this.FileXferBtn_Click);
//
// DataXferBtn
//
this.DataXferBtn.Location = new System.Drawing.Point(6, 95);
this.DataXferBtn.Name = "DataXferBtn";
this.DataXferBtn.Size = new System.Drawing.Size(110, 23);
this.DataXferBtn.TabIndex = 4;
this.DataXferBtn.Text = "Transfer Data";
this.DataXferBtn.UseVisualStyleBackColor = true;
this.DataXferBtn.Click += new System.EventHandler(this.DataXferBtn_Click);
//
// NumBytesBox
//
this.NumBytesBox.Location = new System.Drawing.Point(6, 68);
this.NumBytesBox.Name = "NumBytesBox";
this.NumBytesBox.Size = new System.Drawing.Size(87, 20);
this.NumBytesBox.TabIndex = 3;
this.NumBytesBox.Text = "512";
this.NumBytesBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// XferTextBox
//
this.XferTextBox.Location = new System.Drawing.Point(6, 29);
this.XferTextBox.MaxLength = 85;
this.XferTextBox.Name = "XferTextBox";
this.XferTextBox.Size = new System.Drawing.Size(131, 20);
this.XferTextBox.TabIndex = 1;
this.XferTextBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.XferTextBox_KeyUp);
//
// OutputBox
//
this.OutputBox.BackColor = System.Drawing.SystemColors.Info;
this.OutputBox.Dock = System.Windows.Forms.DockStyle.Bottom;
this.OutputBox.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.OutputBox.Location = new System.Drawing.Point(3, 202);
this.OutputBox.Multiline = true;
this.OutputBox.Name = "OutputBox";
this.OutputBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.OutputBox.Size = new System.Drawing.Size(412, 253);
this.OutputBox.TabIndex = 0;
//
// DriversTab
//
this.DriversTab.Controls.Add(this.label4);
this.DriversTab.Controls.Add(this.CyUSBDeviceBox);
this.DriversTab.Controls.Add(this.HIDDeviceBox);
this.DriversTab.Controls.Add(this.MSCDeviceBox);
this.DriversTab.Location = new System.Drawing.Point(4, 22);
this.DriversTab.Name = "DriversTab";
this.DriversTab.Size = new System.Drawing.Size(418, 458);
this.DriversTab.TabIndex = 2;
this.DriversTab.Text = "Device Class Selection";
this.DriversTab.UseVisualStyleBackColor = true;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.Location = new System.Drawing.Point(37, 20);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(207, 13);
this.label4.TabIndex = 11;
this.label4.Text = "Select the USB devices of interest.";
//
// CyUSBDeviceBox
//
this.CyUSBDeviceBox.AutoSize = true;
this.CyUSBDeviceBox.Checked = true;
this.CyUSBDeviceBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.CyUSBDeviceBox.Location = new System.Drawing.Point(57, 43);
this.CyUSBDeviceBox.Name = "CyUSBDeviceBox";
this.CyUSBDeviceBox.Size = new System.Drawing.Size(292, 17);
this.CyUSBDeviceBox.TabIndex = 10;
this.CyUSBDeviceBox.Text = "Devices served by the CyUSB.sys driver (or a derivative)";
this.CyUSBDeviceBox.UseVisualStyleBackColor = true;
this.CyUSBDeviceBox.CheckedChanged += new System.EventHandler(this.CyUSBDeviceBox_CheckedChanged);
//
// HIDDeviceBox
//
this.HIDDeviceBox.AutoSize = true;
this.HIDDeviceBox.Checked = true;
this.HIDDeviceBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.HIDDeviceBox.Location = new System.Drawing.Point(57, 89);
this.HIDDeviceBox.Name = "HIDDeviceBox";
this.HIDDeviceBox.Size = new System.Drawing.Size(175, 17);
this.HIDDeviceBox.TabIndex = 9;
this.HIDDeviceBox.Text = "Human Interface Devices (HID)";
this.HIDDeviceBox.UseVisualStyleBackColor = true;
this.HIDDeviceBox.CheckedChanged += new System.EventHandler(this.CyUSBDeviceBox_CheckedChanged);
//
// MSCDeviceBox
//
this.MSCDeviceBox.AutoSize = true;
this.MSCDeviceBox.Checked = true;
this.MSCDeviceBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.MSCDeviceBox.Location = new System.Drawing.Point(57, 66);
this.MSCDeviceBox.Name = "MSCDeviceBox";
this.MSCDeviceBox.Size = new System.Drawing.Size(161, 17);
this.MSCDeviceBox.TabIndex = 8;
this.MSCDeviceBox.Text = "Mass Storage Class Devices";
this.MSCDeviceBox.UseVisualStyleBackColor = true;
this.MSCDeviceBox.CheckedChanged += new System.EventHandler(this.CyUSBDeviceBox_CheckedChanged);
//
// FOpenDialog
//
this.FOpenDialog.DefaultExt = "iic";
this.FOpenDialog.Filter = "Intel HEX files (*.hex) | *.hex|Firmware Image files (*.iic) | *.iic";
this.FOpenDialog.ShowReadOnly = true;
this.FOpenDialog.Title = "Select file to download . . .";
//
// FSave
//
this.FSave.Title = "Save the script file as";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(674, 555);
this.Controls.Add(this.Split1);
this.Controls.Add(this.StatusBar);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.menuStrip1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1;
this.Name = "Form1";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "USB Control Center";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Resize += new System.EventHandler(this.Form1_Resize);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.StatusBar.ResumeLayout(false);
this.StatusBar.PerformLayout();
this.Split1.Panel1.ResumeLayout(false);
this.Split1.Panel2.ResumeLayout(false);
this.Split1.ResumeLayout(false);
this.gb.ResumeLayout(false);
this.gb.PerformLayout();
this.TabPages.ResumeLayout(false);
this.DescrTab.ResumeLayout(false);
this.DescrTab.PerformLayout();
this.XferTab.ResumeLayout(false);
this.XferTab.PerformLayout();
this.DriversTab.ResumeLayout(false);
this.DriversTab.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton load_button;
private System.Windows.Forms.ToolStripButton play_button;
private System.Windows.Forms.ToolStripButton Abort_endpoint;
private System.Windows.Forms.StatusStrip StatusBar;
private System.Windows.Forms.ToolStripStatusLabel StatusLabel;
private System.Windows.Forms.SplitContainer Split1;
private System.Windows.Forms.TreeView DeviceTreeView;
private System.Windows.Forms.TabControl TabPages;
private System.Windows.Forms.TabPage DescrTab;
private System.Windows.Forms.TabPage XferTab;
private System.Windows.Forms.TextBox DescText;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button FileXferBtn;
private System.Windows.Forms.Button DataXferBtn;
private System.Windows.Forms.TextBox NumBytesBox;
private System.Windows.Forms.TextBox XferTextBox;
private System.Windows.Forms.ComboBox TargetBox;
private System.Windows.Forms.ComboBox ReqTypeBox;
private System.Windows.Forms.ComboBox DirectionBox;
private System.Windows.Forms.TextBox wValueBox;
private System.Windows.Forms.TextBox ReqCodeBox;
private System.Windows.Forms.TextBox wIndexBox;
private System.Windows.Forms.Label ReqCodeLabel;
private System.Windows.Forms.Label wIndexLabel;
private System.Windows.Forms.Label wValueLabel;
private System.Windows.Forms.Label TargetLabel;
private System.Windows.Forms.Label ReqTypeLabel;
private System.Windows.Forms.Label DirectionLabel;
private System.Windows.Forms.TextBox OutputBox;
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem programFX2ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ProgRamItem;
private System.Windows.Forms.ToolStripMenuItem ProgE2Item;
private System.Windows.Forms.OpenFileDialog FOpenDialog;
private System.Windows.Forms.ToolStripStatusLabel StatLabel;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem HaltItem;
private System.Windows.Forms.ToolStripMenuItem RunItem;
private System.Windows.Forms.TabPage DriversTab;
private System.Windows.Forms.CheckBox CyUSBDeviceBox;
private System.Windows.Forms.CheckBox HIDDeviceBox;
private System.Windows.Forms.CheckBox MSCDeviceBox;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.MaskedTextBox XferDataBox;
private System.Windows.Forms.Button Clear;
private System.Windows.Forms.ToolStripMenuItem ProgSE2Item;
private System.Windows.Forms.ToolStripButton Reset_device;
private System.Windows.Forms.ToolStripButton Reconnect_device;
private System.Windows.Forms.ToolStripButton Reset_endpoint;
private System.Windows.Forms.SaveFileDialog FSave;
private System.Windows.Forms.ToolStripButton Reset_Pipe;
private System.Windows.Forms.ToolStripButton Abort_Pipe;
private System.Windows.Forms.ToolStripButton URB_Stat;
private System.Windows.Forms.ToolStripButton Create_script;
private System.Windows.Forms.GroupBox gb;
private System.Windows.Forms.Label Addr;
private System.Windows.Forms.Label Cpu;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button Ok;
private System.Windows.Forms.ToolStripButton Script_parameters;
private System.Windows.Forms.ToolStripButton Select_Monitor;
private System.Windows.Forms.ToolStripButton Load_Monitor;
private System.Windows.Forms.ToolStripMenuItem UsersGuide;
private System.Windows.Forms.ToolStripMenuItem AboutMenuItem;
private System.Windows.Forms.CheckBox IsPacket;
private System.Windows.Forms.ToolStripButton Record;
private System.Windows.Forms.ToolStripButton Stop;
private System.Windows.Forms.ToolStripButton Pause;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -