private void btnMas_Click(object sender, RoutedEventArgs e)
        {
            WinNewInsumo nInsumo = new WinNewInsumo();

            System.Windows.Forms.Integration.ElementHost.EnableModelessKeyboardInterop(nInsumo);
            nInsumo.ShowDialog();
            fillDataGrid();
        }
        private void dgInsumos_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            _Insumos     row       = dgInsumos.SelectedItem as _Insumos;
            WinNewInsumo modificar = new WinNewInsumo();

            modificar.mod = true;
            //modificar.comboBoxInsumos.IsEnabled= false;
            //modificar.cmxPresentacion.IsEnabled = false;
            modificar.id = row.idAlimentos;
            modificar.comboBoxInsumos.Text = row.Nombre;
            modificar.cmxPresentacion.Text = row.Presentacion;
            modificar.txtCantida.Text      = Convert.ToString(row.Existencia);
            modificar.cbxRangoFecha.Text   = row.Rango;
            modificar.txtAni.Text          = Convert.ToString(row.AnioCaducidad);
            modificar.idPresentacion       = row.Presentacion_idPresentacion;
            System.Windows.Forms.Integration.ElementHost.EnableModelessKeyboardInterop(modificar);
            modificar.ShowDialog();
            fillDataGrid();
        }