Exemple #1
0
 private void addButton_Click(object sender, EventArgs e)
 {
     controller.addButtonClick();
     //this.contractorTableAdapter.Fill(DAO.getInstance().selectTable("Contractor"));
     dataGridViewContractor.DataSource = DAO.getInstance().selectTable("Contractor");
 }
Exemple #2
0
 private void addButton_Click(object sender, EventArgs e)
 {
     controller.addButtonClick();
     dataGridViewContractor.DataSource = DAO.getInstance().selectTable("Contractor");
     dataGridViewContractor.ClearSelection();
 }