C# Class FECipherVit.Connection

Inheritance: System.Windows.Forms.Form
Show file Open project: sdercolin/FECipherVit

Public Properties

Property Type Description
OwnerShown bool
connected bool
labelConnectStatus System.Windows.Forms.Label
textBox_Port System.Windows.Forms.TextBox
textBox_UserName System.Windows.Forms.TextBox

Public Methods

Method Description
Connection ( FECipherVit _Owner ) : System
Disconnect ( ) : void
Disconnect ( Socket communicateSocket ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Connection_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
Connection_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

buttonConnect_Click ( object sender, EventArgs e ) : void
buttonWaitConnect_Click ( object sender, EventArgs e ) : void
button_Confirm_Click ( object sender, EventArgs e ) : void
button_Disconnect_Click ( object sender, EventArgs e ) : void
textBoxIP_TextChanged ( object sender, EventArgs e ) : void
textBox_UserName_TextChanged ( object sender, EventArgs e ) : void
中继模式ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
使用服务器IPToolStripMenuItem_Click ( object sender, EventArgs e ) : void
查找空闲端口toolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

Connection() public method

public Connection ( FECipherVit _Owner ) : System
_Owner FECipherVit
return System

Disconnect() public method

public Disconnect ( ) : void
return void

Disconnect() public method

public Disconnect ( Socket communicateSocket ) : void
communicateSocket Socket
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

Property Details

OwnerShown public property

public bool OwnerShown
return bool

connected public property

public bool connected
return bool

labelConnectStatus public property

public System.Windows.Forms.Label labelConnectStatus
return System.Windows.Forms.Label

textBox_Port public property

public System.Windows.Forms.TextBox textBox_Port
return System.Windows.Forms.TextBox

textBox_UserName public property

public System.Windows.Forms.TextBox textBox_UserName
return System.Windows.Forms.TextBox