示例#1
0
        /// <summary>
        /// Implement Command that Load the templates list
        /// </summary>
        void ExecuteReloadTemplatesCommand(object parameter)
        {
            switch (SelectedTab)
            {
            case 0:
                SelectedCategory      = null;
                _SelectedCategory     = null;
                _SelectedTemplateFile = null;
                SelectedTemplateFile  = null;
                TemplateFiles         = SettingsBLL.GetTemplateFileList();
                break;

            case 1:
                SelectedApplication  = null;
                SelectedSnapshot     = null;
                _SelectedApplication = null;
                _SelectedSnapshot    = null;
                TemplateFiles        = SettingsBLL.GetTemplateFileListPortfolio();
                break;

            default:
                throw new ArgumentOutOfRangeException();
            }
        }
示例#2
0
 /// <summary>
 /// Implement Command that Load the templates list of Portfolio
 /// </summary>
 void ExecuteLoadTemplatesPortfolioCommand(object parameter)
 {
     TemplateFiles = SettingsBLL.GetTemplateFileListPortfolio();
 }