public async void OpenAdminDialogMethod()
        {
            var view = new AdminDialog();

            await DialogHost.Show(view, "RootDialog");

            Messenger.Default.Send(new NotificationMessage <FolderMessage>(new FolderMessage(), "Root Folder Updated"));
        }
Beispiel #2
0
        private static void Dialog(Player sender)
        {
            if (!sender.AccountData.HavePerm("admin.cmds.dialog"))
            {
                return;
            }

            AdminDialog.ShowAdminDialog(sender);
        }
Beispiel #3
0
        private async void DisplayUserQueueInfoDialog()
        {
            ContentDialogResult meetingInfoDialog = await AdminDialog.ShowAsync();

            if (meetingInfoDialog == ContentDialogResult.Primary)
            {
                var result = await client.GetUserAsync(queueAccept.Split(':')[0]);

                string command = "queue_accept:" + queueAccept + ":" + result.Avatar.Length;
                await rtc.SendCommandAsync(command);

                await rtc.SendImage(result.Avatar);
            }
            else
            {
            }
        }