Commits

Mathias Kluba  committed d02f525

be able to sort columns

  • Participants
  • Parent commits d1bf44b

Comments (0)

Files changed (4)

File FormMain.Designer.cs

             this.textBoxCBDPath = new System.Windows.Forms.TextBox();
             this.labelSosexPath = new System.Windows.Forms.Label();
             this.textBoxSosexPath = new System.Windows.Forms.TextBox();
+            this.panelHelpCDB = new System.Windows.Forms.Panel();
+            this.tableLayoutPanelHelpCDB = new System.Windows.Forms.TableLayoutPanel();
+            this.pictureBoxHelpCDB = new System.Windows.Forms.PictureBox();
             this.labelCDBHelp1 = new System.Windows.Forms.Label();
             this.linkLabelCDBHelp2 = new System.Windows.Forms.LinkLabel();
             this.linkLabelCDBHelp3 = new System.Windows.Forms.LinkLabel();
+            this.linkLabelCDBHelp5 = new System.Windows.Forms.LinkLabel();
             this.labelCDBHelp4 = new System.Windows.Forms.Label();
-            this.linkLabelCDBHelp5 = new System.Windows.Forms.LinkLabel();
+            this.panelHelpSOSEX = new System.Windows.Forms.Panel();
+            this.tableLayoutPanelHELPSOSEX = new System.Windows.Forms.TableLayoutPanel();
+            this.pictureBoxHelpSOSEX = new System.Windows.Forms.PictureBox();
             this.labelSOSEXHelp1 = new System.Windows.Forms.Label();
             this.linkLabelSOSEXHelp2 = new System.Windows.Forms.LinkLabel();
             this.linkLabelSOSEXHelp3 = new System.Windows.Forms.LinkLabel();
+            this.linkLabelSOSEXHelp5 = new System.Windows.Forms.LinkLabel();
             this.labelSOSEXHelp4 = new System.Windows.Forms.Label();
-            this.linkLabelSOSEXHelp5 = new System.Windows.Forms.LinkLabel();
             this.toolStripSettings = new System.Windows.Forms.ToolStrip();
             this.toolStripSplitButtonRefresh = new System.Windows.Forms.ToolStripSplitButton();
             this.processesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.helpOnlineToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.timerFilter = new System.Windows.Forms.Timer(this.components);
             this.timerTypeFilter = new System.Windows.Forms.Timer(this.components);
-            this.tableLayoutPanelHelpCDB = new System.Windows.Forms.TableLayoutPanel();
-            this.panelHelpCDB = new System.Windows.Forms.Panel();
-            this.pictureBoxHelpCDB = new System.Windows.Forms.PictureBox();
-            this.panelHelpSOSEX = new System.Windows.Forms.Panel();
-            this.tableLayoutPanelHELPSOSEX = new System.Windows.Forms.TableLayoutPanel();
-            this.pictureBoxHelpSOSEX = new System.Windows.Forms.PictureBox();
             this.tabControlMain.SuspendLayout();
             this.tabPageProcesses.SuspendLayout();
             this.panelSearchProcesses.SuspendLayout();
             this.tabPageOutput.SuspendLayout();
             this.tabPageSettings.SuspendLayout();
             this.tableLayoutPanelSettings.SuspendLayout();
-            this.toolStripSettings.SuspendLayout();
+            this.panelHelpCDB.SuspendLayout();
             this.tableLayoutPanelHelpCDB.SuspendLayout();
-            this.panelHelpCDB.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.pictureBoxHelpCDB)).BeginInit();
             this.panelHelpSOSEX.SuspendLayout();
             this.tableLayoutPanelHELPSOSEX.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.pictureBoxHelpSOSEX)).BeginInit();
+            this.toolStripSettings.SuspendLayout();
             this.SuspendLayout();
             // 
             // tabControlMain
             this.listViewProcesses.View = System.Windows.Forms.View.Details;
             this.listViewProcesses.SelectedIndexChanged += new System.EventHandler(this.listViewProcesses_SelectedIndexChanged);
             this.listViewProcesses.DoubleClick += new System.EventHandler(this.listViewProcesses_DoubleClick);
