private void btnConnect_Click(object sender, EventArgs e) { RemoteConnect remoteConnect = new RemoteConnect(); Boolean status = remoteConnect.StartRemoteAssistance(txtComputerName.Text.ToString(), true, false); if (status == false) { System.Windows.Forms.MessageBox.Show("Unable to Connect to the Remote Machine.Please try Again later."); } }
private void BtnInvite_Click(object sender, EventArgs e) { RemoteConnect remoteConnect = new RemoteConnect(); Boolean status; status = remoteConnect.StartRemoteAssistance(txtComputerName.Text.ToString(), false, true); if (status == false) { System.Windows.Forms.MessageBox.Show("Unable to Establish Connection, Please try Again later."); } }