void OnSelectFlags(object o, EventArgs args) { using (FlagsSelectorDialog dialog = new FlagsSelectorDialog(null, propType, UIntValue, property)) { if (dialog.Run() == (int)ResponseType.Ok) { Value = Enum.ToObject(propType, dialog.Value); } } }
void OnSelectFlags (object o, EventArgs args) { using (FlagsSelectorDialog dialog = new FlagsSelectorDialog (null, propType, UIntValue, property)) { if (dialog.Run () == (int) ResponseType.Ok) { Value = Enum.ToObject (propType, dialog.Value); } } }