private void btnJoin_Click(object sender, EventArgs e) { var user = txtUser.Text; var meetingId = txtMeetingID.Text; var valid = ValidateJoinInfo(); lblValidateMessage.Visible = !valid; if (!valid) { return; } pnlJoin.Enabled = false; iconfRTC.JoinMeeting(user, meetingId); }
private void btnJoinMeeting_Click(object sender, RoutedEventArgs e) { rtcControl.JoinMeeting(model.UserName, model.MeetingID); }