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
- SemaphoreSecurity.cs
- _Semaphore.cs
- SmtpException.cs
- ContentElementAutomationPeer.cs
- _BasicClient.cs
- RoleGroup.cs
- FrameworkContentElement.cs
- PropertyKey.cs
- Stroke2.cs
- NativeMethodsOther.cs
- CodeDOMUtility.cs
- SynchronizationLockException.cs
- control.ime.cs
- VerticalAlignConverter.cs
- SecurityToken.cs
- SelectionRange.cs
- TraceUtils.cs
- EventArgs.cs
- SchemaMerger.cs
- DataGridComboBoxColumn.cs
- BindingList.cs
- SoapMessage.cs
- SamlAuthenticationStatement.cs
- MetafileEditor.cs
- SafeSecurityHelper.cs
- InputLanguageCollection.cs
- TextCollapsingProperties.cs
- HandlerWithFactory.cs
- Identity.cs
- SortedList.cs
- LineGeometry.cs
- ProxySimple.cs
- WinInet.cs
- SamlSerializer.cs
- _ChunkParse.cs
- UIElementPropertyUndoUnit.cs
- EdmToObjectNamespaceMap.cs
- JoinQueryOperator.cs
- Pair.cs
- IdentifierCreationService.cs
- SequenceDesignerAccessibleObject.cs
- EpmSyndicationContentSerializer.cs
- RawUIStateInputReport.cs
- _KerberosClient.cs
- ExpressionBuilderCollection.cs
- ActivityExecutor.cs
- ControlEvent.cs
- BinaryReader.cs
- UnaryNode.cs
- TextModifier.cs
- Vector3D.cs
- TimeSpanValidator.cs
- CodeSnippetTypeMember.cs
- InputLanguageEventArgs.cs
- TagPrefixInfo.cs
- UrlAuthFailedErrorFormatter.cs
- TextTreeFixupNode.cs
- TextEditorThreadLocalStore.cs
- OutputCacheSection.cs
- Type.cs
- RectValueSerializer.cs
- HMACSHA1.cs
- QueryOperationResponseOfT.cs
- StringCollectionEditor.cs
- WorkflowServiceHostFactory.cs
- IgnoreSectionHandler.cs
- NamedPipeTransportBindingElement.cs
- RegexCapture.cs
- BrowserDefinition.cs
- AnnotationHelper.cs
- DictionarySectionHandler.cs
- SkewTransform.cs
- AxWrapperGen.cs
- SqlMethodCallConverter.cs
- CopyNamespacesAction.cs
- DomainLiteralReader.cs
- DBCSCodePageEncoding.cs
- HtmlControlPersistable.cs
- _Semaphore.cs
- StateWorkerRequest.cs
- XamlReaderHelper.cs
- CriticalHandle.cs
- ConfigXmlSignificantWhitespace.cs
- DiagnosticsConfiguration.cs
- OrderedParallelQuery.cs
- BindingUtils.cs
- RemoteWebConfigurationHost.cs
- DeleteWorkflowOwnerCommand.cs
- ClickablePoint.cs
- ChameleonKey.cs
- JsonObjectDataContract.cs
- HttpListenerPrefixCollection.cs
- isolationinterop.cs
- ClrPerspective.cs
- EntityDataSourceEntityTypeFilterItem.cs
- ClientSideProviderDescription.cs
- ValidationRuleCollection.cs
- handlecollector.cs
- ConsoleCancelEventArgs.cs
- ApplicationId.cs