Esempio n. 1
0
        private async void Bt_AddNew(object sender, RoutedEventArgs e)
        {
            var locationDialog = new ContentDialogWithText();
            await locationDialog.ShowAsync();

            if (saidYes == true)
            {
                saidYes = false;
                Frame.Navigate(typeof(RoomCreater));
            }
        }
        private async void Button_Tapped_1(object sender, TappedRoutedEventArgs e)
        {
            Localizer.saidYes = false;
            var locationDialog = new ContentDialogWithText();
            await locationDialog.ShowAsync();

            if (Localizer.saidYes == true)
            {
                room.Rename(RoomCreater.ActualRoomName);
                Localizer.saidYes = false;
                Frame.Navigate(typeof(RoomSettings), room);
            }
        }