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