Example #1
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            labelClientCount.Text = ClientInfoCommon.ReadClientCount().ToString();

            //ListViewUpdateData(this.listView1, ClientInfoCommon.ReadClientList());
            //List<MeterInfo1> tmpMeterInfo1List = new List<MeterInfo1>();
            //ClientInfoCommon.ReadMeterList(ref tmpMeterInfo1List);
            //ListView2UpdateData(this.listView2, tmpMeterInfo1List);

            label4.Text = ClientInfoCommon.ReadMsgCount().ToString();           // 更新内部缓存数量
        }