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