Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Design / ObjectListComponentEditor.cs / 1305376 / ObjectListComponentEditor.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.MobileControls { using System; using System.ComponentModel; using System.Diagnostics; using System.Web.UI.MobileControls; using System.Windows.Forms.Design; ////// ////// Provides a component editor for a Mobile ObjectList ////// control. /// /// [ System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) ] [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] internal class ObjectListComponentEditor : BaseTemplatedMobileComponentEditor { // The set of pages used within the ObjectList ComponentEditor private static Type[] _editorPages = new Type[] { typeof(ObjectListGeneralPage), typeof(ObjectListCommandsPage), typeof(ObjectListFieldsPage) }; internal const int IDX_GENERAL = 0; internal const int IDX_COMMANDS = 1; internal const int IDX_FIELDS = 2; /// /// public ObjectListComponentEditor() : this(IDX_GENERAL) { } ////// Initializes a new instance of ///. /// /// /// /// The index of the initial page. /// public ObjectListComponentEditor(int initialPage) : base(initialPage) { } ////// Initializes a new instance of ///. /// /// ////// Gets the set of all pages in the ////// . /// /// ////// An array consisting of the set of component editor pages. /// ////// protected override Type[] GetComponentEditorPages() { return _editorPages; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// This method may /// be overridden to change the set of pages to show. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.MobileControls { using System; using System.ComponentModel; using System.Diagnostics; using System.Web.UI.MobileControls; using System.Windows.Forms.Design; ////// ////// Provides a component editor for a Mobile ObjectList ////// control. /// /// [ System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) ] [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] internal class ObjectListComponentEditor : BaseTemplatedMobileComponentEditor { // The set of pages used within the ObjectList ComponentEditor private static Type[] _editorPages = new Type[] { typeof(ObjectListGeneralPage), typeof(ObjectListCommandsPage), typeof(ObjectListFieldsPage) }; internal const int IDX_GENERAL = 0; internal const int IDX_COMMANDS = 1; internal const int IDX_FIELDS = 2; /// /// public ObjectListComponentEditor() : this(IDX_GENERAL) { } ////// Initializes a new instance of ///. /// /// /// /// The index of the initial page. /// public ObjectListComponentEditor(int initialPage) : base(initialPage) { } ////// Initializes a new instance of ///. /// /// ////// Gets the set of all pages in the ////// . /// /// ////// An array consisting of the set of component editor pages. /// ////// protected override Type[] GetComponentEditorPages() { return _editorPages; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// This method may /// be overridden to change the set of pages to show. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UrlAuthFailedErrorFormatter.cs
- Utility.cs
- Mouse.cs
- RuleInfoComparer.cs
- DataPagerFieldCommandEventArgs.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- TypeInfo.cs
- OdbcReferenceCollection.cs
- ElementsClipboardData.cs
- ListViewCommandEventArgs.cs
- wgx_render.cs
- NumberFormatInfo.cs
- SourceFileInfo.cs
- MouseGesture.cs
- ToolStripSystemRenderer.cs
- WaveHeader.cs
- DesignTimeParseData.cs
- TextContainerChangedEventArgs.cs
- ServiceControllerDesigner.cs
- Parsers.cs
- ProgressiveCrcCalculatingStream.cs
- ProxyHwnd.cs
- PasswordBoxAutomationPeer.cs
- CacheEntry.cs
- SignerInfo.cs
- NodeInfo.cs
- ContextQuery.cs
- XmlDataImplementation.cs
- TraceListeners.cs
- DataListItemEventArgs.cs
- XmlResolver.cs
- WindowExtensionMethods.cs
- ActionFrame.cs
- AudienceUriMode.cs
- DiffuseMaterial.cs
- SiteMapSection.cs
- CultureSpecificStringDictionary.cs
- TriggerActionCollection.cs
- WindowsListViewSubItem.cs
- SoapHeader.cs
- CounterSample.cs
- PolyLineSegment.cs
- XPathNodeInfoAtom.cs
- LocalizableResourceBuilder.cs
- WeakRefEnumerator.cs
- DbDeleteCommandTree.cs
- ChannelParameterCollection.cs
- ScaleTransform3D.cs
- RecognizerBase.cs
- ToolStripItemRenderEventArgs.cs
- IncrementalReadDecoders.cs
- RegionIterator.cs
- XmlnsDictionary.cs
- SafeNativeMethods.cs
- EventLog.cs
- PropertyValue.cs
- SplayTreeNode.cs
- LayoutEngine.cs
- TraceUtility.cs
- PropertyDescriptorCollection.cs
- Utils.cs
- validation.cs
- CodeTypeDelegate.cs
- StateInitializationDesigner.cs
- PackagePart.cs
- ScriptComponentDescriptor.cs
- TimeSpanValidator.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ImageClickEventArgs.cs
- BindingCollection.cs
- RelationshipDetailsRow.cs
- TransactionTraceIdentifier.cs
- MetadataArtifactLoaderResource.cs
- UnsafeNetInfoNativeMethods.cs
- _Semaphore.cs
- MarkupProperty.cs
- ImageKeyConverter.cs
- GenericXmlSecurityToken.cs
- ServiceContractViewControl.cs
- SelectedDatesCollection.cs
- UserPersonalizationStateInfo.cs
- HashSet.cs
- PrivilegedConfigurationManager.cs
- StylusTip.cs
- PublisherMembershipCondition.cs
- OleDbTransaction.cs
- WebPartEditorOkVerb.cs
- AssemblyInfo.cs
- TdsParserStateObject.cs
- ApplicationSecurityManager.cs
- XmlQualifiedNameTest.cs
- X509SubjectKeyIdentifierClause.cs
- ImageField.cs
- ColumnHeaderConverter.cs
- NotImplementedException.cs
- XmlSchemaInfo.cs
- ContainsRowNumberChecker.cs
- NameValuePair.cs
- WindowsUpDown.cs
- SqlDeflator.cs