private CloseChannel_Click ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
private void CloseChannel_Click(object sender, EventArgs e)
{
if (client != null)
{
if(client.State == CommunicationState.Opened)
client.Close();
}
}