static IPAddressTextBox() { INITCOMMONCONTROLSEX iccex = default(INITCOMMONCONTROLSEX); iccex.dwSize = Marshal.SizeOf(iccex); iccex.dwICC = CommonControls.ICC_INTERNET_CLASSES; InitCommonControlsEx(ref iccex); }