Beispiel #1
0
 protected override global::System.Collections.Generic.IList <DslDesign::ModelingToolboxItem> CreateToolboxItems()
 {
     global::AgileFx.AgileModeler.AgileModelerToolboxHelper toolboxHelper = new global::AgileFx.AgileModeler.AgileModelerToolboxHelper(this);
     try
     {
         return(toolboxHelper.CreateToolboxItems());
     }
     catch (global::System.Exception e)
     {
         global::System.Diagnostics.Debug.Fail("Exception thrown during toolbox item creation.  This may result in Package Load Failure:\r\n\r\n" + e);
         throw;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Returns any dynamic tool items for the designer
 /// </summary>
 /// <remarks>The default implementation is to return the list of items from the generated toolbox helper.</remarks>
 protected override global::System.Collections.Generic.IList <DslDesign::ModelingToolboxItem> CreateToolboxItems()
 {
     try
     {
         Debug.Assert(toolboxHelper != null, "Toolbox helper is not initialized");
         return(toolboxHelper.CreateToolboxItems());
     }
     catch (global::System.Exception e)
     {
         global::System.Diagnostics.Debug.Fail("Exception thrown during toolbox item creation.  This may result in Package Load Failure:\r\n\r\n" + e);
         throw;
     }
 }