+            this.listViewProcesses.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_ColumnClick);
             // 
             // columnHeaderProcessId
             // 
             this.listViewAppDomains.UseCompatibleStateImageBehavior = false;
             this.listViewAppDomains.View = System.Windows.Forms.View.Details;
             this.listViewAppDomains.DoubleClick += new System.EventHandler(this.listViewAppDomains_DoubleClick);
+            this.listViewAppDomains.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_ColumnClick);
             // 
             // columnHeaderAppDomainAddress
             // 
             this.listViewAssemblies.TabIndex = 1;
             this.listViewAssemblies.UseCompatibleStateImageBehavior = false;
             this.listViewAssemblies.View = System.Windows.Forms.View.Details;
+            this.listViewAssemblies.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_ColumnClick);
             // 
             // columnHeaderAssemblyAddress
             // 
             this.listViewHeap.UseCompatibleStateImageBehavior = false;
             this.listViewHeap.View = System.Windows.Forms.View.Details;
             this.listViewHeap.DoubleClick += new System.EventHandler(this.listViewHeap_DoubleClick);
+            this.listViewHeap.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_ColumnClick);
             // 
             // columnHeaderHeapAddress
             // 
             this.listViewInstances.UseCompatibleStateImageBehavior = false;
             this.listViewInstances.View = System.Windows.Forms.View.Details;
             this.listViewInstances.DoubleClick += new System.EventHandler(this.listViewInstances_DoubleClick);
+            this.listViewInstances.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_ColumnClick);
             // 
             // columnHeaderInstanceAddress
             // 
             this.listViewObjectDump.UseCompatibleStateImageBehavior = false;
             this.listViewObjectDump.View = System.Windows.Forms.View.Details;
             this.listViewObjectDump.DoubleClick += new System.EventHandler(this.listViewObjectDump_DoubleClick);
+            this.listViewObjectDump.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_ColumnClick);
             // 
             // columnHeaderObjectDumpField
             // 
             this.listViewFieldArray.UseCompatibleStateImageBehavior = false;
             this.listViewFieldArray.View = System.Windows.Forms.View.Details;
             this.listViewFieldArray.DoubleClick += new System.EventHandler(this.listViewFieldArray_DoubleClick);
+            this.listViewFieldArray.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_ColumnClick);
             // 
             // columnHeaderFieldArrayNumber
             // 
             this.textBoxSosexPath.Size = new System.Drawing.Size(863, 20);
             this.textBoxSosexPath.TabIndex = 1;
             // 
+            // panelHelpCDB
+            // 
+            this.panelHelpCDB.BackColor = System.Drawing.Color.RoyalBlue;
+            this.panelHelpCDB.Controls.Add(this.tableLayoutPanelHelpCDB);
+            this.panelHelpCDB.Location = new System.Drawing.Point(79, 29);
+            this.panelHelpCDB.Name = "panelHelpCDB";
+            this.panelHelpCDB.Padding = new System.Windows.Forms.Padding(2);
+            this.panelHelpCDB.Size = new System.Drawing.Size(380, 104);
+            this.panelHelpCDB.TabIndex = 11;
+            // 
+            // tableLayoutPanelHelpCDB
+            // 
+            this.tableLayoutPanelHelpCDB.BackColor = System.Drawing.Color.GhostWhite;
+            this.tableLayoutPanelHelpCDB.ColumnCount = 2;
+            this.tableLayoutPanelHelpCDB.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+            this.tableLayoutPanelHelpCDB.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+            this.tableLayoutPanelHelpCDB.Controls.Add(this.pictureBoxHelpCDB, 0, 0);
+            this.tableLayoutPanelHelpCDB.Controls.Add(this.labelCDBHelp1, 1, 0);
+            this.tableLayoutPanelHelpCDB.Controls.Add(this.linkLabelCDBHelp2, 1, 1);
+            this.tableLayoutPanelHelpCDB.Controls.Add(this.linkLabelCDBHelp3, 1, 2);
+            this.tableLayoutPanelHelpCDB.Controls.Add(this.linkLabelCDBHelp5, 1, 4);
+            this.tableLayoutPanelHelpCDB.Controls.Add(this.labelCDBHelp4, 1, 3);
+            this.tableLayoutPanelHelpCDB.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.tableLayoutPanelHelpCDB.Location = new System.Drawing.Point(2, 2);
+            this.tableLayoutPanelHelpCDB.Name = "tableLayoutPanelHelpCDB";
+            this.tableLayoutPanelHelpCDB.RowCount = 6;
+            this.tableLayoutPanelHelpCDB.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+            this.tableLayoutPanelHelpCDB.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+            this.tableLayoutPanelHelpCDB.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+            this.tableLayoutPanelHelpCDB.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+            this.tableLayoutPanelHelpCDB.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+            this.tableLayoutPanelHelpCDB.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+            this.tableLayoutPanelHelpCDB.Size = new System.Drawing.Size(376, 100);
+            this.tableLayoutPanelHelpCDB.TabIndex = 10;
+            // 
+            // pictureBoxHelpCDB
+            // 
+            this.pictureBoxHelpCDB.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.pictureBoxHelpCDB.Image = global::SOS.Net.Properties.Resources.help;
+            this.pictureBoxHelpCDB.Location = new System.Drawing.Point(3, 3);
+            this.pictureBoxHelpCDB.Name = "pictureBoxHelpCDB";
+            this.tableLayoutPanelHelpCDB.SetRowSpan(this.pictureBoxHelpCDB, 2);
+            this.pictureBoxHelpCDB.Size = new System.Drawing.Size(16, 34);
+            this.pictureBoxHelpCDB.TabIndex = 0;
+            this.pictureBoxHelpCDB.TabStop = false;
+            // 
             // labelCDBHelp1
             // 
             this.labelCDBHelp1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
             this.linkLabelCDBHelp3.Text = "http://www.microsoft.com/whdc/devtools/debugging/install64bit.mspx#";
             this.linkLabelCDBHelp3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_LinkClicked);
             // 
