Ejemplo n.º 1
0
 private void AccionEdit(Producto p)
 {
     if (p != null)
     {
         AddEditProducto page = new AddEditProducto(this, p);
         page.ShowDialog();
     }
     else
     {
         mensajeBox = (string)Application.Current.FindResource("seleccionarProducto");
         MessageBox.Show(mensajeBox, cabeceraInfo, MessageBoxButton.OK, MessageBoxImage.Information);
     }
 }
Ejemplo n.º 2
0
        private void AccionAdd()
        {
            AddEditProducto page = new AddEditProducto(this);

            page.ShowDialog();
        }