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