C# 클래스 FormExample.Form1

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: EldinZenderink/SimpleIRCLib

공개 프로퍼티들

프로퍼티 타입 설명
debugForm DebugForm
defaultDownloadDirectory string
irc SimpleIRCLib.SimpleIRC

공개 메소드들

메소드 설명
Form1 ( ) : System

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
AppendChatMessageToChatOutput ( string user, string message ) : void

Appends chat message received from irc server to richtextbox output box. Invoke is needed because this method executes on a different thread!

ConnectButton_Click ( object sender, EventArgs e ) : void

Gets the values from the input fields and starts the client

DisconnectButton_Click ( object sender, EventArgs e ) : void

Disconnects the irc client, if connected

DownloadsList_MouseDoubleClick ( object sender, MouseEventArgs e ) : void

Opens the folder where the selected file is being downloaded to

Form1_FormClosing ( object sender, FormClosingEventArgs e ) : void

Stops the irc client on form close, otherwise it would keep running in the background!!!

InitializeComponent ( ) : void

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

MessageInput_KeyDown ( object sender, KeyEventArgs e ) : void

Sends a message to the irc server on enter press, if connected

OnDownloadEvent ( ) : void

Gets the information about the download

SendMessageButton_Click ( object sender, EventArgs e ) : void

Sends a message to the irc server on button click, if connected

SetDownloadFolderButton_Click ( object sender, EventArgs e ) : void

Set download directory to a custom directory

ShowDebugButton_Click ( object sender, EventArgs e ) : void

Opens the debug form

updateDownloadList ( string toUpdate, string fileName ) : void

Updates the DownloadList object on the main form while the download is going, invoke is necesary because method is being called from a different Thread!

updateProgressBar ( int progress ) : void

Updates the progress bar

메소드 상세

Dispose() 보호된 메소드

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

Form1() 공개 메소드

public Form1 ( ) : System
리턴 System

프로퍼티 상세

debugForm 공개적으로 프로퍼티

public DebugForm,FormExample debugForm
리턴 DebugForm

defaultDownloadDirectory 공개적으로 프로퍼티

public string defaultDownloadDirectory
리턴 string

irc 공개적으로 프로퍼티

public SimpleIRC,SimpleIRCLib irc
리턴 SimpleIRCLib.SimpleIRC