private void Window_Loaded(object sender, RoutedEventArgs e) { try { IrAdvanced.WriteInfo("节目页面加载"); NeedCloseLoginWindow = true; IrAdvanced.LoadItemByDefault = false; IrAdvanced.WindowSet(this); TimeSpan stime, etime; //正常节目 var normalitemindex = IrAdvanced.GetFirstItemId(IrAdvanced.ObjJsonItems, out stime, out etime); IrControlBaseJun.OpenNewProgram(normalitemindex, stime, etime, "9"); IrAdvanced.WriteInfo("节目跳转:" + normalitemindex); } catch (Exception ex) { ex.ToSaveLog("MainWindows.Load:"); } }