title: Where to use enum and how to simulate the messageboxICon enum
body: <p>I want to know why and where should we use the enumerators,i have a set of images i want to assign numbers to each and put it in a enum and i want to set the number instead of
  entire filename when i want to set the image ,just like MessageBoxIcon enum</p>
  
  <p>Thanks</p>