public ExControl(IExBaseUIEle oParent, string sClassName, string sTitle, int x, int y, int nWidth, int nHeight, int dwStyle = -1, int dwStyleEx = -1, int dwTextFormat = -1, int nID = 0, int hTheme = 0, ExObjProcDelegate pfnObjProc = null) { m_hObj = ExAPI.Ex_ObjCreateEx(dwStyleEx, sClassName, sTitle, dwStyle, x, y, nWidth, nHeight, oParent.Handle, nID, dwTextFormat, 0, (IntPtr)hTheme, pfnObjProc); if (m_hObj != IntPtr.Zero) { } else { throw new ExException(ExStatus.HANDLE_INVALID, "创建控件失败"); } }
public TestCustomCtrl(IExBaseUIEle pOwner, string sText, int x, int y, int nWidth, int nHeight) : base(pOwner, "TestCustomCtrl", sText, x, y, nWidth, nHeight) { }
public ExButton(IExBaseUIEle oParent, string sTitle, int x, int y, int nWidth, int nHeight) : base(oParent, "Button", sTitle, x, y, nWidth, nHeight) { }
public ExComboBox(IExBaseUIEle oParent, string sTitle, int x, int y, int nWidth, int nHeight) : base(oParent, "ComboBox", sTitle, x, y, nWidth, nHeight) { }
public ExBaseLayout(int nType, IExBaseUIEle objBind) { m_hLayout = (IntPtr)ExAPI._layout_create(nType, objBind.Handle); }
public ExEdit(IExBaseUIEle pOwner, string sText, int x, int y, int nWidth, int nHeight, int dwTextFormat = -1) : base(pOwner, "Edit", sText, x, y, nWidth, nHeight, -1, -1, dwTextFormat) { }
public ExStatic(IExBaseUIEle pOwner, byte[] pImageData, int x, int y, int nWidth, int nHeight) : base(pOwner, "Static", null, x, y, nWidth, nHeight) { SetBackgroundImage(pImageData, 0, 0, 0, IntPtr.Zero, 0, 255, true); }
public ExTreeView(IExBaseUIEle oParent, string sTitle, int x, int y, int nWidth, int nHeight) : base(oParent, "TreeView", sTitle, x, y, nWidth, nHeight) { }
ExPage(IExBaseUIEle oParent, string sTitle, int x, int y, int nWidth, int nHeight) : base(oParent, "Page", sTitle, x, y, nWidth, nHeight) { }
public ExAbsoluteLayout(IExBaseUIEle objBind) : base(ELT_ABSOLUTE, objBind) { }
public static int Show(string sText, string sCaption = null, int uType = 0, int dwFlags = 0, IExBaseUIEle pOwner = null) { IntPtr hOwner = pOwner == null ? IntPtr.Zero : pOwner.Handle; return(ExAPI.Ex_MessageBox(hOwner, sText, sCaption, uType, dwFlags)); }
public static int Show(IExBaseUIEle pOwner, string sText, string sCaption, int uType, string sCheckbox, ref bool pfChecked, int dwTimeout, int dwFlags, ExWndProcDelegate pfnWndProc = null) { IntPtr hOwner = pOwner == null ? IntPtr.Zero : pOwner.Handle; return(ExAPI.Ex_MessageBoxEx(hOwner, sText, sCaption, uType, sCheckbox, ref pfChecked, dwTimeout, dwFlags, pfnWndProc)); }
public ExProgressBar(IExBaseUIEle oParent, string sTitle, int x, int y, int nWidth, int nHeight) : base(oParent, "Progress", sTitle, x, y, nWidth, nHeight) { }
public ExScrollBar(IExBaseUIEle oParent, string sTitle, int x, int y, int nWidth, int nHeight) : base(oParent, "ScrollBar", sTitle, x, y, nWidth, nHeight) { }