C# Class Tibialyzer.MainForm

Show file Open project: Mytherin/Tibialyzer Class Usage Examples

Public Properties

Property Type Description
fileWriter StreamWriter
mainForm MainForm
prevent_settings_update bool
skip_hunt_refresh bool
startup bool
switch_hunt bool

Public Methods

Method Description
ChangeLanguage ( string language ) : void
ClearWarning ( string message ) : void
DisplayWarning ( string message ) : void
ExitWithError ( string title, string text, bool exit = true ) : void
GetCustomCommands ( ) : IEnumerable
InitializeHuntDisplay ( int activeHuntIndex ) : void
MainForm ( ) : System
OpenUrl ( string str ) : void
SetScanningImage ( string image, string text, bool enabled ) : void
UpdateLogDisplay ( ) : void
draggable_MouseDown ( object sender, MouseEventArgs e ) : void
getSelectedHunt ( ) : Hunt
initializeSettings ( ) : void
makeDraggable ( Control controls ) : void
refreshHuntLog ( Hunt h ) : void
refreshHunts ( ) : void
refreshScreenshots ( ) : void
switchTab ( int tab ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

WndProc ( Message &m ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

InitializeTabs ( ) : void
MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
MainForm_Load ( object sender, EventArgs e ) : void
ReleaseCapture ( ) : bool
SendMessage ( IntPtr hWnd, int Msg, int wParam, int lParam ) : int
aboutButton_Click ( object sender, EventArgs e ) : void
advancedButton_Click ( object sender, EventArgs e ) : void
autoHotkeyButton_Click ( object sender, MouseEventArgs e ) : void
browseButton_Click ( object sender, MouseEventArgs e ) : void
closeButton_Click ( object sender, EventArgs e ) : void
closeButton_MouseEnter ( object sender, EventArgs e ) : void
closeButton_MouseLeave ( object sender, EventArgs e ) : void
databaseButton_Click ( object sender, MouseEventArgs e ) : void
generalButton_Click ( object sender, MouseEventArgs e ) : void
helpButton_Click ( object sender, MouseEventArgs e ) : void
hudButton_Click ( object sender, EventArgs e ) : void
huntButton_Click ( object sender, MouseEventArgs e ) : void
logButton_Click ( object sender, MouseEventArgs e ) : void
mainButton_Click ( object sender, MouseEventArgs e ) : void
minimizeButton_Click ( object sender, EventArgs e ) : void
minimizeButton_MouseEnter ( object sender, EventArgs e ) : void
minimizeButton_MouseLeave ( object sender, EventArgs e ) : void
minimizeIcon_MouseDoubleClick ( object sender, MouseEventArgs e ) : void
notificationButton_Click ( object sender, MouseEventArgs e ) : void
notifyIcon1_MouseDoubleClick ( object sender, MouseEventArgs e ) : void
outfiterButton_Click ( object sender, EventArgs e ) : void
popupButton_Click ( object sender, MouseEventArgs e ) : void
screenshotButton_Click ( object sender, MouseEventArgs e ) : void
summaryButton_Click ( object sender, EventArgs e ) : void
taskButton_Click ( object sender, EventArgs e ) : void
upgradeButton_Click ( object sender, EventArgs e ) : void
warningImageBox_MouseDown ( object sender, MouseEventArgs e ) : void

Method Details

ChangeLanguage() public method

public ChangeLanguage ( string language ) : void
language string
return void

ClearWarning() public method

public ClearWarning ( string message ) : void
message string
return void

DisplayWarning() public method

public DisplayWarning ( string message ) : void
message string
return void

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

ExitWithError() public static method

public static ExitWithError ( string title, string text, bool exit = true ) : void
title string
text string
exit bool
return void

GetCustomCommands() public method

public GetCustomCommands ( ) : IEnumerable
return IEnumerable

InitializeHuntDisplay() public method

public InitializeHuntDisplay ( int activeHuntIndex ) : void
activeHuntIndex int
return void

MainForm() public method

public MainForm ( ) : System
return System

OpenUrl() public static method

public static OpenUrl ( string str ) : void
str string
return void

SetScanningImage() public method

public SetScanningImage ( string image, string text, bool enabled ) : void
image string
text string
enabled bool
return void

UpdateLogDisplay() public method

public UpdateLogDisplay ( ) : void
return void

WndProc() protected method

protected WndProc ( Message &m ) : void
m Message
return void

draggable_MouseDown() public method

public draggable_MouseDown ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

getSelectedHunt() public method

public getSelectedHunt ( ) : Hunt
return Hunt

initializeSettings() public method

public initializeSettings ( ) : void
return void

makeDraggable() public method

public makeDraggable ( Control controls ) : void
controls Control
return void

refreshHuntLog() public method

public refreshHuntLog ( Hunt h ) : void
h Hunt
return void

refreshHunts() public method

public refreshHunts ( ) : void
return void

refreshScreenshots() public method

public refreshScreenshots ( ) : void
return void

switchTab() public method

public switchTab ( int tab ) : void
tab int
return void

Property Details

fileWriter public static property

public static StreamWriter fileWriter
return StreamWriter

mainForm public static property

public static MainForm mainForm
return MainForm

prevent_settings_update public static property

public static bool prevent_settings_update
return bool

skip_hunt_refresh public property

public bool skip_hunt_refresh
return bool

startup public static property

public static bool startup
return bool

switch_hunt public property

public bool switch_hunt
return bool