private void btnOcorrencias_Click(object sender, EventArgs e) { FunOcorrenciaView obj = new FunOcorrenciaView(numReg, res); obj.Show(); this.Hide(); }
public static void PreencherTabela(FunOcorrenciaView tela, int numRegistro) { OcorrenciaDAO obj = new OcorrenciaDAO(); DataSet ds = obj.VerificaPontos(numRegistro); tela.tabela.DataSource = ds; tela.tabela.DataMember = ds.Tables[0].TableName; }