-            // labelCDBHelp4
-            // 
-            this.labelCDBHelp4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
-            this.labelCDBHelp4.AutoSize = true;
-            this.labelCDBHelp4.Location = new System.Drawing.Point(25, 63);
-            this.labelCDBHelp4.Name = "labelCDBHelp4";
-            this.labelCDBHelp4.Size = new System.Drawing.Size(348, 13);
-            this.labelCDBHelp4.TabIndex = 7;
-            this.labelCDBHelp4.Text = "For more information:";
-            // 
             // linkLabelCDBHelp5
             // 
             this.linkLabelCDBHelp5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
             this.linkLabelCDBHelp5.Text = "http://www.microsoft.com/whdc/Devtools/Debugging/default.mspx ";
             this.linkLabelCDBHelp5.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_LinkClicked);
             // 
+            // labelCDBHelp4
+            // 
+            this.labelCDBHelp4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
+            this.labelCDBHelp4.AutoSize = true;
+            this.labelCDBHelp4.Location = new System.Drawing.Point(25, 63);
+            this.labelCDBHelp4.Name = "labelCDBHelp4";
+            this.labelCDBHelp4.Size = new System.Drawing.Size(348, 13);
+            this.labelCDBHelp4.TabIndex = 7;
+            this.labelCDBHelp4.Text = "For more information:";
+            // 
+            // panelHelpSOSEX
+            // 
+            this.panelHelpSOSEX.BackColor = System.Drawing.Color.RoyalBlue;
+            this.panelHelpSOSEX.Controls.Add(this.tableLayoutPanelHELPSOSEX);
+            this.panelHelpSOSEX.Location = new System.Drawing.Point(79, 165);
+            this.panelHelpSOSEX.Name = "panelHelpSOSEX";
+            this.panelHelpSOSEX.Padding = new System.Windows.Forms.Padding(2);
+            this.panelHelpSOSEX.Size = new System.Drawing.Size(380, 104);
+            this.panelHelpSOSEX.TabIndex = 12;
+            // 
+            // tableLayoutPanelHELPSOSEX
+            // 
+            this.tableLayoutPanelHELPSOSEX.BackColor = System.Drawing.Color.GhostWhite;
+            this.tableLayoutPanelHELPSOSEX.ColumnCount = 2;
+            this.tableLayoutPanelHELPSOSEX.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+            this.tableLayoutPanelHELPSOSEX.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+            this.tableLayoutPanelHELPSOSEX.Controls.Add(this.pictureBoxHelpSOSEX, 0, 0);
+            this.tableLayoutPanelHELPSOSEX.Controls.Add(this.labelSOSEXHelp1, 1, 0);
+            this.tableLayoutPanelHELPSOSEX.Controls.Add(this.linkLabelSOSEXHelp2, 1, 1);
+            this.tableLayoutPanelHELPSOSEX.Controls.Add(this.linkLabelSOSEXHelp3, 1, 2);
+            this.tableLayoutPanelHELPSOSEX.Controls.Add(this.linkLabelSOSEXHelp5, 1, 4);
+            this.tableLayoutPanelHELPSOSEX.Controls.Add(this.labelSOSEXHelp4, 1, 3);
+            this.tableLayoutPanelHELPSOSEX.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.tableLayoutPanelHELPSOSEX.Location = new System.Drawing.Point(2, 2);
+            this.tableLayoutPanelHELPSOSEX.Name = "tableLayoutPanelHELPSOSEX";
+            this.tableLayoutPanelHELPSOSEX.RowCount = 6;
+            this.tableLayoutPanelHELPSOSEX.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+            this.tableLayoutPanelHELPSOSEX.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+            this.tableLayoutPanelHELPSOSEX.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+            this.tableLayoutPanelHELPSOSEX.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+            this.tableLayoutPanelHELPSOSEX.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+            this.tableLayoutPanelHELPSOSEX.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+            this.tableLayoutPanelHELPSOSEX.Size = new System.Drawing.Size(376, 100);
+            this.tableLayoutPanelHELPSOSEX.TabIndex = 10;
+            // 
+            // pictureBoxHelpSOSEX
+            // 
+            this.pictureBoxHelpSOSEX.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.pictureBoxHelpSOSEX.Image = global::SOS.Net.Properties.Resources.help;
+            this.pictureBoxHelpSOSEX.Location = new System.Drawing.Point(3, 3);
+            this.pictureBoxHelpSOSEX.Name = "pictureBoxHelpSOSEX";
+            this.tableLayoutPanelHELPSOSEX.SetRowSpan(this.pictureBoxHelpSOSEX, 2);
+            this.pictureBoxHelpSOSEX.Size = new System.Drawing.Size(16, 34);
+            this.pictureBoxHelpSOSEX.TabIndex = 0;
+            this.pictureBoxHelpSOSEX.TabStop = false;
+            // 
             // labelSOSEXHelp1
             // 
             this.labelSOSEXHelp1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
             this.linkLabelSOSEXHelp3.Text = "http://www.stevestechspot.com/downloads/sosex_64.zip";
             this.linkLabelSOSEXHelp3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_LinkClicked);
             // 
