Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / MonthCalendarDesigner.cs / 1 / MonthCalendarDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="System.Windows.Forms.Design.MonthCalendarDesigner..ctor()")] namespace System.Windows.Forms.Design { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; ////// /// internal class MonthCalendarDesigner : ControlDesigner { public MonthCalendarDesigner() { AutoResizeHandles = true; } ////// Provides a designer that can design components /// that extend MonthCalendar. ////// /// Retrieves a set of rules concerning the movement capabilities of a component. /// This should be one or more flags from the SelectionRules class. If no designer /// provides rules for a component, the component will not get any UI services. /// public override SelectionRules SelectionRules { get { SelectionRules rules = base.SelectionRules; if ((Control.Parent == null) || (Control.Parent != null && !Control.Parent.IsMirrored)) { rules &= ~(SelectionRules.TopSizeable | SelectionRules.LeftSizeable); } else { Debug.Assert(Control.Parent != null && Control.Parent.IsMirrored); rules &= ~(SelectionRules.TopSizeable | SelectionRules.RightSizeable); } return rules; } } } } // 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
- RestHandler.cs
- CorePropertiesFilter.cs
- StringPropertyBuilder.cs
- ParentUndoUnit.cs
- SessionStateContainer.cs
- XslVisitor.cs
- SecurityDescriptor.cs
- TextBoxAutoCompleteSourceConverter.cs
- ISAPIWorkerRequest.cs
- VectorAnimationBase.cs
- InternalSafeNativeMethods.cs
- GraphicsState.cs
- HwndAppCommandInputProvider.cs
- ListViewGroupItemCollection.cs
- ToolboxItem.cs
- MetadataCache.cs
- MarkupProperty.cs
- AppDomainManager.cs
- SQLDecimal.cs
- SqlDependencyUtils.cs
- AspProxy.cs
- PackageDigitalSignature.cs
- HeaderFilter.cs
- ComboBox.cs
- ExpressionBuilder.cs
- WebZone.cs
- sqlstateclientmanager.cs
- AutomationPatternInfo.cs
- RC2.cs
- Setter.cs
- DataGridViewRowCancelEventArgs.cs
- GlobalEventManager.cs
- Annotation.cs
- ContextQuery.cs
- InstanceContextMode.cs
- SettingsPropertyIsReadOnlyException.cs
- Matrix.cs
- SizeChangedInfo.cs
- WindowsTreeView.cs
- OpCopier.cs
- ValueUtilsSmi.cs
- WebCategoryAttribute.cs
- Converter.cs
- DataGridGeneralPage.cs
- DesignerSerializationManager.cs
- TableLayoutColumnStyleCollection.cs
- DragStartedEventArgs.cs
- FlowLayoutSettings.cs
- RelationshipFixer.cs
- GridEntryCollection.cs
- PrePrepareMethodAttribute.cs
- BitmapScalingModeValidation.cs
- SQLInt32.cs
- OdbcReferenceCollection.cs
- RowVisual.cs
- Control.cs
- CompoundFileReference.cs
- ProtocolViolationException.cs
- Misc.cs
- Wizard.cs
- HtmlImageAdapter.cs
- EmptyControlCollection.cs
- Figure.cs
- Console.cs
- ColorTransformHelper.cs
- StructuralType.cs
- AsymmetricSignatureFormatter.cs
- ServiceActivationException.cs
- TypeGeneratedEventArgs.cs
- OleDbConnectionInternal.cs
- Delegate.cs
- URLEditor.cs
- SrgsGrammarCompiler.cs
- ErrorInfoXmlDocument.cs
- Error.cs
- CollectionType.cs
- IdnElement.cs
- AmbiguousMatchException.cs
- ValidatorUtils.cs
- LineBreak.cs
- ConditionalExpression.cs
- ScriptResourceMapping.cs
- MergeEnumerator.cs
- NewExpression.cs
- XslAst.cs
- WorkflowMarkupSerializationException.cs
- Hash.cs
- RelationshipFixer.cs
- ImmutableObjectAttribute.cs
- ContainerUIElement3D.cs
- QuaternionKeyFrameCollection.cs
- AutomationFocusChangedEventArgs.cs
- ContainerControl.cs
- FactoryGenerator.cs
- UIElement3DAutomationPeer.cs
- Icon.cs
- CFGGrammar.cs
- CryptoStream.cs
- ManagementInstaller.cs
- HttpConfigurationContext.cs