private void altaProveedores(object sender, RoutedEventArgs e)
        {
            var window = new proveedoresAlta {
                Owner = this
            };

            window.Show();
        }
Beispiel #2
0
        private void openModificar(object sender, RoutedEventArgs e)
        {
            var             selectedItem = (DataRowView)lista.SelectedItem;
            var             idToModify   = selectedItem["id_proveedor"].ToString();
            proveedoresAlta prov         = new proveedoresAlta(idToModify);

            prov.Show();
        }