コード例 #1
0
        /// <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);
        }
コード例 #2
0
        /// <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
            });
        }