Ejemplo n.º 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;
        }
Ejemplo n.º 2
0
 static void Save()
 {
     InitalizedObjectEditorHelper.SetOption(typeof(TaintOptions), DefaultColors);
 }