Ejemplo n.º 1
0
        void ReadDefaultLayout()
        {
            FileInfo fi = AbnakiFile.CombinedFilePath(Preference.ApplicationDefaultDir(),
                                                      Preference.ClassPrefsFileOnly <MainWindow>(layoutFileQualifier));

            InvokeRestoringPanelLayout(fi);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// In a profile subdirectory
        /// </summary>
        /// <typeparam name="T">type of most-responsible consumer class</typeparam>
        /// <param name="qualifier">can distinguish or clarify a special purpose file; be sure it's valid within filenames</param>
        /// <returns></returns>
        public static FileInfo ClassPrefsFile <T>(string qualifier = null)
        {
            string filename = ClassPrefsFileOnly <T>(qualifier);

            return(AbnakiFile.CombinedFilePath(PrefsDir(), filename));
        }