public static DrawStatisticsTheme FromBaseObject(BaseObject baseObj) { if (baseObj == null || baseObj.NativeObject == IntPtr.Zero) { return(null); } DrawStatisticsTheme obj = baseObj as DrawStatisticsTheme; if (object.Equals(obj, null)) { obj = new DrawStatisticsTheme(CreatedWhenConstruct.CWC_NotToCreate); obj.BindNativeObject(baseObj.NativeObject, "CDrawStatisticsTheme"); obj.IncreaseCast(); } return(obj); }
public BaseObject Create() { DrawStatisticsTheme emptyInstance = new DrawStatisticsTheme(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }