Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / HtmlElementErrorEventArgs.cs / 1 / HtmlElementErrorEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; namespace System.Windows.Forms { ////// /// public sealed class HtmlElementErrorEventArgs : EventArgs { private string description; private string urlString; private Uri url; private int lineNumber; private bool handled; internal HtmlElementErrorEventArgs(string description, string urlString, int lineNumber) { this.description = description; this.urlString = urlString; this.lineNumber = lineNumber; } ///EventArgs for onerror event of HtmlElement ////// /// public string Description { get { return description; } } ///Description of error ////// /// public bool Handled { get { return handled; } set { handled = value; } } ////// Gets or sets a value indicating whether the ////// event was handled. /// /// /// public int LineNumber { get { return lineNumber; } } ///Line number where error occurred ////// /// public Uri Url { get { if (url == null) { url = new Uri(urlString); } return url; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Url where error occurred ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; namespace System.Windows.Forms { ////// /// public sealed class HtmlElementErrorEventArgs : EventArgs { private string description; private string urlString; private Uri url; private int lineNumber; private bool handled; internal HtmlElementErrorEventArgs(string description, string urlString, int lineNumber) { this.description = description; this.urlString = urlString; this.lineNumber = lineNumber; } ///EventArgs for onerror event of HtmlElement ////// /// public string Description { get { return description; } } ///Description of error ////// /// public bool Handled { get { return handled; } set { handled = value; } } ////// Gets or sets a value indicating whether the ////// event was handled. /// /// /// public int LineNumber { get { return lineNumber; } } ///Line number where error occurred ////// /// public Uri Url { get { if (url == null) { url = new Uri(urlString); } return url; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Url where error occurred ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FixedHyperLink.cs
- CodeArgumentReferenceExpression.cs
- ProjectionPruner.cs
- DelayedRegex.cs
- QuaternionRotation3D.cs
- StandardToolWindows.cs
- DBParameter.cs
- TrackingProfile.cs
- GlyphingCache.cs
- AddInActivator.cs
- WindowsListViewItemStartMenu.cs
- UTF7Encoding.cs
- ServiceNameCollection.cs
- HwndSourceParameters.cs
- GridViewColumnHeader.cs
- HttpListenerElement.cs
- SweepDirectionValidation.cs
- PictureBox.cs
- PeerContact.cs
- basenumberconverter.cs
- KeyFrames.cs
- SqlNotificationRequest.cs
- ViewStateException.cs
- Brush.cs
- TemplatePropertyEntry.cs
- SmiEventSink_DeferedProcessing.cs
- cookie.cs
- EnumConverter.cs
- StrongNameSignatureInformation.cs
- ConfigurationSectionGroupCollection.cs
- QueryConverter.cs
- WCFServiceClientProxyGenerator.cs
- PropertyTabAttribute.cs
- EdmToObjectNamespaceMap.cs
- PlatformCulture.cs
- Context.cs
- MenuAutomationPeer.cs
- DropShadowEffect.cs
- WindowInteractionStateTracker.cs
- LayoutDump.cs
- TimeoutException.cs
- Menu.cs
- CollectionChangeEventArgs.cs
- TableDetailsRow.cs
- DataServiceQueryContinuation.cs
- DifferencingCollection.cs
- LinearKeyFrames.cs
- Translator.cs
- RemotingAttributes.cs
- GridItemCollection.cs
- PathGeometry.cs
- OleDbCommand.cs
- OdbcConnectionHandle.cs
- InfoCardRSACryptoProvider.cs
- NameObjectCollectionBase.cs
- EntityClientCacheKey.cs
- SystemPens.cs
- ProxyAttribute.cs
- CheckBox.cs
- AspNetPartialTrustHelpers.cs
- CollectionBase.cs
- WithStatement.cs
- PanelDesigner.cs
- WorkflowApplicationEventArgs.cs
- SmtpNtlmAuthenticationModule.cs
- GridItemPatternIdentifiers.cs
- FormViewCommandEventArgs.cs
- LessThan.cs
- SplitterCancelEvent.cs
- DependencyPropertyValueSerializer.cs
- XPathNodeInfoAtom.cs
- ClientOperation.cs
- ConfigXmlAttribute.cs
- EventSinkHelperWriter.cs
- DataGridViewRowPostPaintEventArgs.cs
- Enlistment.cs
- AuthStoreRoleProvider.cs
- RootBrowserWindowProxy.cs
- FontDialog.cs
- EntityRecordInfo.cs
- HttpListenerContext.cs
- ApplicationBuildProvider.cs
- HtmlTernaryTree.cs
- DynamicDataExtensions.cs
- GlobalEventManager.cs
- ListControl.cs
- IdnMapping.cs
- BitmapImage.cs
- XPathDocument.cs
- CatalogPart.cs
- CodeLinePragma.cs
- SelectionChangedEventArgs.cs
- oledbmetadatacollectionnames.cs
- altserialization.cs
- PopupEventArgs.cs
- CompilerState.cs
- ContainsSearchOperator.cs
- XPathQueryGenerator.cs
- CompositeCollection.cs
- PanelContainerDesigner.cs