C# Class GmailNotifier.MainForm

Inheritance: System.Windows.Forms.Form
Mostra file Open project: kwerty/Gmail-Notifier Class Usage Examples

Public Methods

Method Description
MainForm ( ) : System
MessageReceived ( object sender, GmailNotifier.MessageEventArgs e ) : void
RefreshAndRestartTimer ( ) : void
RestartTimer ( ) : void
TimerElapsed ( object sender, System e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddJumpList ( ) : void
ChangeUser ( ) : void
DestroyIcon ( IntPtr handle ) : bool
DestroySettingsForm ( ) : void
DetectBaseUrl ( ) : void
DisableButtons ( ) : void
EnableAppropriateButtons ( ) : void
InitializeComponent ( ) : void

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

Logout ( ) : void
MainForm_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
MainForm_Shown ( object sender, EventArgs e ) : void
NewMailSound ( ) : void
NextButtonClicked ( object sender, ThumbnailButtonClickedEventArgs e ) : void
OpenButtonClicked ( object sender, ThumbnailButtonClickedEventArgs e ) : void
PrevButtonClicked ( object sender, ThumbnailButtonClickedEventArgs e ) : void
RefreshMail ( ) : void
RemoveJumpList ( ) : void
RemoveThumbAndButtons ( ) : void
SetForegroundWindow ( IntPtr hwnd ) : int
Setup ( ) : void
SetupThumbAndButtons ( ) : void
ShowLoginForm ( ) : void
ShowProgress ( ) : void
ShowSettingsForm ( ) : void
ShowUnreadIcon ( int unreadEmails ) : void
ShowWindow ( IntPtr hWnd, int nCmdShow ) : bool
StealFocus ( IntPtr handle ) : void
UpdateIcon ( ) : 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

public MainForm ( ) : System
return System

MessageReceived() public method

public MessageReceived ( object sender, GmailNotifier.MessageEventArgs e ) : void
sender object
e GmailNotifier.MessageEventArgs
return void

RefreshAndRestartTimer() public method

public RefreshAndRestartTimer ( ) : void
return void

RestartTimer() public method

public RestartTimer ( ) : void
return void

TimerElapsed() public method

public TimerElapsed ( object sender, System e ) : void
sender object
e System
return void