Class WebMonitorMain

Summary description for WebMonitorMain.

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ScrollableControl
          System.Windows.Forms.ContainerControl
            System.Windows.Forms.Form
              <b>Westwind.WebMonitor.WebMonitorMain</b>
public class WebMonitorMain : Form

Class Members

MemberDescription

Constructor

Full Form startup

LoadSiteView

Loads up the tree view with the sites from the SiteList object. This is so we can get a clean display.

public bool LoadSiteView();

NotifyHideForm

public void NotifyHideForm();

NotifyShowForm

public void NotifyShowForm();

OnWebMonitorMessage

Event Handler for the the Web Monitor fired events (from the SiteList). Intercepts the event and passes it to the UpdateSite method using a Thread Safe Invoke call.

public void OnWebMonitorMessage( WebMonitorSite Site,
    string Message,
    EventMessageId Id );

RemoveSite

public void RemoveSite();

RemoveSiteNode

Removes a site from the nodelist

public void RemoveSiteNode( string Id );

ShutDown

public void ShutDown();

SiteListLoad

High Level Startup routine that loads the configuration file, sets up the tree view and then starts the threads for checking request. This method is high-level and delegates

public void SiteListLoad();

StartSiteChecks

Starts the threads and starts checking sites

public void StartSiteChecks();

ToolClickHandler

Uses the Text of the button as the Event Argument

public void ToolClickHandler( object Sender,
    EventArgs e );

UpdateSite

Updates the WebMonitor Main Form Tree View by adding a new node and keeping the local tree at 4 nodes, scrolling the tree nodes.

public void UpdateSite( WebMonitorSite Site,
    string lcStatusText,
    EventMessageId lnId );

UpdateSiteNode

Updates an individual entry in the treeview

public void UpdateSiteNode( WebMonitorSite Site );

Addins

SiteList

The list of sites that are being monitored. This is the underlying non-UI worker object. This list will be active and running.

Requirements

Namespace: Westwind.WebMonitor
Assembly: webmonitorui.dll

© West Wind Technologies, 2018 • Updated: 04/30/05
Comment or report problem with topic