public HGadget(HGadget gadParent) { int hgad = CreateGadget(gadParent.hgad, gcSimple, new GADGETPROC(this.RawGadgetProc), 0); if (hgad != 0) { this.hgad = hgad; } else { uint error = Common.GetLastError(); throw new System.SystemException("Unable to create new HGadget"); } }
public Visual(HGadget gadParent, int idClass) { CommonBuild(Common.CastGadgetDirect(gadParent.hgad), idClass); }
public Visual(HGadget gadParent) { CommonBuild(Common.CastGadgetDirect(gadParent.hgad), idVisual); }