webbrowserexnavigatingeventargs.cs
来自「自己做的一个浏览器~~大家请看看~如果合意给个彩头」· CS 代码 · 共 34 行
CS
34 行
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
namespace APLib.Windows.Control
{
public class WebBrowserExNavigatingEventArgs : CancelEventArgs
{
private Uri url;
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
public Uri Url { get { return url; } }
private string frame;
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
public string Frame { get { return frame; } }
private UrlContext navigationContext;
public UrlContext NavigationContext { get { return this.navigationContext; } }
private object ppDisp;
public object AutomationObject { get { return this.ppDisp; } set { this.ppDisp = value; } }
public WebBrowserExNavigatingEventArgs(object automation, Uri url, string frame, UrlContext navigationContext)
: base()
{
this.url = url;
this.frame = frame;
this.navigationContext = navigationContext;
this.ppDisp = automation;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?