コード例 #1
0
        public static void Load()
        {
            var Serializer = new XmlSerializer(typeof(BlueInksSettings));

            using (var fStream = new FileStream(BlueInksSettings.FileName, FileMode.Open))
                BlueInksSettings.Instance = ((BlueInksSettings)Serializer.Deserialize(fStream));
        }
コード例 #2
0
 public static void Default()
 {
     BlueInksSettings.Instance = new BlueInksSettings();
     BlueInksSettings.Instance.SetDefaultValues();
 }