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

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

                    return(obj);
                }
                public BaseObject Create()
                {
                    EffectTreeviewEvent emptyInstance = new EffectTreeviewEvent(CreatedWhenConstruct.CWC_NotToCreate);

                    return(emptyInstance);
                }