public Form1() { InitializeComponent(); server_Linker = new NetworkSendData(); System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false; server_Linker.connect_To_Server(); }
private void button9_Click(object sender, EventArgs e) { log += DateTime.Now.ToString() + ":Try Reconnecting To The Server\n"; server_Linker.disconnect_To_Server(); server_Linker = new NetworkSendData(); server_Linker.connect_To_Server(); log += DateTime.Now.ToString() + ":Connecting To The Server Successfully\n"; }
public void init_NSD(NetworkSendData nsd) { server_Linker = nsd; }