Exemple #1
0
        private void BtnMotivo_Click(object sender, EventArgs e)
        {
            var fNuevoMotivo = new _00018_MotivoBaja_ABM(TipoOperacion.Nuevo);

            fNuevoMotivo.ShowDialog();

            if (!fNuevoMotivo.RealizoAlgunaOperacion)
            {
                return;
            }
        }
        private void BtnMotivoBaja_Click(object sender, EventArgs e)
        {
            var fNuevoMotivoBaja = new _00018_MotivoBaja_ABM(TipoOperacion.Nuevo);

            fNuevoMotivoBaja.ShowDialog();

            if (!fNuevoMotivoBaja.RealizoAlgunaOperacion)
            {
                return;
            }

            CargarComboBox(cmbMotivoBaja, _motivoBajaServicio
                           .Obtener(string.Empty), "Descripcion", "Id");
        }