Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Activities / Designers / StateDesigner.LayoutSelectionGlyph.cs / 1305376 / StateDesigner.LayoutSelectionGlyph.cs
namespace System.Workflow.Activities { using System; using System.Text; using System.Reflection; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.CodeDom; using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing.Design; using System.Drawing; using System.Drawing.Drawing2D; using System.Diagnostics; using System.IO; using System.Windows.Forms; using System.Workflow.ComponentModel; using System.Workflow.ComponentModel.Design; using System.Runtime.Serialization; internal partial class StateDesigner : FreeformActivityDesigner { ////// Draws the selection retangle around the selected designer /// private class LayoutSelectionGlyph : SelectionGlyph { private Layout _layout; public LayoutSelectionGlyph(Layout layout) { if (layout == null) throw new ArgumentNullException("layout"); _layout = layout; } public override int Priority { get { return DesignerGlyph.HighestPriority; } } public override bool IsPrimarySelection { get { return true; } } public override Rectangle GetBounds(ActivityDesigner designer, bool activated) { if (designer == null) throw new ArgumentNullException("designer"); return _layout.Bounds; } } } } // 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
- BindingExpressionUncommonField.cs
- AggregateNode.cs
- TemplatedAdorner.cs
- TdsParameterSetter.cs
- WaitingCursor.cs
- LineSegment.cs
- PointAnimation.cs
- DigitalSignature.cs
- AutomationProperty.cs
- DataServiceClientException.cs
- HttpContext.cs
- WebPartZoneBase.cs
- TabletDevice.cs
- File.cs
- CompModSwitches.cs
- Pkcs7Signer.cs
- DataRecordObjectView.cs
- X509ChainPolicy.cs
- CodeArrayCreateExpression.cs
- ValidationService.cs
- ComponentSerializationService.cs
- PageContentCollection.cs
- CollectionEditVerbManager.cs
- ScrollChrome.cs
- DynamicVirtualDiscoSearcher.cs
- DesignSurfaceServiceContainer.cs
- LinqDataSourceStatusEventArgs.cs
- RelatedImageListAttribute.cs
- DocumentScope.cs
- NativeMethods.cs
- XmlTextWriter.cs
- RestClientProxyHandler.cs
- SimpleFieldTemplateUserControl.cs
- ContentPosition.cs
- SqlResolver.cs
- ToolStripOverflow.cs
- DoWorkEventArgs.cs
- DrawingImage.cs
- PropertyItem.cs
- DecimalAnimationUsingKeyFrames.cs
- HashSet.cs
- FixedSOMTextRun.cs
- WindowsGrip.cs
- ComboBoxAutomationPeer.cs
- StrokeCollection2.cs
- MetadataFile.cs
- ManagementObjectCollection.cs
- AutomationPattern.cs
- XpsS0ValidatingLoader.cs
- JpegBitmapEncoder.cs
- XmlSchemaRedefine.cs
- AncillaryOps.cs
- EntityDataSourceContextCreatingEventArgs.cs
- EraserBehavior.cs
- HtmlInputText.cs
- WebPartCancelEventArgs.cs
- ISAPIRuntime.cs
- LayoutEvent.cs
- TextEffect.cs
- XmlWhitespace.cs
- NodeLabelEditEvent.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- GraphicsPath.cs
- TextStore.cs
- SqlServices.cs
- StatusBarAutomationPeer.cs
- DataGridViewCellStateChangedEventArgs.cs
- ReadOnlyCollection.cs
- QuaternionKeyFrameCollection.cs
- SqlFormatter.cs
- DayRenderEvent.cs
- FontDifferentiator.cs
- SqlDataSourceConnectionPanel.cs
- PrtCap_Public.cs
- oledbconnectionstring.cs
- SendMessageRecord.cs
- RegistryKey.cs
- Trace.cs
- RoutedEvent.cs
- ImageDrawing.cs
- InputGestureCollection.cs
- ReturnEventArgs.cs
- CompilationRelaxations.cs
- SyntaxCheck.cs
- XhtmlTextWriter.cs
- WebPartConnectionsCancelEventArgs.cs
- MarkedHighlightComponent.cs
- SourceLineInfo.cs
- XmlAtomErrorReader.cs
- IHttpResponseInternal.cs
- HttpHandlersSection.cs
- StagingAreaInputItem.cs
- StringBuilder.cs
- LambdaCompiler.cs
- TextRange.cs
- XmlAttributeAttribute.cs
- InputLangChangeRequestEvent.cs
- SelfIssuedAuthAsymmetricKey.cs
- HttpModuleAction.cs
- DataServiceRequestOfT.cs