Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / Host / DesignSurfaceEvent.cs / 1 / DesignSurfaceEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design { ////// /// Event handler for the DesignSurface event. /// public delegate void DesignSurfaceEventHandler(object sender, DesignSurfaceEventArgs e); ////// /// Event args for the DesignSurface event. /// public class DesignSurfaceEventArgs : EventArgs { private DesignSurface _surface; ////// /// Creates a new DesignSurfaceEventArgs for the given design surface. /// public DesignSurfaceEventArgs(DesignSurface surface) { if (surface == null) { throw new ArgumentNullException("surface"); } _surface = surface; } ////// /// The design surface passed into the constructor. /// public DesignSurface Surface { get { return _surface; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchemaComplexType.cs
- AdjustableArrowCap.cs
- CheckBoxField.cs
- CommandBindingCollection.cs
- WindowsScrollBar.cs
- ToolStripContentPanelRenderEventArgs.cs
- WindowsFormsEditorServiceHelper.cs
- InputBinding.cs
- ReadOnlyDictionary.cs
- StreamInfo.cs
- LambdaCompiler.Binary.cs
- XmlObjectSerializerWriteContext.cs
- embossbitmapeffect.cs
- thaishape.cs
- CommandLineParser.cs
- XPathBinder.cs
- PageSettings.cs
- URLAttribute.cs
- ControlTemplate.cs
- DrawingGroup.cs
- MimeObjectFactory.cs
- MailDefinition.cs
- HtmlSelect.cs
- ToolStripItemEventArgs.cs
- JsonQNameDataContract.cs
- IntegerValidatorAttribute.cs
- NativeCompoundFileAPIs.cs
- NavigationFailedEventArgs.cs
- ImageConverter.cs
- ComboBox.cs
- FileLevelControlBuilderAttribute.cs
- ObjectSecurity.cs
- ZipIOExtraField.cs
- HttpException.cs
- TemplatedAdorner.cs
- DrawingState.cs
- XmlSchemaFacet.cs
- _ChunkParse.cs
- DbDataReader.cs
- OuterGlowBitmapEffect.cs
- TextTreeRootTextBlock.cs
- WorkflowOwnershipException.cs
- TextSyndicationContentKindHelper.cs
- sortedlist.cs
- DynamicQueryableWrapper.cs
- VarInfo.cs
- HandleTable.cs
- ListBoxAutomationPeer.cs
- ContextItemManager.cs
- TreeNodeBindingCollection.cs
- JsonCollectionDataContract.cs
- EditableTreeList.cs
- MenuAdapter.cs
- EntityCommandExecutionException.cs
- EditingCoordinator.cs
- Int32EqualityComparer.cs
- UTF32Encoding.cs
- updatecommandorderer.cs
- COM2IProvidePropertyBuilderHandler.cs
- DataStreams.cs
- ToolStripDropDownItemDesigner.cs
- XNameTypeConverter.cs
- LifetimeServices.cs
- GeneralTransform2DTo3DTo2D.cs
- Pair.cs
- ChannelPoolSettingsElement.cs
- ProcessModule.cs
- ServiceObjectContainer.cs
- StylusPlugInCollection.cs
- IgnoreDeviceFilterElementCollection.cs
- RuntimeConfig.cs
- Msec.cs
- WebPageTraceListener.cs
- PasswordPropertyTextAttribute.cs
- SerializerDescriptor.cs
- ToolStripSettings.cs
- DataControlPagerLinkButton.cs
- RangeEnumerable.cs
- ECDiffieHellmanCngPublicKey.cs
- WindowsGraphics.cs
- FieldNameLookup.cs
- SelectionPatternIdentifiers.cs
- XPathChildIterator.cs
- ExpressionBuilderContext.cs
- ExpressionList.cs
- BinaryNode.cs
- TextElementEnumerator.cs
- GridViewCommandEventArgs.cs
- IssuanceLicense.cs
- TextDecorationUnitValidation.cs
- DocumentPage.cs
- LazyTextWriterCreator.cs
- AdornerHitTestResult.cs
- RtfToken.cs
- WindowsSysHeader.cs
- RouteTable.cs
- cookieexception.cs
- KeyGesture.cs
- __ConsoleStream.cs
- TextFragmentEngine.cs