public void Add(ref Category c)
 {
 }
 public void Delete(Category c)
 {
 }
 public FCategoryDialog(ref Category c)
 {
     InitializeComponent();
     category = c;
     setCategoryToGUI();
 }