private void OnCategoriaButtonClick(object sender, RoutedEventArgs e) { InitPickerBoxDialog(); if (listaCategorias != null) { customDialog.SelectedIndex = listaCategorias.IndexOf(categoriaElegida); } customDialog.Show(); }
private void ApplicationBarIconButton_Click(object sender, EventArgs e) { var dialog = new PickerBoxDialog(); // Assign data source and title dialog.ItemSource = EnumHelper.GetEnumValues <TileType>(); dialog.Title = "ACTION TYPE"; dialog.Closed += dialog_Closed; dialog.Show(); }
private void ApplicationBarIconButton_Click_1(object sender, System.EventArgs e) { dialog.Show(); }
/// <summary> /// User click on this langcode button, show the selector. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void cmbLangCode_Click(object sender, RoutedEventArgs e) { langCodeDlg.Show(); }