Click here to Skip to main content
12,451,425 members (49,872 online)
Click here to Skip to main content

Stats

73.9K views
1.8K downloads
170 bookmarked
Posted

ProSysLib: Dissecting the Process

, 22 Nov 2010 CPOL
Access detailed information about the current process the easiest way.
ProcessInfo.exe
ProSysLib.dll
Interop.ProSysLib.dll
Interop.ProSysLib.dll
ProcessInfo.exe
ProSysLib.dll
PSL64v0.9.dll
Interop.ProSysLib.dll
ProcessInfo.exe
PSL32v0.9.dll
ProSysLib_v0.9
Bin
PSL32v0.9.dll
PSL64v0.9.dll
Help
Samples
C#2008
ProcessInfo
Properties
ProcessViewer
Properties
VB6
CPUInfo.exe
CPUInfo.frm
CPUInfo.frx
CPUInfo.vbp
CPUInfo.vbw
VC2008
Deployment
Src
mssccprj.scc
ProSysLib.def
ProSysLib.rgs
ProSysLib.vcproj.vspscc
ProSysLib.vssscc
PSLSystem.rgs
PSLv0.5Setup.exe
PSLv0.7Setup.exe
namespace ProcessViewer
{
    partial class MainForm
    {
        /// <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.ProcessList = new System.Windows.Forms.ListView();
			this.colID = new System.Windows.Forms.ColumnHeader();
			this.colName = new System.Windows.Forms.ColumnHeader();
			this.colPath = new System.Windows.Forms.ColumnHeader();
			this.colUser = new System.Windows.Forms.ColumnHeader();
			this.colThreads = new System.Windows.Forms.ColumnHeader();
			this.colHandles = new System.Windows.Forms.ColumnHeader();
			this.btnKill = new System.Windows.Forms.Button();
			this.btnRefresh = new System.Windows.Forms.Button();
			this.btnExit = new System.Windows.Forms.Button();
			this.userGroup = new System.Windows.Forms.GroupBox();
			this.btnAllUsers = new System.Windows.Forms.RadioButton();
			this.btnCurrentUser = new System.Windows.Forms.RadioButton();
			this.userGroup.SuspendLayout();
			this.SuspendLayout();
			// 
			// ProcessList
			// 
			this.ProcessList.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.ProcessList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.colID,
            this.colName,
            this.colPath,
            this.colUser,
            this.colThreads,
            this.colHandles});
			this.ProcessList.FullRowSelect = true;
			this.ProcessList.Location = new System.Drawing.Point(13, 13);
			this.ProcessList.Name = "ProcessList";
			this.ProcessList.Size = new System.Drawing.Size(613, 343);
			this.ProcessList.TabIndex = 0;
			this.ProcessList.UseCompatibleStateImageBehavior = false;
			this.ProcessList.View = System.Windows.Forms.View.Details;
			this.ProcessList.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.ProcessList_ItemSelectionChanged);
			// 
			// colID
			// 
			this.colID.Text = "ID";
			this.colID.Width = 40;
			// 
			// colName
			// 
			this.colName.Text = "Name";
			this.colName.Width = 120;
			// 
			// colPath
			// 
			this.colPath.Text = "Full Path";
			this.colPath.Width = 200;
			// 
			// colUser
			// 
			this.colUser.Text = "User";
			this.colUser.Width = 100;
			// 
			// colThreads
			// 
			this.colThreads.Text = "Threads";
			// 
			// colHandles
			// 
			this.colHandles.Text = "Handles";
			// 
			// btnKill
			// 
			this.btnKill.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.btnKill.Location = new System.Drawing.Point(632, 13);
			this.btnKill.Name = "btnKill";
			this.btnKill.Size = new System.Drawing.Size(75, 23);
			this.btnKill.TabIndex = 3;
			this.btnKill.Text = "Kill";
			this.btnKill.UseVisualStyleBackColor = true;
			this.btnKill.Click += new System.EventHandler(this.btnKill_Click);
			// 
			// btnRefresh
			// 
			this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.btnRefresh.Location = new System.Drawing.Point(632, 101);
			this.btnRefresh.Name = "btnRefresh";
			this.btnRefresh.Size = new System.Drawing.Size(75, 23);
			this.btnRefresh.TabIndex = 4;
			this.btnRefresh.Text = "Refresh";
			this.btnRefresh.UseVisualStyleBackColor = true;
			this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
			// 
			// btnExit
			// 
			this.btnExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnExit.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnExit.Location = new System.Drawing.Point(632, 333);
			this.btnExit.Name = "btnExit";
			this.btnExit.Size = new System.Drawing.Size(75, 23);
			this.btnExit.TabIndex = 5;
			this.btnExit.Text = "Exit";
			this.btnExit.UseVisualStyleBackColor = true;
			this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
			// 
			// userGroup
			// 
			this.userGroup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.userGroup.Controls.Add(this.btnAllUsers);
			this.userGroup.Controls.Add(this.btnCurrentUser);
			this.userGroup.Location = new System.Drawing.Point(12, 362);
			this.userGroup.Name = "userGroup";
			this.userGroup.Size = new System.Drawing.Size(172, 51);
			this.userGroup.TabIndex = 4;
			this.userGroup.TabStop = false;
			this.userGroup.Text = "Show Processes For";
			// 
			// btnAllUsers
			// 
			this.btnAllUsers.AutoSize = true;
			this.btnAllUsers.Location = new System.Drawing.Point(96, 19);
			this.btnAllUsers.Name = "btnAllUsers";
			this.btnAllUsers.Size = new System.Drawing.Size(66, 17);
			this.btnAllUsers.TabIndex = 2;
			this.btnAllUsers.Text = "All Users";
			this.btnAllUsers.UseVisualStyleBackColor = true;
			this.btnAllUsers.CheckedChanged += new System.EventHandler(this.btnAllUsers_CheckedChanged);
			// 
			// btnCurrentUser
			// 
			this.btnCurrentUser.AutoSize = true;
			this.btnCurrentUser.Checked = true;
			this.btnCurrentUser.Location = new System.Drawing.Point(6, 20);
			this.btnCurrentUser.Name = "btnCurrentUser";
			this.btnCurrentUser.Size = new System.Drawing.Size(84, 17);
			this.btnCurrentUser.TabIndex = 1;
			this.btnCurrentUser.TabStop = true;
			this.btnCurrentUser.Text = "Current User";
			this.btnCurrentUser.UseVisualStyleBackColor = true;
			this.btnCurrentUser.CheckedChanged += new System.EventHandler(this.btnCurrentUser_CheckedChanged);
			// 
			// MainForm
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.CancelButton = this.btnExit;
			this.ClientSize = new System.Drawing.Size(719, 425);
			this.Controls.Add(this.userGroup);
			this.Controls.Add(this.btnExit);
			this.Controls.Add(this.btnRefresh);
			this.Controls.Add(this.btnKill);
			this.Controls.Add(this.ProcessList);
			this.MinimumSize = new System.Drawing.Size(550, 450);
			this.Name = "MainForm";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "Process Viewer";
			this.Load += new System.EventHandler(this.MainForm_Load);
			this.userGroup.ResumeLayout(false);
			this.userGroup.PerformLayout();
			this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.ListView ProcessList;
        private System.Windows.Forms.Button btnKill;
        private System.Windows.Forms.Button btnRefresh;
        private System.Windows.Forms.Button btnExit;
        private System.Windows.Forms.GroupBox userGroup;
        private System.Windows.Forms.RadioButton btnAllUsers;
        private System.Windows.Forms.RadioButton btnCurrentUser;
		private System.Windows.Forms.ColumnHeader colID;
		private System.Windows.Forms.ColumnHeader colName;
		private System.Windows.Forms.ColumnHeader colPath;
		private System.Windows.Forms.ColumnHeader colUser;
		private System.Windows.Forms.ColumnHeader colThreads;
		private System.Windows.Forms.ColumnHeader colHandles;
    }
}

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

Vitaly Tomilov
Software Developer (Senior) Sibedge IT
Ireland Ireland
My online CV: cv.vitalytomilov.com

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160826.1 | Last Updated 22 Nov 2010
Article Copyright 2008 by Vitaly Tomilov
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid