private void appBarAddTab_Click(object sender, RoutedEventArgs e) { appBar_Bottom.IsOpen = false; appBar_Top.IsOpen = false; AddTabFlyout time = new AddTabFlyout(viewModel, async bln => { if (bln == false) { MessageDialog dialog = new MessageDialog("タブ名が競合しています", "入力エラー"); await dialog.ShowAsync(); } }); time.Show(); }
private void appBarAddTab_Click(object sender, RoutedEventArgs e) { appBar_Bottom.IsOpen = false; appBar_Top.IsOpen = false; AddTabFlyout time = new AddTabFlyout(viewModel,async bln => { if (bln == false) { MessageDialog dialog = new MessageDialog("タブ名が競合しています","入力エラー"); await dialog.ShowAsync(); } }); time.Show(); }