// ======== On Switched To ========= // public override void OnSwitchedTo() { MainTabbedPage.OnAnySwitchedTo(this); MainTabbedPage.theModelEntryPage.SyncNoisePicker(noisePicker); if (!Exec.IsExecuting() && // we could be waiting on a continuation! StartAction would switch us right back to this page even if it does not start a thread! currentModelInfo != MainTabbedPage.theModelEntryPage.modelInfo) // forkWorker: we can compute the chart concurrently { MainTabbedPage.theModelEntryPage.StartAction(forkWorker: true, switchToChart: false, switchToOutput: false, autoContinue: false); } KChartHandler.ChartUpdate(null); }
public override void OnSwitchedTo() { MainTabbedPage.OnAnySwitchedTo(this); if (currentModelInfo != MainTabbedPage.theModelEntryPage.modelInfo) { OutputClear(); MainTabbedPage.theModelEntryPage.StartAction(forkWorker: true, switchToChart: false, switchToOutput: false, autoContinue: true); } else { currentOutputAction.action(); } }
public override void OnSwitchedTo() { MainTabbedPage.OnAnySwitchedTo(this); listView.ItemsSource = docs; }
public override void OnSwitchedTo() { MainTabbedPage.OnAnySwitchedTo(this); SetTitle(this.title); Gui.gui.GraphUpdate(); }
//private static Dictionary<string, Dictionary<string, bool>> visibilityCache = // new Dictionary<string, Dictionary<string, bool>>(); //public Dictionary<string,bool> Visibility() { // string theModel = modelInfo.title; // lock (visibilityCache) { if (!visibilityCache.ContainsKey(theModel)) visibilityCache[theModel] = new Dictionary<string, bool>(); } // return visibilityCache[theModel]; //} public override void OnSwitchedTo() { MainTabbedPage.OnAnySwitchedTo(this); SyncNoisePicker(noisePicker); }
public override void OnSwitchedTo() { MainTabbedPage.OnAnySwitchedTo(this); RegenerateList(); }