private void Form1_Load(object sender, EventArgs e) { timer1.Start(); dgvList.DataSource = SampleBusiness.GetAll(); }
private void timer1_Tick(object sender, EventArgs e) { dgvList.DataSource = SampleBusiness.GetAll(); }