예제 #1
0
        void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            var dlg = new WordsLangDetailDlg(Window.GetWindow(this), vm, vm.NewLangWord());

            dlg.ShowDialog();
        }
예제 #2
0
 async void ToolbarItemAdd_Clicked(object sender, EventArgs e)
 {
     await Shell.Current.GoToModalAsync(nameof(WordsLangDetailPage), new WordsLangDetailViewModel(vm, vm.NewLangWord()));
 }