Example #1
0
        private void DataGridTareas_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            int selectedRow = DataGridTareas.SelectedIndex;

            if (selectedRow >= 0)
            {
                DialogoTarea dialogoTarea = new DialogoTarea(logicaNegocio, selectedRow, (Tarea)DataGridTareas.SelectedItem);
                dialogoTarea.Show();
            }
        }
Example #2
0
        private void MenuItemNuevo_Click(object sender, RoutedEventArgs e)
        {
            DialogoTarea dialogoTarea = new DialogoTarea(logicaNegocio);

            dialogoTarea.Show();
        }