Esempio n. 1
0
 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);
         }
     }
 }
Esempio n. 2
0
		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);
				}
			}
		}