/// <summary> /// Pins the video of the current selected participant in the video gallery. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void buttonPinVideo_Click(object sender, EventArgs e) { try { participant.BeginPinVideo(PinVideoCallback, null); } catch (Exception ex) { MessageBox.Show(ex.Message); } }