Click here to Skip to main content
13,141,747 members (60,104 online)
Click here to Skip to main content

Stats

58.6K views
1.5K downloads
66 bookmarked
Posted 1 Mar 2010

CPUAlert: Save your CPU from Burning Hot and Battery Running Out Quickly

, 11 Jun 2011
CPUAlert monitors CPU and Memory consumption of processes and alerts you when they are taking too much consistently and gives you an option to recycle or terminate
GoogleCode
.svn
all-wcprops
dir-prop-base
entries
prop-base
props
text-base
CPUAlert.sln.svn-base
tmp
prop-base
props
text-base
CPUAlert
CPUAlert.Setup
.svn
all-wcprops
dir-prop-base
entries
prop-base
props
text-base
CPUAlert.Setup.vdproj.svn-base
tmp
prop-base
props
text-base
CPUAlert.Setup.vdproj
Release
CPUMonitor.Setup.msi
setup.exe
CPUAlert.suo
.svn
all-wcprops
dir-prop-base
entries
prop-base
Icon.ico.svn-base
props
text-base
app.config.svn-base
CPUAlert.csproj.svn-base
CPUMonitorInstaller.cs.svn-base
Icon.ico.svn-base
KillProcessForm.cs.svn-base
KillProcessForm.Designer.cs.svn-base
KillProcessForm.resx.svn-base
MemoryHelper.cs.svn-base
Monitor.cs.svn-base
MonitorCPUForm.cs.svn-base
MonitorCPUForm.Designer.cs.svn-base
MonitorCPUForm.resx.svn-base
ProcessInfo.cs.svn-base
Program.cs.svn-base
Settings.cs.svn-base
tmp
prop-base
props
text-base
bin
Release
CPUMonitor.exe
CPUMonitor.pdb
CPUMonitor.vshost.exe
CPUMonitor.vshost.exe.manifest
Icon.ico
Properties
.svn
all-wcprops
entries
prop-base
props
text-base
AssemblyInfo.cs.svn-base
Resources.Designer.cs.svn-base
Resources.resx.svn-base
Settings.Designer.cs.svn-base
Settings.settings.svn-base
tmp
prop-base
props
text-base
CPUMonitor.Setup.msi
´╗┐namespace CPUMonitor
{
    partial class MonitorCPUForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MonitorCPUForm));
            this.MonitorTimer = new System.Windows.Forms.Timer(this.components);
            this.PropertyGrid = new System.Windows.Forms.PropertyGrid();
            this.TaskbarNotifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
            this.TaskbarContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.CPUAlertLinkLabel = new System.Windows.Forms.LinkLabel();
            this.label1 = new System.Windows.Forms.Label();
            this.MeLinkLabel = new System.Windows.Forms.LinkLabel();
            this.TaskbarContextMenu.SuspendLayout();
            this.SuspendLayout();
            // 
            // MonitorTimer
            // 
            this.MonitorTimer.Interval = 1000;
            // 
            // PropertyGrid
            // 
            this.PropertyGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.PropertyGrid.Location = new System.Drawing.Point(1, 43);
            this.PropertyGrid.Name = "PropertyGrid";
            this.PropertyGrid.Size = new System.Drawing.Size(580, 313);
            this.PropertyGrid.TabIndex = 0;
            this.PropertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.PropertyGrid_PropertyValueChanged);
            // 
            // TaskbarNotifyIcon
            // 
            this.TaskbarNotifyIcon.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Warning;
            this.TaskbarNotifyIcon.ContextMenuStrip = this.TaskbarContextMenu;
            this.TaskbarNotifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("TaskbarNotifyIcon.Icon")));
            this.TaskbarNotifyIcon.Text = "CPU Monitor";
            this.TaskbarNotifyIcon.Visible = true;
            this.TaskbarNotifyIcon.DoubleClick += new System.EventHandler(this.TaskbarNotifyIcon_DoubleClick);
            // 
            // TaskbarContextMenu
            // 
            this.TaskbarContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.settingsToolStripMenuItem,
            this.exitToolStripMenuItem});
            this.TaskbarContextMenu.Name = "TaskbarContextMenu";
            this.TaskbarContextMenu.Size = new System.Drawing.Size(117, 48);
            // 
            // settingsToolStripMenuItem
            // 
            this.settingsToolStripMenuItem.DoubleClickEnabled = true;
            this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
            this.settingsToolStripMenuItem.Size = new System.Drawing.Size(116, 22);
            this.settingsToolStripMenuItem.Text = "&Settings";
            this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click);
            // 
            // exitToolStripMenuItem
            // 
            this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
            this.exitToolStripMenuItem.Size = new System.Drawing.Size(116, 22);
            this.exitToolStripMenuItem.Text = "E&xit";
            this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
            // 
            // CPUAlertLinkLabel
            // 
            this.CPUAlertLinkLabel.AutoSize = true;
            this.CPUAlertLinkLabel.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.CPUAlertLinkLabel.Location = new System.Drawing.Point(12, 10);
            this.CPUAlertLinkLabel.Name = "CPUAlertLinkLabel";
            this.CPUAlertLinkLabel.Size = new System.Drawing.Size(87, 23);
            this.CPUAlertLinkLabel.TabIndex = 1;
            this.CPUAlertLinkLabel.TabStop = true;
            this.CPUAlertLinkLabel.Text = "CPU Alert";
            this.CPUAlertLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.CPUAlertLinkLabel_LinkClicked);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(106, 18);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(61, 13);
            this.label1.TabIndex = 2;
            this.label1.Text = "Created By";
            // 
            // MeLinkLabel
            // 
            this.MeLinkLabel.AutoSize = true;
            this.MeLinkLabel.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.MeLinkLabel.Location = new System.Drawing.Point(173, 16);
            this.MeLinkLabel.Name = "MeLinkLabel";
            this.MeLinkLabel.Size = new System.Drawing.Size(95, 17);
            this.MeLinkLabel.TabIndex = 3;
            this.MeLinkLabel.TabStop = true;
            this.MeLinkLabel.Text = "Omar AL Zabir";
            this.MeLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.MeLinkLabel_LinkClicked);
            // 
            // MonitorCPUForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(581, 357);
            this.Controls.Add(this.MeLinkLabel);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.CPUAlertLinkLabel);
            this.Controls.Add(this.PropertyGrid);
            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "MonitorCPUForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "CPU Monitor";
            this.Shown += new System.EventHandler(this.MonitorCPU_Shown);
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MonitorCPU_FormClosed);
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MonitorCPUForm_FormClosing);
            this.TaskbarContextMenu.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Timer MonitorTimer;
        private System.Windows.Forms.PropertyGrid PropertyGrid;
        private System.Windows.Forms.NotifyIcon TaskbarNotifyIcon;
        private System.Windows.Forms.ContextMenuStrip TaskbarContextMenu;
        private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
        private System.Windows.Forms.LinkLabel CPUAlertLinkLabel;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.LinkLabel MeLinkLabel;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author


You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170915.1 | Last Updated 11 Jun 2011
Article Copyright 2010 by Omar Al Zabir
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid