private void frmMain_Load(object sender, EventArgs e)
        {
            CompareResultsPreferences prefs = GetPreferences();

            txtFolder1.Text = prefs.DefaultLeftPath;
            txtFolder2.Text = prefs.DefaultRightPath;
        }
        private CompareResultsPreferences GetPreferences()
        {
            RegManager regManager           = RegManager.getInstance();
            string     columns              = regManager.getColumnPreferences();
            CompareResultsPreferences prefs = new CompareResultsPreferences();
            string finalCols = columns != string.Empty ? columns : "0,0,0,0,0,0";

            prefs.DefaultLeftPath  = regManager.getDefaultLeftDir();
            prefs.DefaultRightPath = regManager.getDefaultRightDir();
            prefs.Columns          = ColumnItemHelper.GetColumns(finalCols);
            return(prefs);
        }