Ejemplo n.º 1
0
 public void AddRule(string name, string description, string type, string source)
 {
     try
     {
         EmptyRule.CreateNewAndSaveToDB(name, description, type, source);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
         return;
     }
     MessageBox.Show("Successfully added");
 }