当前位置: 首页>>代码示例>>C#>>正文


C# HHTMLBrowser类代码示例

本文整理汇总了C#中HHTMLBrowser的典型用法代码示例。如果您正苦于以下问题:C# HHTMLBrowser类的具体用法?C# HHTMLBrowser怎么用?C# HHTMLBrowser使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


HHTMLBrowser类属于命名空间,在下文中一共展示了HHTMLBrowser类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: LoadURL

		/// <summary>
		/// <para> Navigate to this URL, results in a HTML_StartRequest_t as the request commences</para>
		/// </summary>
		public static void LoadURL(HHTMLBrowser unBrowserHandle, string pchURL, string pchPostData) {
			InteropHelp.TestIfAvailableClient();
			using (var pchURL2 = new InteropHelp.UTF8StringHandle(pchURL))
			using (var pchPostData2 = new InteropHelp.UTF8StringHandle(pchPostData)) {
				NativeMethods.ISteamHTMLSurface_LoadURL(unBrowserHandle, pchURL2, pchPostData2);
			}
		}
开发者ID:FuzzyWuff,项目名称:Steamworks.NET,代码行数:10,代码来源:isteamhtmlsurface.cs

示例2: Find

 public static void Find(HHTMLBrowser unBrowserHandle, string pchSearchStr, bool bCurrentlyInFind, bool bReverse)
 {
     InteropHelp.TestIfAvailableClient();
     using (InteropHelp.UTF8StringHandle uTF8StringHandle = new InteropHelp.UTF8StringHandle(pchSearchStr))
     {
         NativeMethods.ISteamHTMLSurface_Find(unBrowserHandle, uTF8StringHandle, bCurrentlyInFind, bReverse);
     }
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:8,代码来源:SteamHTMLSurface.cs

示例3: ExecuteJavascript

 public static void ExecuteJavascript(HHTMLBrowser unBrowserHandle, string pchScript)
 {
     InteropHelp.TestIfAvailableClient();
     using (InteropHelp.UTF8StringHandle uTF8StringHandle = new InteropHelp.UTF8StringHandle(pchScript))
     {
         NativeMethods.ISteamHTMLSurface_ExecuteJavascript(unBrowserHandle, uTF8StringHandle);
     }
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:8,代码来源:SteamHTMLSurface.cs

示例4: AddHeader

 public static void AddHeader(HHTMLBrowser unBrowserHandle, string pchKey, string pchValue)
 {
     InteropHelp.TestIfAvailableClient();
     using (InteropHelp.UTF8StringHandle uTF8StringHandle = new InteropHelp.UTF8StringHandle(pchKey))
     {
         using (InteropHelp.UTF8StringHandle uTF8StringHandle2 = new InteropHelp.UTF8StringHandle(pchValue))
         {
             NativeMethods.ISteamHTMLSurface_AddHeader(unBrowserHandle, uTF8StringHandle, uTF8StringHandle2);
         }
     }
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:11,代码来源:SteamHTMLSurface.cs

示例5: SetPageScaleFactor

 public static void SetPageScaleFactor(HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamHTMLSurface_SetPageScaleFactor(unBrowserHandle, flZoom, nPointX, nPointY);
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:5,代码来源:SteamHTMLSurface.cs

示例6: AllowStartRequest

 public static void AllowStartRequest(HHTMLBrowser unBrowserHandle, bool bAllowed)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamHTMLSurface_AllowStartRequest(unBrowserHandle, bAllowed);
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:5,代码来源:SteamHTMLSurface.cs

示例7: SetKeyFocus

 public static void SetKeyFocus(HHTMLBrowser unBrowserHandle, bool bHasKeyFocus)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamHTMLSurface_SetKeyFocus(unBrowserHandle, bHasKeyFocus);
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:5,代码来源:SteamHTMLSurface.cs

示例8: GetLinkAtPosition

 public static void GetLinkAtPosition(HHTMLBrowser unBrowserHandle, int x, int y)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamHTMLSurface_GetLinkAtPosition(unBrowserHandle, x, y);
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:5,代码来源:SteamHTMLSurface.cs

示例9: ISteamHTMLSurface_SetPageScaleFactor

		public static extern void ISteamHTMLSurface_SetPageScaleFactor(HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY);
开发者ID:xulinqs,项目名称:Steamworks.NET,代码行数:1,代码来源:NativeMethods.cs

示例10: ViewSource

 public static void ViewSource(HHTMLBrowser unBrowserHandle)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamHTMLSurface_ViewSource(unBrowserHandle);
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:5,代码来源:SteamHTMLSurface.cs

示例11: FileLoadDialogResponse

 public static void FileLoadDialogResponse(HHTMLBrowser unBrowserHandle, IntPtr pchSelectedFiles)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamHTMLSurface_FileLoadDialogResponse(unBrowserHandle, pchSelectedFiles);
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:5,代码来源:SteamHTMLSurface.cs

示例12: KeyUp

 public static void KeyUp(HHTMLBrowser unBrowserHandle, uint nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamHTMLSurface_KeyUp(unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers);
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:5,代码来源:SteamHTMLSurface.cs

示例13: MouseMove

 public static void MouseMove(HHTMLBrowser unBrowserHandle, int x, int y)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamHTMLSurface_MouseMove(unBrowserHandle, x, y);
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:5,代码来源:SteamHTMLSurface.cs

示例14: ISteamHTMLSurface_FileLoadDialogResponse

		public static extern void ISteamHTMLSurface_FileLoadDialogResponse(HHTMLBrowser unBrowserHandle, IntPtr pchSelectedFiles);
开发者ID:xulinqs,项目名称:Steamworks.NET,代码行数:1,代码来源:NativeMethods.cs

示例15: KeyChar

 public static void KeyChar(HHTMLBrowser unBrowserHandle, uint cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamHTMLSurface_KeyChar(unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers);
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:5,代码来源:SteamHTMLSurface.cs


注:本文中的HHTMLBrowser类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。