示例#1
0
 public frmVisitsDetails()
 {
     InitializeComponent();
     ValidationMethods.OptimizeDataGridView(dataGridView1);
     this.dataGridView1.DataSource      = getVisits();
     dataGridView1.ColumnHeadersVisible = true;
     ShowNumberOfVisits();
 }
示例#2
0
 public frmPayments()
 {
     InitializeComponent();
     ValidationMethods.OptimizeDataGridView(dataGridView1);
     dataGridView1.DataSource = getPayments();
 }