C# 클래스 WhatsappClient.Form_Login

The whatsapp login form, select an account from the list or create one here.
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: sambulosenda/whatsapp-desktop-client

공개 프로퍼티들

프로퍼티 타입 설명
Database SQLiteDatabase

공개 메소드들

메소드 설명
Form_Login ( ) : System

Class Constructor

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
Button_AddAccount_Click ( object sender, EventArgs e ) : void

Event: 'Add account' button has been clicked, resize form

Button_AddThisAccount_Click ( object sender, EventArgs e ) : void

Event: The 'Add this account' button has been clicked.

Button_Login_Click ( object sender, EventArgs e ) : void

Event: The login button has been clicked

CollapseForm ( ) : void

Collapses the size of the form so the 'Add account' groupbox is no longer visible.

ComboBox_DeviceOS_SelectedIndexChanged ( object sender, EventArgs e ) : void

Event: The selected item in de DeviceOS combo box changed

ExpandForm ( ) : void

Expands the size of the form so the 'Add account' groupbox is visible.

Form_Login_Load ( object sender, EventArgs e ) : void

Event: Called when the form has loaded.

InitializeComponent ( ) : void

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

SetControlsEnabled ( bool trueFalse ) : void

Sets the Enabled property of all controls on the form.

login ( ) : void

Handles logging in, supposed to run in a seperated thread

updateAccounts ( ) : void

Reloads all accounts from the database

verifyAccount ( ) : void

Verifies the new account that is about to be added, this method is supposed to run in a seperated thread.

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

Form_Login() 공개 메소드

Class Constructor
public Form_Login ( ) : System
리턴 System

프로퍼티 상세

Database 공개적으로 프로퍼티

An instance of the SQLiteDatabase class, represents a connection to a SQL Lite database.
public SQLiteDatabase Database
리턴 SQLiteDatabase