private void DemoDialog_FormClosing(object sender, FormClosingEventArgs e)
 {
     netManager.DisConnect();
 }