private void Tipos_CadastrosIHM_Load(object sender, EventArgs e) { bdsTIPOS_CADASTROS = Reflection_Tabela.LL_DataGrid_Genérico("Código, Descrição", this.GetType().Name.Substring(3, this.GetType().Name.Length - 3)); dgvTIPOS_CADASTROS.DataSource = bdsTIPOS_CADASTROS; }
private void FrequentadoresIHM_Load(object sender, EventArgs e) { bdsFREQUENTADORES = Reflection_Tabela.LL_DataGrid_Genérico("Código, Nome", "Frequentadores"); dgvFREQUENTADORES.DataSource = bdsFREQUENTADORES; }