C# Class Quickstarts.HistoricalAccess.Client.MainForm

The main form for a simple Quickstart Client application.
Inheritance: System.Windows.Forms.Form
显示文件 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
MainForm ( ApplicationConfiguration configuration ) : System

Creates a form which uses the specified client configuration.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Aggregates_SelectVariableMI_Click ( object sender, EventArgs e ) : void

Selects the variable to display.

Help_ContentsMI_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

MainForm ( ) : System

Creates an empty form.

MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Cleans up when the main form closes.

Server_ConnectComplete ( object sender, EventArgs e ) : void

Updates the application after connecting to or disconnecting from the server.

Server_ConnectMI_Click ( object sender, EventArgs e ) : void

Connects to a server.

Server_DisconnectMI_Click ( object sender, EventArgs e ) : void

Disconnects from the current session.

Server_DiscoverMI_Click ( object sender, EventArgs e ) : void

Prompts the user to choose a server on another host.

Server_ReconnectComplete ( object sender, EventArgs e ) : void

Updates the application after reconnecting to the server.

ViewHistoricalConfigurationMI_Click ( object sender, EventArgs e ) : void
eToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

MainForm() public method

Creates a form which uses the specified client configuration.
public MainForm ( ApplicationConfiguration configuration ) : System
configuration ApplicationConfiguration The configuration to use.
return System