public OverlayInfo()
 {
     object[] o = { Properties.Settings.Default.APIKey };
     InitializeComponent();
     obj         = new GW2Object();
     apikey      = obj.AddComponent <APIKeyInfoComponent>(o);
     permissions = obj.AddComponent <APIKeyPermissionsComponent>(null);
     accountInfo = obj.AddComponent <AccountComponent>(null);
     obj.AddComponent <ItemTradeComponent>(null);
     loadItemProjects();
 }
Ejemplo n.º 2
0
 internal virtual void attachOn(GW2Object attachTo)
 {
     attachedOn = attachTo;
     attachedOn.componentMap.Add(getType(), this);
 }