Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / WebBrowserNavigatingEventHandler.cs / 1 / WebBrowserNavigatingEventHandler.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Net; using System.ComponentModel; namespace System.Windows.Forms { ////// /// public delegate void WebBrowserNavigatingEventHandler(object sender, WebBrowserNavigatingEventArgs e); ////// Delegate to the WebBrowser Navigating event. /// ////// /// public class WebBrowserNavigatingEventArgs : CancelEventArgs { private Uri url; private string targetFrameName; ////// Provides data for the ///event. /// /// /// public WebBrowserNavigatingEventArgs(Uri url, string targetFrameName) { this.url = url; this.targetFrameName = targetFrameName; } ////// Creates an instance of the ///class. /// /// /// public Uri Url { get { WebBrowser.EnsureUrlConnectPermission(url); return this.url; } } ////// Url the browser is navigating to. /// ////// /// public string TargetFrameName { get { WebBrowser.EnsureUrlConnectPermission(url); return this.targetFrameName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// In case an individual frame is about to be navigated, this contains the frame name. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Net; using System.ComponentModel; namespace System.Windows.Forms { ////// /// public delegate void WebBrowserNavigatingEventHandler(object sender, WebBrowserNavigatingEventArgs e); ////// Delegate to the WebBrowser Navigating event. /// ////// /// public class WebBrowserNavigatingEventArgs : CancelEventArgs { private Uri url; private string targetFrameName; ////// Provides data for the ///event. /// /// /// public WebBrowserNavigatingEventArgs(Uri url, string targetFrameName) { this.url = url; this.targetFrameName = targetFrameName; } ////// Creates an instance of the ///class. /// /// /// public Uri Url { get { WebBrowser.EnsureUrlConnectPermission(url); return this.url; } } ////// Url the browser is navigating to. /// ////// /// public string TargetFrameName { get { WebBrowser.EnsureUrlConnectPermission(url); return this.targetFrameName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// In case an individual frame is about to be navigated, this contains the frame name. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LoginCancelEventArgs.cs
- TypeGeneratedEventArgs.cs
- SignatureDescription.cs
- Number.cs
- TrackingStringDictionary.cs
- AuthenticodeSignatureInformation.cs
- ClientTargetSection.cs
- MinMaxParagraphWidth.cs
- MarkupProperty.cs
- SimpleExpression.cs
- FrameworkPropertyMetadata.cs
- RoleGroupCollection.cs
- CollectionDataContractAttribute.cs
- MembershipPasswordException.cs
- MetadataConversionError.cs
- Button.cs
- XDRSchema.cs
- PeerMaintainer.cs
- StylusCollection.cs
- OverrideMode.cs
- TableItemPattern.cs
- KeyGestureValueSerializer.cs
- CanonicalFontFamilyReference.cs
- FontDialog.cs
- ServiceOperation.cs
- ColorTransform.cs
- RecognizeCompletedEventArgs.cs
- Base64Stream.cs
- ConstraintConverter.cs
- SqlUserDefinedAggregateAttribute.cs
- ProcessManager.cs
- SqlGenericUtil.cs
- XmlElement.cs
- CFGGrammar.cs
- BinHexDecoder.cs
- TemplateControlBuildProvider.cs
- DataGridHeaderBorder.cs
- XmlCDATASection.cs
- InstalledFontCollection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- Converter.cs
- SmtpSection.cs
- ChannelSinkStacks.cs
- control.ime.cs
- CollectionBuilder.cs
- EdmProperty.cs
- DataGridViewImageColumn.cs
- SqlCacheDependencyDatabaseCollection.cs
- TextBreakpoint.cs
- SafeSecurityHelper.cs
- MorphHelper.cs
- ErrorHandler.cs
- ToolStripSystemRenderer.cs
- Button.cs
- Permission.cs
- ContextInformation.cs
- QuaternionRotation3D.cs
- DataStreamFromComStream.cs
- HtmlPageAdapter.cs
- DataGridViewCheckBoxCell.cs
- Int64Storage.cs
- OdbcFactory.cs
- Int32Converter.cs
- ProgressBarAutomationPeer.cs
- EdmSchemaAttribute.cs
- Menu.cs
- CodePageEncoding.cs
- StructuralType.cs
- NamedPipeTransportBindingElement.cs
- TdsParameterSetter.cs
- ObjectParameter.cs
- UndirectedGraph.cs
- BufferAllocator.cs
- CheckBoxDesigner.cs
- MultiPropertyDescriptorGridEntry.cs
- DataGrid.cs
- OdbcUtils.cs
- CodePageUtils.cs
- HttpDictionary.cs
- OdbcConnectionString.cs
- LinearGradientBrush.cs
- SqlServer2KCompatibilityAnnotation.cs
- HttpClientProtocol.cs
- MdiWindowListStrip.cs
- EditingCommands.cs
- DateTimeAutomationPeer.cs
- PropertyGrid.cs
- BeginEvent.cs
- RelativeSource.cs
- DuplexChannelBinder.cs
- DateTimeOffsetConverter.cs
- RuleEngine.cs
- ArgumentReference.cs
- OleDbCommand.cs
- ClientTarget.cs
- TriggerCollection.cs
- EncodingInfo.cs
- ConstantProjectedSlot.cs
- WebPartDisplayModeCollection.cs
- RSACryptoServiceProvider.cs