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); }
public BaseObject Create() { LatticeTextBox emptyInstance = new LatticeTextBox(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }