private void btnAgregar_Click(object sender, EventArgs e)
        {
            var addBonoForm = new ComprarBonoForm();

            addBonoForm.afiliado        = _afiliado;
            addBonoForm.OnBonosUpdated += new EventHandler <BonoUpdatedEventArgs>(pedirBonoOnBonoUpdated);
            ViewsManager.LoadModal(addBonoForm);
        }
        private void btnAgregar_Click(object sender, EventArgs e)
        {
            try
            {
                if (_afiliado == null)
                {
                    throw new Exception("Error de afiliado!");
                }
            }
            catch (System.Exception excep)
            {
                MessageBox.Show(excep.Message);
                return;
            }
            var addBonoForm = new ComprarBonoForm();

            addBonoForm._afiliado       = _afiliado;
            addBonoForm.OnBonosUpdated += new EventHandler <BonoUpdatedEventArgs>(pedirBonoOnBonoUpdated);
            ViewsManager.LoadModal(addBonoForm);
        }