Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeRemoveEventStatement.cs / 1 / CodeRemoveEventStatement.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeRemoveEventStatement : CodeStatement { private CodeEventReferenceExpression eventRef; private CodeExpression listener; ////// Represents a event detach statement. /// ////// public CodeRemoveEventStatement() { } ////// Initializes a new instance of ///. /// /// public CodeRemoveEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) { this.eventRef = eventRef; this.listener = listener; } ////// Initializes a new instance of the ///class using the specified arguments. /// /// public CodeRemoveEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) { this.eventRef = new CodeEventReferenceExpression(targetObject, eventName); this.listener = listener; } ///[To be supplied.] ////// public CodeEventReferenceExpression Event{ get { if (eventRef == null) { eventRef = new CodeEventReferenceExpression(); } return eventRef; } set { eventRef = value; } } ///[To be supplied.] ////// public CodeExpression Listener { get { return listener; } set { listener = value; } } } }/// The listener. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Geometry3D.cs
- Ipv6Element.cs
- TempFiles.cs
- Object.cs
- DocumentOutline.cs
- Documentation.cs
- StylusLogic.cs
- ZipIOModeEnforcingStream.cs
- EncryptedType.cs
- DictionaryItemsCollection.cs
- TextWriterEngine.cs
- TimeStampChecker.cs
- ConfigurationSection.cs
- AccessorTable.cs
- DataGridCommandEventArgs.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- RolePrincipal.cs
- WSHttpSecurityElement.cs
- ContextMenuService.cs
- SafeLibraryHandle.cs
- StoreContentChangedEventArgs.cs
- WebProxyScriptElement.cs
- LogRestartAreaEnumerator.cs
- DecoderBestFitFallback.cs
- ConfigXmlDocument.cs
- DataColumnMapping.cs
- DocumentViewerBase.cs
- RestHandler.cs
- Hash.cs
- AsyncOperation.cs
- CreateInstanceBinder.cs
- DependencyPropertyKind.cs
- LoginCancelEventArgs.cs
- ContentPlaceHolder.cs
- CompilerState.cs
- StreamSecurityUpgradeProvider.cs
- TreeNodeClickEventArgs.cs
- AlternateView.cs
- StandardOleMarshalObject.cs
- XMLSyntaxException.cs
- BehaviorService.cs
- UnsafeCollabNativeMethods.cs
- StylusLogic.cs
- OleDbParameter.cs
- CompilationLock.cs
- DataRecordObjectView.cs
- GregorianCalendarHelper.cs
- DataGridViewImageCell.cs
- BoundField.cs
- TraceHandlerErrorFormatter.cs
- PropertyMapper.cs
- ObservableDictionary.cs
- UserControlDocumentDesigner.cs
- EntryPointNotFoundException.cs
- Utilities.cs
- StandardToolWindows.cs
- PartialList.cs
- BeginGetFileNameFromUserRequest.cs
- LinkedResourceCollection.cs
- FunctionParameter.cs
- XmlElementAttribute.cs
- OdbcParameter.cs
- MetadataUtil.cs
- ObjectDataSource.cs
- RecordManager.cs
- MobileUITypeEditor.cs
- ArcSegment.cs
- AudioDeviceOut.cs
- DataControlExtensions.cs
- XmlSchemaRedefine.cs
- SqlConnectionStringBuilder.cs
- MetafileHeaderWmf.cs
- RequestTimeoutManager.cs
- DataKeyCollection.cs
- serverconfig.cs
- HMACSHA1.cs
- MimeParameterWriter.cs
- HttpServerVarsCollection.cs
- SecuritySessionSecurityTokenProvider.cs
- Odbc32.cs
- RegexGroupCollection.cs
- FieldToken.cs
- TypeBrowserDialog.cs
- EventEntry.cs
- HebrewCalendar.cs
- X500Name.cs
- HybridObjectCache.cs
- DockProviderWrapper.cs
- DesignerToolStripControlHost.cs
- Config.cs
- SiteMapProvider.cs
- DataGridViewSelectedRowCollection.cs
- FormViewCommandEventArgs.cs
- ToolStripOverflow.cs
- PathSegmentCollection.cs
- CodeTypeReferenceExpression.cs
- ServiceThrottlingBehavior.cs
- DashStyle.cs
- SqlDataSourceCache.cs
- DotExpr.cs