示例#1
0
        static void Load()
        {
            object ob = InitalizedObjectEditorHelper.GetOption(typeof(TaintOptions));

            if (ob == null)
            {
                return;
            }
            var target = ob as Dictionary <DataEditor.Contract.TaintState, System.Drawing.Color>;

            if (target == null)
            {
                return;
            }
            DefaultColors = target;
        }
示例#2
0
 static void Save()
 {
     InitalizedObjectEditorHelper.SetOption(typeof(TaintOptions), DefaultColors);
 }