C# Class Eryan.UI.ClientWindow

The Eryan Client window, handles the adding and removing of bot windows/loading scripts/etc.
Inheritance: System.Utils
Afficher le fichier Open project: emist/Eryan Class Usage Examples

Méthodes publiques

Свойство Type Description
running System.Boolean
tabControl1 System.Windows.Forms.TabControl
tabPage1 System.Windows.Forms.TabPage

Méthodes publiques

Méthode Description
ClientWindow ( ) : System

Create the ClientWindow intance

addControlToTab ( System.Utils form ) : void

Thread-safe way to add a WindowHandler to its controltab

createBot ( ) : Bot

Thread-safe Bot creator

drawString ( String str, Font f, Point loc, bool antialiasing ) : void
getBots ( ) : List

Getter for the Bot list.

Méthodes protégées

Méthode Description
OnMove ( EventArgs e ) : void

Updates the location of the drawable area

OnResize ( EventArgs e ) : void

Updates the location of the drawable area

OnVisibleChanged ( EventArgs e ) : void

Updates the location of the drawable area

Private Methods

Méthode Description
ClientWindow_FormClosed ( Object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
ClientWindow_FormClosing ( Object sender, FormClosingEventArgs e ) : void
ClientWindow_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void
LogToggle_Click ( object sender, EventArgs e ) : void
loadScriptBtn_Click ( object sender, EventArgs e ) : void
mouseInput_Click ( object sender, System e ) : void

Handles the input button

panel1_Paint ( object sender, PaintEventArgs e ) : void
runButton_Click ( object sender, System e ) : void

Handles the Run/Stop button

stopScriptBtn_Click ( object sender, System e ) : void
tabPage1_Click ( object sender, EventArgs e ) : void

Method Details

ClientWindow() public méthode

Create the ClientWindow intance
public ClientWindow ( ) : System
Résultat System

OnMove() protected méthode

Updates the location of the drawable area
protected OnMove ( EventArgs e ) : void
e System.EventArgs EventArgs for the event
Résultat void

OnResize() protected méthode

Updates the location of the drawable area
protected OnResize ( EventArgs e ) : void
e System.EventArgs EventArgs for the event
Résultat void

OnVisibleChanged() protected méthode

Updates the location of the drawable area
protected OnVisibleChanged ( EventArgs e ) : void
e System.EventArgs EventArgs for the event
Résultat void

addControlToTab() public méthode

Thread-safe way to add a WindowHandler to its controltab
public addControlToTab ( System.Utils form ) : void
form System.Utils The instance of WindowHandler to add
Résultat void

createBot() public méthode

Thread-safe Bot creator
public createBot ( ) : Bot
Résultat Bot

drawString() public méthode

public drawString ( String str, Font f, Point loc, bool antialiasing ) : void
str String
f System.Drawing.Font
loc Point
antialiasing bool
Résultat void

getBots() public méthode

Getter for the Bot list.
public getBots ( ) : List
Résultat List

Property Details

running public_oe property

public Boolean,System running
Résultat System.Boolean

tabControl1 public_oe property

public TabControl,System.Windows.Forms tabControl1
Résultat System.Windows.Forms.TabControl

tabPage1 public_oe property

public TabPage,System.Windows.Forms tabPage1
Résultat System.Windows.Forms.TabPage