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