private void InitializeDefaultParams()
        {
            m_doParams = new DownloadOptionsParams();
            m_doParams.createDesktopShortcut   = true;
            m_doParams.createStartMenuShortcut = true;
            m_doParams.programLocation         = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles) + "\\Facebook Message Analyzer\\";
            m_doParams.dataLocation            = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\Solace Inc.\\Facebook Message Analyzer\\";

            m_mdParams = new ModuleDownloadParams();
            // TODO: May need to change the md param instance variable
            m_mdParams.selectedModules = new List <Type>();
        }
        private void savePreviousState()
        {
            switch (m_state)
            {
            case InstallerScreenState.DownloadOptions:
                m_doParams = ((DownloadOptionsControl)m_preferenceControl).getParams();
                break;

            case InstallerScreenState.ModuleOptions:
                m_mdParams = ((ModuleDownloadControl)m_preferenceControl).getParams();
                break;
            }
        }
 public static void setState(ModuleDownloadParams values)
 {
     // TODO: Use types to extrapolate file names and binary arrays from resources
 }
Exemple #4
0
 public ModuleDownloadControl(ModuleDownloadParams initialValues)
 {
     InitializeComponent();
 }