public FormDescInstancesPair FindDesc(FormDescBase searchDesc)
 {
     if (searchDesc == null)
     {
         return(null);
     }
     foreach (var x in this)
     {
         if (x?.desc == searchDesc)
         {
             return(x);
         }
     }
     return(null);
 }
 public FormInstanceListOfSame(FormInstanceBase parentForm, FormDescBase workingDesc)
 {
     this.parentForm  = parentForm;
     this.workingDesc = workingDesc;
 }
 public FormDescInstancesPair(FormDescBase desc, FormInstanceListOfSame instances)
 {
     this.desc      = desc;
     this.instances = instances;
 }
 public FormInstanceBase(FormInstanceListOfSame parentInstance, FormDescBase desc)
 {
     this.parentInstance = parentInstance;
     this.desc           = desc;
 }