Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / CalendarDesigner.cs / 1 / CalendarDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { using System; using System.ComponentModel; using System.ComponentModel.Design; using System.Data; using System.Design; using System.Diagnostics; using System.Globalization; using System.IO; using System.Runtime.InteropServices; using System.Text; using System.Web.UI.Design.Util; using System.Web.UI.WebControls; using System.Windows.Forms; using Calendar = System.Web.UI.WebControls.Calendar; ////// /// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] [SupportsPreviewControl(true)] public class CalendarDesigner : ControlDesigner { private static DesignerAutoFormatCollection _autoFormats; public override DesignerAutoFormatCollection AutoFormats { get { if (_autoFormats == null) { _autoFormats = CreateAutoFormats(AutoFormatSchemes.CALENDAR_SCHEMES, delegate(DataRow schemeData) { return new CalendarAutoFormat(schemeData); }); } return _autoFormats; } } ////// Provides a designer for the ////// control. /// /// /// public override void Initialize(IComponent component) { VerifyInitializeArgument(component, typeof(Calendar)); base.Initialize(component); } ////// Initializes the designer with the component for design. /// ////// /// protected void OnAutoFormat(object sender, EventArgs e) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// Delegate to handle the the AutoFormat verb by calling the AutoFormat dialog. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SynchronousSendBindingElement.cs
- ReliabilityContractAttribute.cs
- StorageMappingItemCollection.cs
- ProvideValueServiceProvider.cs
- EndpointFilterProvider.cs
- Package.cs
- pingexception.cs
- DataSpaceManager.cs
- TraceListener.cs
- AutomationPropertyInfo.cs
- Geometry.cs
- CharacterMetricsDictionary.cs
- OdbcException.cs
- xmlsaver.cs
- WCFServiceClientProxyGenerator.cs
- documentsequencetextview.cs
- MetabaseSettingsIis7.cs
- DeploymentExceptionMapper.cs
- BinaryMessageEncodingElement.cs
- TrackPointCollection.cs
- FileUpload.cs
- SqlDependencyUtils.cs
- BooleanToVisibilityConverter.cs
- DataControlPagerLinkButton.cs
- SqlClientWrapperSmiStreamChars.cs
- DataTemplate.cs
- XPathSingletonIterator.cs
- HMACSHA512.cs
- SortExpressionBuilder.cs
- AdjustableArrowCap.cs
- XmlSchemaCompilationSettings.cs
- AuthenticationConfig.cs
- PrintDialogException.cs
- DataDocumentXPathNavigator.cs
- UTF8Encoding.cs
- WorkflowApplication.cs
- WebContentFormatHelper.cs
- BuildManager.cs
- RightsManagementPermission.cs
- ResourceReferenceKeyNotFoundException.cs
- ObjectItemCollection.cs
- SplitContainer.cs
- XmlMemberMapping.cs
- DBSqlParserColumn.cs
- GridItemPattern.cs
- WebPartConnection.cs
- ActivityCollectionMarkupSerializer.cs
- WebServiceMethodData.cs
- XmlILStorageConverter.cs
- TraceSource.cs
- Config.cs
- parserscommon.cs
- MetadataFile.cs
- TdsRecordBufferSetter.cs
- XmlQualifiedName.cs
- CqlLexerHelpers.cs
- JavaScriptSerializer.cs
- EventBuilder.cs
- SQLGuidStorage.cs
- BlurEffect.cs
- XPathMessageFilterElementComparer.cs
- XamlFilter.cs
- HashMembershipCondition.cs
- Help.cs
- ConfigurationSection.cs
- LinkTarget.cs
- ParallelActivityDesigner.cs
- NamedElement.cs
- BitmapEffectGroup.cs
- ProgressBarRenderer.cs
- PropertyGroupDescription.cs
- ResXResourceReader.cs
- ServiceMetadataPublishingElement.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- NavigateEvent.cs
- ConnectionManagementSection.cs
- PropertyIDSet.cs
- HasActivatableWorkflowEvent.cs
- ReferentialConstraint.cs
- RadialGradientBrush.cs
- XmlSchemaAttributeGroupRef.cs
- SettingsContext.cs
- Repeater.cs
- ReflectionPermission.cs
- SimplePropertyEntry.cs
- TextAdaptor.cs
- SynchronizedDispatch.cs
- SingleConverter.cs
- TypeValidationEventArgs.cs
- DataSourceControlBuilder.cs
- Bitmap.cs
- BinaryParser.cs
- ContextProperty.cs
- WebConfigurationFileMap.cs
- Fonts.cs
- MsmqIntegrationBindingElement.cs
- TextParagraphProperties.cs
- WriteableOnDemandPackagePart.cs
- UnknownWrapper.cs
- ColorConvertedBitmap.cs