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
- InternalDuplexChannelFactory.cs
- SerializationInfoEnumerator.cs
- StylusCollection.cs
- ExtensionWindow.cs
- XmlAnyElementAttribute.cs
- ManagedIStream.cs
- CmsInterop.cs
- SqlFunctionAttribute.cs
- XmlDictionaryReaderQuotasElement.cs
- Viewport2DVisual3D.cs
- InternalDuplexBindingElement.cs
- _HeaderInfoTable.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ToolStripGripRenderEventArgs.cs
- Pair.cs
- ClearCollection.cs
- PasswordRecovery.cs
- TextLineBreak.cs
- AttributeEmitter.cs
- WorkflowInstanceExtensionCollection.cs
- XmlSerializationWriter.cs
- SettingsSavedEventArgs.cs
- SequenceDesigner.cs
- Border.cs
- EncoderBestFitFallback.cs
- SimpleHandlerBuildProvider.cs
- SqlInternalConnection.cs
- Parser.cs
- ComplexPropertyEntry.cs
- sortedlist.cs
- DbExpressionRules.cs
- DependencySource.cs
- OpenFileDialog.cs
- PermissionListSet.cs
- WebPartAuthorizationEventArgs.cs
- PenThreadWorker.cs
- SafePEFileHandle.cs
- DbProviderFactories.cs
- IISUnsafeMethods.cs
- DataGridViewCheckBoxCell.cs
- InvalidPipelineStoreException.cs
- JulianCalendar.cs
- WebException.cs
- XmlEnumAttribute.cs
- CheckBoxAutomationPeer.cs
- TableItemPattern.cs
- TabPage.cs
- Executor.cs
- DtdParser.cs
- InternalConfigRoot.cs
- MenuCommand.cs
- TemplateParser.cs
- Token.cs
- ExpressionTextBoxAutomationPeer.cs
- Range.cs
- DynamicPropertyHolder.cs
- ViewStateException.cs
- Bind.cs
- ChangePassword.cs
- TypeNameConverter.cs
- XmlC14NWriter.cs
- DrawingContextWalker.cs
- SystemIPv6InterfaceProperties.cs
- AutoGeneratedFieldProperties.cs
- ComponentRenameEvent.cs
- HMACSHA256.cs
- LassoSelectionBehavior.cs
- SecUtil.cs
- SHA384Managed.cs
- MouseGestureConverter.cs
- MenuItemStyleCollection.cs
- DesignerActionKeyboardBehavior.cs
- DirectoryGroupQuery.cs
- SimpleLine.cs
- DataControlExtensions.cs
- SetterTriggerConditionValueConverter.cs
- XmlSchemaInclude.cs
- TextPointerBase.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- XmlAttributes.cs
- SoapEnumAttribute.cs
- HttpModule.cs
- _FixedSizeReader.cs
- PathSegmentCollection.cs
- SiteMapSection.cs
- DesignerAttribute.cs
- DataTablePropertyDescriptor.cs
- LockCookie.cs
- XPathScanner.cs
- ComEventsInfo.cs
- FilterUserControlBase.cs
- FontResourceCache.cs
- BasePattern.cs
- AttributeEmitter.cs
- PasswordTextNavigator.cs
- invalidudtexception.cs
- _NetworkingPerfCounters.cs
- InputLangChangeEvent.cs
- DataSetUtil.cs
- GridViewDeleteEventArgs.cs