private void AddList_ItemClick(object sender, DevExpress.Xpf.Bars.ItemClickEventArgs e) { if (hasChanged == "Yes") { MessageBox.Show("SE GUARDARON LOS CAMBIOS EN EL INSUMO '" + insumo.descripcion + "'"); } if (route == "InsumosFirst") { GestionInsumos vista = new GestionInsumos(); vista.Show(); } this.Close(); }
/// <summary> /// Manda llamar ventana de registro de Insumos. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnInsumos_ItemClick(object sender, DevExpress.Xpf.Bars.ItemClickEventArgs e) { GestionInsumos vista = new GestionInsumos(); vista.Show(); }