private void StopBTN_Click(object sender, EventArgs e)
{
try
{
if (m_server != null)
{
m_server.Stop();
m_server = null;
}
StopBTN.Enabled = false;
}
catch (Exception exception)
{
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
}
}
}