Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
MSDotNETCSEmbed.MSDotNETCSEmbedForm Class Reference

Summary description for Form1. More...

Collaboration diagram for MSDotNETCSEmbed.MSDotNETCSEmbedForm:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MSDotNETCSEmbedForm ()

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used.

Private Member Functions

void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor.
void MSDotNETCSEmbedForm_Load (object sender, System.EventArgs e)
void MSDotNETCSEmbedForm_Resize (object sender, System.EventArgs e)
void urlBar_KeyPress (object sender, System.Windows.Forms.KeyPressEventArgs e)
void goButton_Click (object sender, System.EventArgs e)

Static Private Member Functions

static void Main ()
 The main entry point for the application.

Private Attributes

System.ComponentModel.Container components = null
 Required designer variable.
Mozilla.Embedding.Gecko gecko1
System.Windows.Forms.Button goButton
System.Windows.Forms.TextBox urlBar

Detailed Description

Summary description for Form1.

Definition at line 47 of file MSDotNETCSEmbedForm.cs.


Constructor & Destructor Documentation

Definition at line 57 of file MSDotNETCSEmbedForm.cs.

              {
                     //
                     // Required for Windows Form Designer support
                     //
                     InitializeComponent();

                     //
                     // TODO: Add any constructor code after InitializeComponent call
                     //
              }

Here is the call graph for this function:


Member Function Documentation

override void MSDotNETCSEmbed.MSDotNETCSEmbedForm.Dispose ( bool  disposing) [inline, protected]

Clean up any resources being used.

Definition at line 72 of file MSDotNETCSEmbedForm.cs.

              {
                     if( disposing )
                     {
                            if (components != null) 
                            {
                                   components.Dispose();
                            }
                     }
                     base.Dispose( disposing );
              }
void MSDotNETCSEmbed.MSDotNETCSEmbedForm.goButton_Click ( object  sender,
System.EventArgs  e 
) [inline, private]

Definition at line 175 of file MSDotNETCSEmbedForm.cs.

              {
                     gecko1.OpenURL(urlBar.Text);
              }

Here is the caller graph for this function:

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

Definition at line 89 of file MSDotNETCSEmbedForm.cs.

              {
                     this.gecko1 = new Mozilla.Embedding.Gecko();
                     this.goButton = new System.Windows.Forms.Button();
                     this.urlBar = new System.Windows.Forms.TextBox();
                     this.SuspendLayout();
                     // 
                     // gecko1
                     // 
                     this.gecko1.Location = new System.Drawing.Point(0, 40);
                     this.gecko1.Name = "gecko1";
                     this.gecko1.Size = new System.Drawing.Size(664, 392);
                     this.gecko1.TabIndex = 0;
                     // 
                     // goButton
                     // 
                     this.goButton.Location = new System.Drawing.Point(600, 8);
                     this.goButton.Name = "goButton";
                     this.goButton.Size = new System.Drawing.Size(56, 24);
                     this.goButton.TabIndex = 1;
                     this.goButton.Text = "Go";
                     this.goButton.Click += new System.EventHandler(this.goButton_Click);
                     // 
                     // urlBar
                     // 
                     this.urlBar.Location = new System.Drawing.Point(8, 10);
                     this.urlBar.Name = "urlBar";
                     this.urlBar.Size = new System.Drawing.Size(576, 20);
                     this.urlBar.TabIndex = 2;
                     this.urlBar.Text = "";
                     this.urlBar.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.urlBar_KeyPress);
                     // 
                     // MSDotNETCSEmbedForm
                     // 
                     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
                     this.ClientSize = new System.Drawing.Size(664, 429);
                     this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                                                                                this.urlBar,
                                                                                                                                this.goButton,
                                                                                                                                this.gecko1});
                     this.Name = "MSDotNETCSEmbedForm";
                     this.Text = "MSDotNETCSEmbed [UNSUPPORTED]";
                     this.Resize += new System.EventHandler(this.MSDotNETCSEmbedForm_Resize);
                     this.Load += new System.EventHandler(this.MSDotNETCSEmbedForm_Load);
                     this.ResumeLayout(false);

              }

Here is the call graph for this function:

Here is the caller graph for this function:

static void MSDotNETCSEmbed.MSDotNETCSEmbedForm.Main ( ) [inline, static, private]

The main entry point for the application.

Definition at line 142 of file MSDotNETCSEmbedForm.cs.

              {
                     Application.Run(new MSDotNETCSEmbedForm());

                     // terminate gecko
                     Gecko.TermEmbedding();
              }

Here is the call graph for this function:

void MSDotNETCSEmbed.MSDotNETCSEmbedForm.MSDotNETCSEmbedForm_Load ( object  sender,
System.EventArgs  e 
) [inline, private]

Definition at line 150 of file MSDotNETCSEmbedForm.cs.

              {
                     urlBar.Text = "http://www.mozilla.org";
                     gecko1.OpenURL(urlBar.Text);
                     this.Text = "MSDotNETCSEmbed [UNSUPPORTED] - " + urlBar.Text;
              }
void MSDotNETCSEmbed.MSDotNETCSEmbedForm.MSDotNETCSEmbedForm_Resize ( object  sender,
System.EventArgs  e 
) [inline, private]

Definition at line 157 of file MSDotNETCSEmbedForm.cs.

              {
                     gecko1.Size =
                            new Size(ClientSize.Width,
                                           ClientSize.Height - gecko1.Location.Y);
              }
void MSDotNETCSEmbed.MSDotNETCSEmbedForm.urlBar_KeyPress ( object  sender,
System.Windows.Forms.KeyPressEventArgs  e 
) [inline, private]

Definition at line 164 of file MSDotNETCSEmbedForm.cs.

              {
                     switch (e.KeyChar)
                     {
                            case '\r':
                                   gecko1.OpenURL(urlBar.Text);
                                   e.Handled = true;
                                   break;
                     }
              }

Here is the caller graph for this function:


Member Data Documentation

System.ComponentModel.Container MSDotNETCSEmbed.MSDotNETCSEmbedForm.components = null [private]

Required designer variable.

Definition at line 52 of file MSDotNETCSEmbedForm.cs.

Definition at line 53 of file MSDotNETCSEmbedForm.cs.

System.Windows.Forms.Button MSDotNETCSEmbed.MSDotNETCSEmbedForm.goButton [private]

Definition at line 54 of file MSDotNETCSEmbedForm.cs.

System.Windows.Forms.TextBox MSDotNETCSEmbed.MSDotNETCSEmbedForm.urlBar [private]

Definition at line 55 of file MSDotNETCSEmbedForm.cs.


The documentation for this class was generated from the following file: