public void LaunchRDPSession(string machineName, string userName, string password, int width, int height) { if (InvokeRequired) { Invoke((Action)(() => LaunchRDPSession(machineName, userName, password, width, height))); } var remoteDesktopForm = new frmRemoteDesktopViewer(machineName, userName, password, width, height, false, false); remoteDesktopForm.Show(); }
public void LaunchRDPSession(string machineName, string userName, string password, int width, int height) { var remoteDesktopForm = new frmRemoteDesktopViewer(machineName, userName, password, width, height, false, false); remoteDesktopForm.Show(); }