-            // labelSOSEXHelp4
-            // 
-            this.labelSOSEXHelp4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
-            this.labelSOSEXHelp4.AutoSize = true;
-            this.labelSOSEXHelp4.Location = new System.Drawing.Point(25, 63);
-            this.labelSOSEXHelp4.Name = "labelSOSEXHelp4";
-            this.labelSOSEXHelp4.Size = new System.Drawing.Size(348, 13);
-            this.labelSOSEXHelp4.TabIndex = 9;
-            this.labelSOSEXHelp4.Text = "For more information:";
-            // 
             // linkLabelSOSEXHelp5
             // 
             this.linkLabelSOSEXHelp5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
             this.linkLabelSOSEXHelp5.Text = "http://www.stevestechspot.com";
             this.linkLabelSOSEXHelp5.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_LinkClicked);
             // 
+            // labelSOSEXHelp4
+            // 
+            this.labelSOSEXHelp4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
+            this.labelSOSEXHelp4.AutoSize = true;
+            this.labelSOSEXHelp4.Location = new System.Drawing.Point(25, 63);
+            this.labelSOSEXHelp4.Name = "labelSOSEXHelp4";
+            this.labelSOSEXHelp4.Size = new System.Drawing.Size(348, 13);
+            this.labelSOSEXHelp4.TabIndex = 9;
+            this.labelSOSEXHelp4.Text = "For more information:";
+            // 
             // toolStripSettings
             // 
             this.toolStripSettings.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
             // aboutToolStripMenuItem
             // 
             this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
