public void NavigatedTo(NavigationEventArgs e) { ExcuteTimerCust.Stop(); modelIndex = 4; FuncDoAction = new DeleFunc2(FuncAction); FuncRefershOffLine = sign => OffConnect = (bool)sign; LoadDataList(); }
public void NavigatedTo(NavigationEventArgs e) { IsFirst = true; LoadState(e.Parameter); FuncDoAction = new DeleFunc2(FuncAction); modelIndex = 2; ExcuteTimer.Tick += new EventHandler(MasterDetail_Tick); FuncRefershOffLine = sign => OffConnect = (bool)sign; }
public void NavigatedTo(NavigationEventArgs e) { LoadState(e.Parameter); modelIndex = 3; FuncDoAction = new DeleFunc2(FuncAction); ExcuteTimer.Tick += new EventHandler(ItemDetail_Tick); FuncRefershOffLine = sign => OffConnect = (bool)sign; LoadDataList(); }
public void NavigatedTo(NavigationEventArgs e) { IsFirst = true; LoadState(e.Parameter); modelIndex = 1; ExcuteTimer.Tick += new EventHandler(MasterItems_Tick); FuncDoAction = new DeleFunc2(FuncAction); FuncUpdateStatus += RefreshMasterItems; FuncRefershOffLine = sign => OffConnect = (bool)sign; if (socketClient != null) { OffConnect = socketClient.OffLine; //开启自动刷新 AutoRenovate = true; //连接之后就读取一次 ExcuteTimerCust_Tick(this, null); } else { OffConnect = true; } }