diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2017-07-07 11:55:23 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-07 11:55:23 -0400 |
| commit | 8655d4f4948b2deef7844503c8d690f23ac1a062 (patch) | |
| tree | b2c6effc9d6cd5b5b43933a1e53b8bf17e9e82cf /lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.Designer.cs | |
| parent | 1896c76a2928c96f9ab7947bec2ef8dd37623cff (diff) | |
| parent | 60b30c036397cb5627fa374bb930794b225daa29 (diff) | |
| download | qmk_firmware-8655d4f4948b2deef7844503c8d690f23ac1a062.tar.gz qmk_firmware-8655d4f4948b2deef7844503c8d690f23ac1a062.zip | |
Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa'
Diffstat (limited to 'lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.Designer.cs')
| -rw-r--r-- | lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.Designer.cs | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.Designer.cs b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.Designer.cs new file mode 100644 index 000000000..2b189943a --- /dev/null +++ b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.Designer.cs | |||
| @@ -0,0 +1,131 @@ | |||
| 1 | namespace CPUMonitor | ||
| 2 | { | ||
| 3 | partial class frmCPU | ||
| 4 | { | ||
| 5 | /// <summary> | ||
| 6 | /// Required designer variable. | ||
| 7 | /// </summary> | ||
| 8 | private System.ComponentModel.IContainer components = null; | ||
| 9 | |||
| 10 | /// <summary> | ||
| 11 | /// Clean up any resources being used. | ||
| 12 | /// </summary> | ||
| 13 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||
| 14 | protected override void Dispose(bool disposing) | ||
| 15 | { | ||
| 16 | if (disposing && (components != null)) | ||
| 17 | { | ||
| 18 | components.Dispose(); | ||
| 19 | } | ||
| 20 | base.Dispose(disposing); | ||
| 21 | } | ||
| 22 | |||
| 23 | #region Windows Form Designer generated code | ||
| 24 | |||
| 25 | /// <summary> | ||
| 26 | /// Required method for Designer support - do not modify | ||
| 27 | /// the contents of this method with the code editor. | ||
| 28 | /// </summary> | ||
| 29 | private void InitializeComponent() | ||
| 30 | { | ||
| 31 | this.components = new System.ComponentModel.Container(); | ||
| 32 | this.serSerialPort = new System.IO.Ports.SerialPort(this.components); | ||
| 33 | this.tmrCPUTimer = new System.Windows.Forms.Timer(this.components); | ||
| 34 | this.cmbComPort = new System.Windows.Forms.ComboBox(); | ||
| 35 | this.pcCPUUsage = new System.Diagnostics.PerformanceCounter(); | ||
| 36 | this.lblCPU = new System.Windows.Forms.Label(); | ||
| 37 | this.nicoNotifyIcon = new System.Windows.Forms.NotifyIcon(this.components); | ||
| 38 | this.btnMinimizeToTray = new System.Windows.Forms.Button(); | ||
| 39 | this.btnExit = new System.Windows.Forms.Button(); | ||
| 40 | ((System.ComponentModel.ISupportInitialize)(this.pcCPUUsage)).BeginInit(); | ||
| 41 | this.SuspendLayout(); | ||
| 42 | // | ||
| 43 | // tmrCPUTimer | ||
| 44 | // | ||
| 45 | this.tmrCPUTimer.Enabled = true; | ||
| 46 | this.tmrCPUTimer.Interval = 1000; | ||
| 47 | this.tmrCPUTimer.Tick += new System.EventHandler(this.tmrCPUTimer_Tick); | ||
| 48 | // | ||
| 49 | // cmbComPort | ||
| 50 | // | ||
| 51 | this.cmbComPort.FormattingEnabled = true; | ||
| 52 | this.cmbComPort.Location = new System.Drawing.Point(48, 12); | ||
| 53 | this.cmbComPort.Name = "cmbComPort"; | ||
| 54 | this.cmbComPort.Size = new System.Drawing.Size(156, 21); | ||
| 55 | this.cmbComPort.TabIndex = 0; | ||
| 56 | this.cmbComPort.SelectedIndexChanged += new System.EventHandler(this.cbPort_SelectedIndexChanged); | ||
| 57 | // | ||
| 58 | // pcCPUUsage | ||
| 59 | // | ||
| 60 | this.pcCPUUsage.CategoryName = "Processor"; | ||
| 61 | this.pcCPUUsage.CounterName = "% Processor Time"; | ||
| 62 | this.pcCPUUsage.InstanceName = "_Total"; | ||
| 63 | // | ||
| 64 | // lblCPU | ||
| 65 | // | ||
| 66 | this.lblCPU.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||
| 67 | this.lblCPU.Location = new System.Drawing.Point(44, 36); | ||
| 68 | this.lblCPU.Name = "lblCPU"; | ||
| 69 | this.lblCPU.Size = new System.Drawing.Size(160, 28); | ||
| 70 | this.lblCPU.TabIndex = 1; | ||
| 71 | this.lblCPU.Text = "0%"; | ||
| 72 | this.lblCPU.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||
| 73 | // | ||
| 74 | // nicoNotifyIcon | ||
| 75 | // | ||
| 76 | this.nicoNotifyIcon.Text = "CPU Usage Monitor"; | ||
| 77 | this.nicoNotifyIcon.Visible = true; | ||
| 78 | // | ||
| 79 | // btnMinimizeToTray | ||
| 80 | // | ||
| 81 | this.btnMinimizeToTray.Location = new System.Drawing.Point(12, 67); | ||
| 82 | this.btnMinimizeToTray.Name = "btnMinimizeToTray"; | ||
| 83 | this.btnMinimizeToTray.Size = new System.Drawing.Size(111, 28); | ||
| 84 | this.btnMinimizeToTray.TabIndex = 2; | ||
| 85 | this.btnMinimizeToTray.Text = "Minimize to Tray"; | ||
| 86 | this.btnMinimizeToTray.UseVisualStyleBackColor = true; | ||
| 87 | this.btnMinimizeToTray.Click += new System.EventHandler(this.btnMinimizeToTray_Click); | ||
| 88 | // | ||
| 89 | // btnExit | ||
| 90 | // | ||
| 91 | this.btnExit.Location = new System.Drawing.Point(126, 67); | ||
| 92 | this.btnExit.Name = "btnExit"; | ||
| 93 | this.btnExit.Size = new System.Drawing.Size(111, 28); | ||
| 94 | this.btnExit.TabIndex = 3; | ||
| 95 | this.btnExit.Text = "Exit"; | ||
| 96 | this.btnExit.UseVisualStyleBackColor = true; | ||
| 97 | this.btnExit.Click += new System.EventHandler(this.btnExit_Click); | ||
| 98 | // | ||
| 99 | // frmCPU | ||
| 100 | // | ||
| 101 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | ||
| 102 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||
| 103 | this.ClientSize = new System.Drawing.Size(249, 106); | ||
| 104 | this.Controls.Add(this.btnExit); | ||
| 105 | this.Controls.Add(this.btnMinimizeToTray); | ||
| 106 | this.Controls.Add(this.lblCPU); | ||
| 107 | this.Controls.Add(this.cmbComPort); | ||
| 108 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; | ||
| 109 | this.MaximizeBox = false; | ||
| 110 | this.Name = "frmCPU"; | ||
| 111 | this.Text = "CPU Usage Monitor"; | ||
| 112 | this.WindowState = System.Windows.Forms.FormWindowState.Minimized; | ||
| 113 | this.Load += new System.EventHandler(this.Form1_Load); | ||
| 114 | ((System.ComponentModel.ISupportInitialize)(this.pcCPUUsage)).EndInit(); | ||
| 115 | this.ResumeLayout(false); | ||
| 116 | |||
| 117 | } | ||
| 118 | |||
| 119 | #endregion | ||
| 120 | |||
| 121 | private System.IO.Ports.SerialPort serSerialPort; | ||
| 122 | private System.Windows.Forms.Timer tmrCPUTimer; | ||
| 123 | private System.Windows.Forms.ComboBox cmbComPort; | ||
| 124 | private System.Diagnostics.PerformanceCounter pcCPUUsage; | ||
| 125 | private System.Windows.Forms.Label lblCPU; | ||
| 126 | private System.Windows.Forms.NotifyIcon nicoNotifyIcon; | ||
| 127 | private System.Windows.Forms.Button btnMinimizeToTray; | ||
| 128 | private System.Windows.Forms.Button btnExit; | ||
| 129 | } | ||
| 130 | } | ||
| 131 | |||
