public Container(DesignComplexType p, OpenSource.UPnP.UPnPComplexType[] typeList)
 {
     // This call is required by the Windows.Forms Form Designer.
     InitializeComponent();
     ComplexTypeList = typeList;
     parent          = p;
     // TODO: Add any initialization after the InitializeComponent call
 }
 public Container(DesignComplexType p, OpenSource.UPnP.UPnPComplexType[] typeList)
 {
     // This call is required by the Windows.Forms Form Designer.
     InitializeComponent();
     ComplexTypeList = typeList;
     parent = p;
     // TODO: Add any initialization after the InitializeComponent call
 }
 private void addComplexTypeMenuItem_Click(object sender, System.EventArgs e)
 {
     DesignComplexType dct = new DesignComplexType(upnpService.GetComplexTypeList());
     if(dct.ShowDialog() == DialogResult.OK)
     {
         if(dct.ComplexType != null)
         {
             upnpService.AddComplexType(dct.ComplexType);
             this.updateUserInterface();
         }
     }
 }