示例#1
0
                    public static RichTextRender FromBaseObject(BaseObject baseObj)
                    {
                        if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                        {
                            return(null);
                        }
                        RichTextRender obj = baseObj as  RichTextRender;

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

                        return(obj);
                    }