-            this.aboutToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+            this.aboutToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
             this.aboutToolStripMenuItem.Text = "About...";
             this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
             // 
             // helpOnlineToolStripMenuItem
             // 
             this.helpOnlineToolStripMenuItem.Name = "helpOnlineToolStripMenuItem";
-            this.helpOnlineToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+            this.helpOnlineToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
             this.helpOnlineToolStripMenuItem.Text = "Help online...";
             this.helpOnlineToolStripMenuItem.Click += new System.EventHandler(this.helpOnlineToolStripMenuItem_Click);
             // 
             this.timerTypeFilter.Interval = 500;
             this.timerTypeFilter.Tick += new System.EventHandler(this.timerTypeFilter_Tick);
             // 
-            // tableLayoutPanelHelpCDB
-            // 
-            this.tableLayoutPanelHelpCDB.BackColor = System.Drawing.Color.GhostWhite;
-            this.tableLayoutPanelHelpCDB.ColumnCount = 2;
-            this.tableLayoutPanelHelpCDB.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
-            this.tableLayoutPanelHelpCDB.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
-            this.tableLayoutPanelHelpCDB.Controls.Add(this.pictureBoxHelpCDB, 0, 0);
-            this.tableLayoutPanelHelpCDB.Controls.Add(this.labelCDBHelp1, 1, 0);
-            this.tableLayoutPanelHelpCDB.Controls.Add(this.linkLabelCDBHelp2, 1, 1);
-            this.tableLayoutPanelHelpCDB.Controls.Add(this.linkLabelCDBHelp3, 1, 2);
-            this.tableLayoutPanelHelpCDB.Controls.Add(this.linkLabelCDBHelp5, 1, 4);
-            this.tableLayoutPanelHelpCDB.Controls.Add(this.labelCDBHelp4, 1, 3);
-            this.tableLayoutPanelHelpCDB.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.tableLayoutPanelHelpCDB.Location = new System.Drawing.Point(2, 2);
-            this.tableLayoutPanelHelpCDB.Name = "tableLayoutPanelHelpCDB";
-            this.tableLayoutPanelHelpCDB.RowCount = 6;
-            this.tableLayoutPanelHelpCDB.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
-            this.tableLayoutPanelHelpCDB.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
-            this.tableLayoutPanelHelpCDB.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
-            this.tableLayoutPanelHelpCDB.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
-            this.tableLayoutPanelHelpCDB.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
-            this.tableLayoutPanelHelpCDB.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
-            this.tableLayoutPanelHelpCDB.Size = new System.Drawing.Size(376, 100);
-            this.tableLayoutPanelHelpCDB.TabIndex = 10;
-            // 
-            // panelHelpCDB
-            // 
-            this.panelHelpCDB.BackColor = System.Drawing.Color.RoyalBlue;
-            this.panelHelpCDB.Controls.Add(this.tableLayoutPanelHelpCDB);
-            this.panelHelpCDB.Location = new System.Drawing.Point(79, 29);
-            this.panelHelpCDB.Name = "panelHelpCDB";
-            this.panelHelpCDB.Padding = new System.Windows.Forms.Padding(2);
-            this.panelHelpCDB.Size = new System.Drawing.Size(380, 104);
-            this.panelHelpCDB.TabIndex = 11;
-            // 
-            // pictureBoxHelpCDB
-            // 
-            this.pictureBoxHelpCDB.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.pictureBoxHelpCDB.Image = global::SOS.Net.Properties.Resources.help;
-            this.pictureBoxHelpCDB.Location = new System.Drawing.Point(3, 3);
-            this.pictureBoxHelpCDB.Name = "pictureBoxHelpCDB";
-            this.tableLayoutPanelHelpCDB.SetRowSpan(this.pictureBoxHelpCDB, 2);
-            this.pictureBoxHelpCDB.Size = new System.Drawing.Size(16, 34);
-            this.pictureBoxHelpCDB.TabIndex = 0;
-            this.pictureBoxHelpCDB.TabStop = false;
-            // 
-            // panelHelpSOSEX
-            // 
-            this.panelHelpSOSEX.BackColor = System.Drawing.Color.RoyalBlue;
-            this.panelHelpSOSEX.Controls.Add(this.tableLayoutPanelHELPSOSEX);
-            this.panelHelpSOSEX.Location = new System.Drawing.Point(79, 165);
-            this.panelHelpSOSEX.Name = "panelHelpSOSEX";
-            this.panelHelpSOSEX.Padding = new System.Windows.Forms.Padding(2);
-            this.panelHelpSOSEX.Size = new System.Drawing.Size(380, 104);
-            this.panelHelpSOSEX.TabIndex = 12;
-            // 
-            // tableLayoutPanelHELPSOSEX
-            // 
-            this.tableLayoutPanelHELPSOSEX.BackColor = System.Drawing.Color.GhostWhite;
-            this.tableLayoutPanelHELPSOSEX.ColumnCount = 2;
-            this.tableLayoutPanelHELPSOSEX.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
-            this.tableLayoutPanelHELPSOSEX.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
-            this.tableLayoutPanelHELPSOSEX.Controls.Add(this.pictureBoxHelpSOSEX, 0, 0);
-            this.tableLayoutPanelHELPSOSEX.Controls.Add(this.labelSOSEXHelp1, 1, 0);
-            this.tableLayoutPanelHELPSOSEX.Controls.Add(this.linkLabelSOSEXHelp2, 1, 1);
-            this.tableLayoutPanelHELPSOSEX.Controls.Add(this.linkLabelSOSEXHelp3, 1, 2);
-            this.tableLayoutPanelHELPSOSEX.Controls.Add(this.linkLabelSOSEXHelp5, 1, 4);
-            this.tableLayoutPanelHELPSOSEX.Controls.Add(this.labelSOSEXHelp4, 1, 3);
-            this.tableLayoutPanelHELPSOSEX.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.tableLayoutPanelHELPSOSEX.Location = new System.Drawing.Point(2, 2);
-            this.tableLayoutPanelHELPSOSEX.Name = "tableLayoutPanelHELPSOSEX";
-            this.tableLayoutPanelHELPSOSEX.RowCount = 6;
-            this.tableLayoutPanelHELPSOSEX.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
-            this.tableLayoutPanelHELPSOSEX.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
-            this.tableLayoutPanelHELPSOSEX.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
-            this.tableLayoutPanelHELPSOSEX.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
-            this.tableLayoutPanelHELPSOSEX.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
-            this.tableLayoutPanelHELPSOSEX.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
-            this.tableLayoutPanelHELPSOSEX.Size = new System.Drawing.Size(376, 100);
-            this.tableLayoutPanelHELPSOSEX.TabIndex = 10;
-            // 
-            // pictureBoxHelpSOSEX
-            // 
-            this.pictureBoxHelpSOSEX.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.pictureBoxHelpSOSEX.Image = global::SOS.Net.Properties.Resources.help;
-            this.pictureBoxHelpSOSEX.Location = new System.Drawing.Point(3, 3);
-            this.pictureBoxHelpSOSEX.Name = "pictureBoxHelpSOSEX";
-            this.tableLayoutPanelHELPSOSEX.SetRowSpan(this.pictureBoxHelpSOSEX, 2);
-            this.pictureBoxHelpSOSEX.Size = new System.Drawing.Size(16, 34);
-            this.pictureBoxHelpSOSEX.TabIndex = 0;
-            this.pictureBoxHelpSOSEX.TabStop = false;
-            // 
             // FormMain
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
             this.tabPageSettings.ResumeLayout(false);
             this.tableLayoutPanelSettings.ResumeLayout(false);
             this.tableLayoutPanelSettings.PerformLayout();
