/** * Disconnect from FreeRDP server, stop thread */ public void Disconnect() { rdp.Disconnect(); procRunning = false; /* Prepare for next call */ thread = new Thread(() => ThreadProc(rdp)); }
private void disconnectToolStripMenuItem1_Click(object sender, EventArgs e) { _rdp.Disconnect(); }
/** * Disconnect from FreeRDP server, stop thread */ public void Disconnect() { rdp.Disconnect(); procRunning = false; thread = new Thread(() => ThreadProc(rdp)); }