public VisitorsOverview() { InitializeComponent(); msh = new MySqlhelper(); label7.Text = msh.GetNumberOfVisitors().ToString(); label8.Text = msh.GetVisitorsInTheEvent().ToString(); timer1.Start(); }
private void timer1_Tick(object sender, EventArgs e) { label7.Text = msh.GetNumberOfVisitors().ToString(); label8.Text = msh.GetVisitorsInTheEvent().ToString(); }