-            this.toolStripSettings.ResumeLayout(false);
-            this.toolStripSettings.PerformLayout();
+            this.panelHelpCDB.ResumeLayout(false);
             this.tableLayoutPanelHelpCDB.ResumeLayout(false);
             this.tableLayoutPanelHelpCDB.PerformLayout();
-            this.panelHelpCDB.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.pictureBoxHelpCDB)).EndInit();
             this.panelHelpSOSEX.ResumeLayout(false);
             this.tableLayoutPanelHELPSOSEX.ResumeLayout(false);
             this.tableLayoutPanelHELPSOSEX.PerformLayout();
             ((System.ComponentModel.ISupportInitialize)(this.pictureBoxHelpSOSEX)).EndInit();
+            this.toolStripSettings.ResumeLayout(false);
+            this.toolStripSettings.PerformLayout();
             this.ResumeLayout(false);
             this.PerformLayout();
 
 using System;
+using System.Collections;
 using System.Collections.Generic;
 using System.ComponentModel;
 using System.Data;
         {
             new AboutForm().ShowDialog();
         }
+
+        private void listView_ColumnClick(object sender, ColumnClickEventArgs e)
+        {
+            var listview = (ListView)sender;
+
+            // Create an instance of the ColHeader class.
+            ColumnHeader clickedCol = (ColumnHeader)listview.Columns[e.Column];
+
+            // Set the ascending property to sort in the opposite order.
+            if (clickedCol.Tag == null)
+                clickedCol.Tag = true;
+            else
+            {
+                clickedCol.Tag = !((bool)clickedCol.Tag);
+            }
+
+
+            var ascending = (bool)clickedCol.Tag;
+
+            // Get the number of items in the list.
+            int numItems = listview.Items.Count;
+
+            // Turn off display while data is repoplulated.
+            listview.BeginUpdate();
+
+            // Populate an ArrayList with a SortWrapper of each list item.
+            ArrayList SortArray = new ArrayList();
+            for (int i = 0; i < numItems; i++)
+            {
+                SortArray.Add(new SortWrapper(listview.Items[i], e.Column));
+            }
+
+            // Sort the elements in the ArrayList using a new instance of the SortComparer
+            // class. The parameters are the starting index, the length of the range to sort,
+            // and the IComparer implementation to use for comparing elements. Note that
+            // the IComparer implementation (SortComparer) requires the sort
+            // direction for its constructor; true if ascending, othwise false.
+            SortArray.Sort(0, SortArray.Count, new SortWrapper.SortComparer(ascending));
+
+            // Clear the list, and repopulate with the sorted items.
+            listview.Items.Clear();
+            for (int i = 0; i < numItems; i++)
+                listview.Items.Add(((SortWrapper)SortArray[i]).sortItem);
+
+            // Turn display back on.
+            listview.EndUpdate();
+        }
     }
 }

