Пример #1
0
                    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);
                    }
Пример #2
0
                    public BaseObject Create()
                    {
                        PopUpMenuEvent emptyInstance = new PopUpMenuEvent(CreatedWhenConstruct.CWC_NotToCreate);

                        return(emptyInstance);
                    }