예제 #1
0
 private void OnCategoriaButtonClick(object sender, RoutedEventArgs e)
 {
     InitPickerBoxDialog();
     if (listaCategorias != null)
     {
         customDialog.SelectedIndex = listaCategorias.IndexOf(categoriaElegida);
     }
     customDialog.Show();
 }
예제 #2
0
        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();
        }
예제 #3
0
 private void ApplicationBarIconButton_Click_1(object sender, System.EventArgs e)
 {
     dialog.Show();
 }
예제 #4
0
 /// <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();
 }