/// <summary> /// Changes the layout to the specified index in the project /// </summary> /// <param name="nIdx"></param> protected void ChangeExportLayoutIndex(int nIdx) { // based on the currently loaded project get the layout based on the index var zLayout = ProjectManager.Instance.LoadedProject.Layout[nIdx]; CurrentDeck.SetAndLoadLayout(zLayout ?? CurrentDeck.CardLayout, true); }
/// <summary> /// Changes the layout to the specified index in the project /// </summary> /// <param name="nIdx"></param> protected void ChangeExportLayoutIndex(int nIdx) { // based on the currently loaded project get the layout based on the index var zLayout = ProjectManager.Instance.LoadedProject.Layout[nIdx]; CurrentDeck.SetAndLoadLayout(zLayout ?? CurrentDeck.CardLayout, true, new ProgressReporterProxy() { ProgressIndex = ProgressReporter.GetProgressIndex(ProgressName.REFERENCE_DATA), ProgressReporter = ProgressReporter, ProxyOwnsReporter = false }); }