public UIClass() { int ww = 864, wh = 662; Rectangle rect = Lib.CenterWindow(ww, wh); ltf = new LTFrameNetClass("LTFrame-Ipad", "Ipad", IntPtr.Zero, Win32DataType.WS_POPUP | Win32DataType.WS_VISIBLE, rect.Left, rect.Top, ww, wh, IntPtr.Zero); ltf.SetViewTransparent(true); ltf.SetAllowKeyDownAutoScroll(false); ltf.loadFile(Lib.GetAppPath + @"./template/ipad/ipad.html"); ltf.EnableDragFrameChangeSize(false); ltf.MessageLoop(); }