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

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

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

                        return(emptyInstance);
                    }