public static Stars FromBaseObject(BaseObject baseObj)
                    {
                        if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                        {
                            return(null);
                        }
                        Stars obj = baseObj as  Stars;

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

                        return(obj);
                    }