Code:
/ FX-1434 / FX-1434 / 1.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
- SqlUDTStorage.cs
- KeyedCollection.cs
- sqlstateclientmanager.cs
- GifBitmapDecoder.cs
- DependencyPropertyValueSerializer.cs
- Operand.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- SortKey.cs
- ColorContextHelper.cs
- XamlSerializerUtil.cs
- DataQuery.cs
- StringFreezingAttribute.cs
- ProjectionPath.cs
- DependencyObject.cs
- XPathDocument.cs
- WebControlToolBoxItem.cs
- tibetanshape.cs
- StrokeCollection.cs
- Cursor.cs
- EventLogInformation.cs
- WebPermission.cs
- GridEntryCollection.cs
- TrackingQueryElement.cs
- DelegateSerializationHolder.cs
- MailAddressCollection.cs
- FixedSOMTableRow.cs
- HttpCapabilitiesEvaluator.cs
- InstanceCompleteException.cs
- BindingMAnagerBase.cs
- SlipBehavior.cs
- BinaryParser.cs
- NativeDirectoryServicesQueryAPIs.cs
- TextParaLineResult.cs
- TableColumn.cs
- EventWaitHandleSecurity.cs
- DbParameterCollection.cs
- XappLauncher.cs
- SqlExpander.cs
- SQLSingle.cs
- BamlRecordReader.cs
- counter.cs
- HandleRef.cs
- PointLightBase.cs
- LogLogRecordEnumerator.cs
- ArrayHelper.cs
- Argument.cs
- InstanceCreationEditor.cs
- LocationUpdates.cs
- ProtocolsConfiguration.cs
- SecurityElement.cs
- ConfigsHelper.cs
- SByte.cs
- XhtmlBasicLinkAdapter.cs
- RoleManagerSection.cs
- HMACSHA512.cs
- UseAttributeSetsAction.cs
- DataGridBoolColumn.cs
- TrimSurroundingWhitespaceAttribute.cs
- BuilderInfo.cs
- StatusBar.cs
- EventRoute.cs
- PerformanceCounterPermission.cs
- Matrix.cs
- __ComObject.cs
- _TransmitFileOverlappedAsyncResult.cs
- TemplateLookupAction.cs
- IgnoreSection.cs
- InvalidWMPVersionException.cs
- SafeNativeMethods.cs
- InheritanceContextChangedEventManager.cs
- IList.cs
- AspNetHostingPermission.cs
- PropertyEmitterBase.cs
- SponsorHelper.cs
- GridViewRowPresenterBase.cs
- TextDecorationUnitValidation.cs
- IssuanceLicense.cs
- VirtualPathProvider.cs
- WriteTimeStream.cs
- ClientFormsIdentity.cs
- InstanceKeyNotReadyException.cs
- Panel.cs
- SoapExtensionReflector.cs
- DecimalKeyFrameCollection.cs
- MsmqAppDomainProtocolHandler.cs
- CodeSnippetCompileUnit.cs
- ResolveCriteria11.cs
- InstanceCompleteException.cs
- XslVisitor.cs
- LabelEditEvent.cs
- EmbeddedObject.cs
- RegexInterpreter.cs
- BeginStoryboard.cs
- NetworkInterface.cs
- DisposableCollectionWrapper.cs
- TableRowGroup.cs
- UpdatePanelTrigger.cs
- ValidationHelpers.cs
- ExternalCalls.cs
- DbConnectionPoolCounters.cs