示例#1
0
        public void Listar()
        {
            PlanLogic pl = new PlanLogic();

            try
            {
                this.dgvPlanes.DataSource = pl.GetAllWithEspecialidadDescription();
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
                this.Close();
            }
        }