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

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

                    return(obj);
                }
예제 #2
0
                public BaseObject Create()
                {
                    LatticeTextBox emptyInstance = new LatticeTextBox(CreatedWhenConstruct.CWC_NotToCreate);

                    return(emptyInstance);
                }