C# Class WikiFunctions.Profiles.AWBProfilesForm

Inheritance: System.Windows.Forms.Form
Exibir arquivo Open project: reedy/AutoWikiBrowser

Protected Properties

Property Type Description
BtnEdit System.Windows.Forms.Button
CurrentSettingsProfile string
addNewAccountToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
btnAdd System.Windows.Forms.Button
btnClose System.Windows.Forms.Button
btnDelete System.Windows.Forms.Button
btnLogin System.Windows.Forms.Button
changePasswordToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
colAccountName System.Windows.Forms.ColumnHeader
colID System.Windows.Forms.ColumnHeader
colNotes System.Windows.Forms.ColumnHeader
colPasswordSaved System.Windows.Forms.ColumnHeader
colProfileSettings System.Windows.Forms.ColumnHeader
deleteThisAccountToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
editThisAccountToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
loginAsThisAccountToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
lvAccounts WikiFunctions.Controls.NoFlickerExtendedListView
mnuAccounts System.Windows.Forms.ContextMenuStrip
toolStripSeparator1 System.Windows.Forms.ToolStripSeparator
toolStripSeparator2 System.Windows.Forms.ToolStripSeparator

Public Methods

Method Description
AWBProfilesForm ( Session session ) : System
Login ( string profileIdOrName ) : void

Publically accessible login, to allow calling of login via AWB startup parameters

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

lvAccounts_DoubleClick ( object sender, EventArgs e ) : void

Private Methods

Method Description
AWBProfiles_Load ( object sender, EventArgs e ) : void
Add ( ) : void
BtnEdit_Click ( object sender, EventArgs e ) : void
Delete ( ) : void
Edit ( ) : void
InitializeComponent ( ) : void

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

LoadProfiles ( ) : void

Loads all the profiles onto the form

Login ( ) : void

Login based on selected item on the form

PerformLogin ( string password ) : void
PerformLogin ( string username, string password ) : void
UpdateUI ( ) : void
UsernameOrPasswordChanged ( object sender, EventArgs e ) : void
addNewAccountToolStripMenuItem_Click ( object sender, EventArgs e ) : void
btnAdd_Click ( object sender, EventArgs e ) : void
btnDelete_Click ( object sender, EventArgs e ) : void
btnExit_Click ( object sender, EventArgs e ) : void
btnLogin_Click ( object sender, EventArgs e ) : void
btnQuickLogin_Click ( object sender, EventArgs e ) : void
changePasswordToolStripMenuItem_Click ( object sender, EventArgs e ) : void
chkSaveProfile_CheckedChanged ( object sender, EventArgs e ) : void
deleteThisSavedAccountToolStripMenuItem_Click ( object sender, EventArgs e ) : void
editThisAccountToolStripMenuItem_Click ( object sender, EventArgs e ) : void
lvAccounts_SelectedIndexChanged ( object sender, EventArgs e ) : void
txtPassword_KeyUp ( object sender, KeyEventArgs e ) : void

Method Details

AWBProfilesForm() public method

public AWBProfilesForm ( Session session ) : System
session Session
return System

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

Login() public method

Publically accessible login, to allow calling of login via AWB startup parameters
public Login ( string profileIdOrName ) : void
profileIdOrName string Profile ID to login to
return void

lvAccounts_DoubleClick() protected method

protected lvAccounts_DoubleClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

BtnEdit protected_oe property

protected System.Windows.Forms.Button BtnEdit
return System.Windows.Forms.Button

CurrentSettingsProfile protected_oe property

protected string CurrentSettingsProfile
return string

addNewAccountToolStripMenuItem protected_oe property

protected System.Windows.Forms.ToolStripMenuItem addNewAccountToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

btnAdd protected_oe property

protected System.Windows.Forms.Button btnAdd
return System.Windows.Forms.Button

btnClose protected_oe property

protected System.Windows.Forms.Button btnClose
return System.Windows.Forms.Button

btnDelete protected_oe property

protected System.Windows.Forms.Button btnDelete
return System.Windows.Forms.Button

btnLogin protected_oe property

protected System.Windows.Forms.Button btnLogin
return System.Windows.Forms.Button

changePasswordToolStripMenuItem protected_oe property

protected System.Windows.Forms.ToolStripMenuItem changePasswordToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

colAccountName protected_oe property

protected System.Windows.Forms.ColumnHeader colAccountName
return System.Windows.Forms.ColumnHeader

colID protected_oe property

protected System.Windows.Forms.ColumnHeader colID
return System.Windows.Forms.ColumnHeader

colNotes protected_oe property

protected System.Windows.Forms.ColumnHeader colNotes
return System.Windows.Forms.ColumnHeader

colPasswordSaved protected_oe property

protected System.Windows.Forms.ColumnHeader colPasswordSaved
return System.Windows.Forms.ColumnHeader

colProfileSettings protected_oe property

protected System.Windows.Forms.ColumnHeader colProfileSettings
return System.Windows.Forms.ColumnHeader

deleteThisAccountToolStripMenuItem protected_oe property

protected System.Windows.Forms.ToolStripMenuItem deleteThisAccountToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

editThisAccountToolStripMenuItem protected_oe property

protected System.Windows.Forms.ToolStripMenuItem editThisAccountToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

loginAsThisAccountToolStripMenuItem protected_oe property

protected System.Windows.Forms.ToolStripMenuItem loginAsThisAccountToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

lvAccounts protected_oe property

protected WikiFunctions.Controls.NoFlickerExtendedListView lvAccounts
return WikiFunctions.Controls.NoFlickerExtendedListView

mnuAccounts protected_oe property

protected System.Windows.Forms.ContextMenuStrip mnuAccounts
return System.Windows.Forms.ContextMenuStrip

toolStripSeparator1 protected_oe property

protected System.Windows.Forms.ToolStripSeparator toolStripSeparator1
return System.Windows.Forms.ToolStripSeparator

toolStripSeparator2 protected_oe property

protected System.Windows.Forms.ToolStripSeparator toolStripSeparator2
return System.Windows.Forms.ToolStripSeparator