Esempio n. 1
0
                public static ScreenPolygon FromBaseObject(BaseObject baseObj)
                {
                    if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                    {
                        return(null);
                    }
                    ScreenPolygon obj = baseObj as  ScreenPolygon;

                    if (object.Equals(obj, null))
                    {
                        obj = new ScreenPolygon(CreatedWhenConstruct.CWC_NotToCreate);
                        obj.BindNativeObject(baseObj.NativeObject, "CScreenPolygon");
                        obj.IncreaseCast();
                    }

                    return(obj);
                }
Esempio n. 2
0
                public BaseObject Create()
                {
                    ScreenPolygon emptyInstance = new ScreenPolygon(CreatedWhenConstruct.CWC_NotToCreate);

                    return(emptyInstance);
                }