示例#1
0
        public VisitorsOverview()
        {
            InitializeComponent();

            msh         = new MySqlhelper();
            label7.Text = msh.GetNumberOfVisitors().ToString();
            label8.Text = msh.GetVisitorsInTheEvent().ToString();
            timer1.Start();
        }
示例#2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     label7.Text = msh.GetNumberOfVisitors().ToString();
     label8.Text = msh.GetVisitorsInTheEvent().ToString();
 }