File SOS.Net.csproj

       <DesignTimeSharedInput>True</DesignTimeSharedInput>
       <DependentUpon>Settings.settings</DependentUpon>
     </Compile>
+    <Compile Include="SortWrapper.cs" />
     <Compile Include="SosController.cs" />
   </ItemGroup>
   <ItemGroup>

File SortWrapper.cs

+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using System.Globalization;
+
+namespace SOS.Net
+{
+    public class SortWrapper
+    {
+        internal ListViewItem sortItem;
+        internal int sortColumn;
+
+
+        // A SortWrapper requires the item and the index of the clicked column.
+        public SortWrapper(ListViewItem Item, int iColumn)
+        {
+            sortItem = Item;
+            sortColumn = iColumn;
+        }
+
+        // Text property for getting the text of an item.
+        public string Text
+        {
+            get
+            {
+                return sortItem.SubItems[sortColumn].Text;
+            }
+        }
+
+        // Implementation of the IComparer
+        // interface for sorting ArrayList items.
+        public class SortComparer : IComparer
+        {
+            bool ascending;
+
+            // Constructor requires the sort order;
+            // true if ascending, otherwise descending.
+            public SortComparer(bool asc)
+            {
+                this.ascending = asc;
+            }
+
+            // Implemnentation of the IComparer:Compare
+            // method for comparing two objects.
+            public int Compare(object x, object y)
+            {
+                SortWrapper xItem = (SortWrapper)x;
+                SortWrapper yItem = (SortWrapper)y;
+
+                string xText = xItem.sortItem.SubItems[xItem.sortColumn].Text;
+                string yText = yItem.sortItem.SubItems[yItem.sortColumn].Text;
+
+                int xInt;
+                int yInt;
+                if (int.TryParse(xText, out xInt) && int.TryParse(yText, out yInt))
+                    return xInt.CompareTo(yInt) * (this.ascending ? 1 : -1);
+                
+                return xText.CompareTo(yText) * (this.ascending ? 1 : -1);
+            }
+        }
+    }
+}