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
- Stylesheet.cs
- NavigateEvent.cs
- MimeMultiPart.cs
- listitem.cs
- FontStyleConverter.cs
- EventListener.cs
- XmlSchemaSimpleTypeUnion.cs
- ViewEvent.cs
- OdbcHandle.cs
- PeerTransportSecuritySettings.cs
- DataGrid.cs
- OleDbDataAdapter.cs
- MimeMapping.cs
- WriteStateInfoBase.cs
- PopupRootAutomationPeer.cs
- TextElementEnumerator.cs
- StringArrayConverter.cs
- Queue.cs
- NameTable.cs
- CapacityStreamGeometryContext.cs
- XmlSchemaComplexContent.cs
- GridViewAutoFormat.cs
- Int64KeyFrameCollection.cs
- wmiprovider.cs
- AspCompat.cs
- UnsafeNativeMethods.cs
- DataGridColumnHeader.cs
- SmiEventStream.cs
- UpdateRecord.cs
- FixedHighlight.cs
- IpcPort.cs
- ProgressChangedEventArgs.cs
- LoopExpression.cs
- InputReport.cs
- Stacktrace.cs
- StrokeNodeData.cs
- AppDomainInstanceProvider.cs
- CookieParameter.cs
- Utils.cs
- DiscoveryClientElement.cs
- CodeAccessSecurityEngine.cs
- SQLBytesStorage.cs
- NegationPusher.cs
- FormClosedEvent.cs
- UserPrincipalNameElement.cs
- RichTextBoxAutomationPeer.cs
- DynamicPhysicalDiscoSearcher.cs
- CrossContextChannel.cs
- XmlValidatingReaderImpl.cs
- ExceptionAggregator.cs
- FloaterBaseParagraph.cs
- _AutoWebProxyScriptEngine.cs
- LayoutTableCell.cs
- BamlResourceDeserializer.cs
- XmlUtil.cs
- DataGridViewLayoutData.cs
- dbenumerator.cs
- TokenizerHelper.cs
- RepeaterItem.cs
- SelectionRangeConverter.cs
- SqlBulkCopyColumnMappingCollection.cs
- UriScheme.cs
- Compensate.cs
- CompletedAsyncResult.cs
- DBSqlParserColumn.cs
- MexHttpsBindingElement.cs
- VerifyHashRequest.cs
- Transaction.cs
- SafeMILHandle.cs
- TransactedBatchingElement.cs
- CommonDialog.cs
- PropertyChangeTracker.cs
- DateTimeSerializationSection.cs
- ScriptManager.cs
- SqlBulkCopy.cs
- MessageLogger.cs
- AssemblyBuilder.cs
- Slider.cs
- Cursor.cs
- PagesSection.cs
- WebBrowserEvent.cs
- HtmlElementCollection.cs
- ConfigurationLocationCollection.cs
- EntityDataSourceContainerNameItem.cs
- InfoCard.cs
- ReturnType.cs
- SQlBooleanStorage.cs
- VectorValueSerializer.cs
- PageRequestManager.cs
- MessageBuilder.cs
- UnhandledExceptionEventArgs.cs
- DataConnectionHelper.cs
- ByteAnimation.cs
- TextServicesDisplayAttributePropertyRanges.cs
- ImageKeyConverter.cs
- TextServicesCompartmentContext.cs
- EventProxy.cs
- TrackingProfile.cs
- WebPartEditVerb.cs
- SyndicationLink.cs