private void AddDrawingExecute()
 {
     try
     {
         if (SelectedTemplate != null)
         {
             SelectedTemplate.AddDrawingToDatabase();
             StatusMessage = "Added drawing " + SelectedTemplate.Drawing.Number + " to the database.";
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }