示例#1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     if (fromMainModel == null)
     {
         return;
     }
     fromMainModel.checkShowPoint();
 }
示例#2
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            runTime    += BeiLv;
            label5.Text = "歷史時間:" + XwDataUtils.currentTimeToSe(runTime, "yyyy-MM-dd HH:mm:ss");
            if (locaViewFrom.locaModel != null)
            {
                locaViewFrom.locaModel.setRunTimeDate(runTime + 1);
            }
            if (fromMainModel == null)
            {
                return;
            }
            fromMainModel.checkShowPoint();

            fromMainModel.setRunTimeDate(runTime + 1);
        }