private void btnSendRequestToShareScreen_Click(object sender, EventArgs e) { ics.StartScreenSharing(iConfServerDotNet.DesktopSharingType.Full); string invitationMessage = "N/A"; if (Helper.InputBox("Invitation Message", "Enter Invitation message below", ref invitationMessage) == System.Windows.Forms.DialogResult.OK) { } else { invitationMessage = "N/A"; } ics.InviteClientToViewScreen(-1, invitationMessage); }