public void UpdateParticipants(string defaultName, ParticipantSettings settings)
        {
            this.settings = settings;

            this.CurrentParticipants = settings.Participants.Count;

            this.defaultName = defaultName;

            this.Title = defaultName;

            UpdateButtons();
        }
        public RaiseLowerHand(uint userid, string defaultName, ParticipantSettings settings)
        {
            InitializeComponent();

            this.settings = settings;
            this.userid   = userid;

            this.CurrentParticipants = settings.Participants.Count;

            this.defaultName = defaultName;

            UpdateButtons();
        }
        public joinmeeting()
        {
            InitializeComponent();

            var settingstrings = File.ReadAllText($"{AppDomain.CurrentDomain.BaseDirectory}\\Particpants.json");

            this.settings = JsonConvert.DeserializeObject <ParticipantSettings>(settingstrings);

            foreach (var name in this.settings.Participants)
            {
                var control = new UIParticipantListItem(name.Name);

                control.RemoveClicked += Control_RemoveClicked;

                this.participantStack.Children.Add(control);
            }

            feedback.Content = "Settings Loaded";

            RegisterCallBack();;
        }