Click here to Skip to main content
15,886,689 members
Articles / Programming Languages / Visual Basic

Ping Monitor

Rate me:
Please Sign up or sign in to vote.
4.90/5 (24 votes)
20 Jul 20075 min read 205.9K   10.4K   102  
Yet another Ping Monitor utility written in VB.NET on .NET Framework 2.0
namespace PingMonitor
{
  partial class frmMonitoringPage
  {
    /// <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();
      this.mniConfig = new System.Windows.Forms.ToolStripMenuItem();
      this.timRefresh = new System.Windows.Forms.Timer(this.components);
      this.dgMonitor = new System.Windows.Forms.DataGridView();
      this.MenuStrip1 = new System.Windows.Forms.MenuStrip();
      ((System.ComponentModel.ISupportInitialize)(this.dgMonitor)).BeginInit();
      this.MenuStrip1.SuspendLayout();
      this.SuspendLayout();
      // 
      // mniConfig
      // 
      this.mniConfig.Name = "mniConfig";
      this.mniConfig.Size = new System.Drawing.Size(66, 20);
      this.mniConfig.Text = "Configure";
      this.mniConfig.Click += new System.EventHandler(this.mniConfig_Click);
      // 
      // timRefresh
      // 
      this.timRefresh.Interval = 15000;
      this.timRefresh.Tick += new System.EventHandler(this.timRefresh_Tick);
      // 
      // dgMonitor
      // 
      this.dgMonitor.AllowUserToAddRows = false;
      this.dgMonitor.AllowUserToDeleteRows = false;
      this.dgMonitor.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.dgMonitor.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
      this.dgMonitor.Location = new System.Drawing.Point(-1, 28);
      this.dgMonitor.Name = "dgMonitor";
      this.dgMonitor.ReadOnly = true;
      this.dgMonitor.Size = new System.Drawing.Size(358, 470);
      this.dgMonitor.TabIndex = 2;
      this.dgMonitor.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dgMonitor_CellFormatting);
      // 
      // MenuStrip1
      // 
      this.MenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mniConfig});
      this.MenuStrip1.Location = new System.Drawing.Point(0, 0);
      this.MenuStrip1.Name = "MenuStrip1";
      this.MenuStrip1.Size = new System.Drawing.Size(357, 24);
      this.MenuStrip1.TabIndex = 3;
      this.MenuStrip1.Text = "MenuStrip1";
      // 
      // frmMonitoringPage
      // 
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
      this.ClientSize = new System.Drawing.Size(357, 498);
      this.Controls.Add(this.dgMonitor);
      this.Controls.Add(this.MenuStrip1);
      this.Name = "frmMonitoringPage";
      this.Text = "Ping Monitor";
      this.Load += new System.EventHandler(this.frmMonitoringPage_Load);
      ((System.ComponentModel.ISupportInitialize)(this.dgMonitor)).EndInit();
      this.MenuStrip1.ResumeLayout(false);
      this.MenuStrip1.PerformLayout();
      this.ResumeLayout(false);
      this.PerformLayout();

    }

    #endregion

    internal System.Windows.Forms.ToolStripMenuItem mniConfig;
    internal System.Windows.Forms.Timer timRefresh;
    internal System.Windows.Forms.DataGridView dgMonitor;
    internal System.Windows.Forms.MenuStrip MenuStrip1;
  }
}

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Technical Lead
Italy Italy
I was born in 1970.

My first computer experience dates back to early 80s, with a Sinclair ZX81.
From that time on, as many "friends" say, my IT-illness has increased year by year.

I graduated in Electronic Engineering and earned the following Microsoft certifications:
MCP, MCT, MCDBA, MCSD, MCAD, MCSD for .NET (early achiever).

I worked in IT as a developer, a teacher, a consultant, a technical writer, a technical leader.
IT knowledge applied to real life is my primary interest and focus.

Comments and Discussions