private void timer1_Tick(object sender, EventArgs e) { if (fromMainModel == null) { return; } fromMainModel.checkShowPoint(); }
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); }