Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / AccessibleTech / longhorn / Automation / Win32Providers / MS / Internal / AutomationProxies / WindowsStartMenu.cs / 1 / WindowsStartMenu.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Implementation of a provider for the Classic Start Menu // // History: // 09/07/2004 : [....] Created // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Automation; using System.Windows.Automation.Provider; using MS.Win32; namespace MS.Internal.AutomationProxies { class WindowsStartMenu : ProxyHwnd, IRawElementProviderSimple { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors public WindowsStartMenu(IntPtr hwnd, ProxyHwnd parent, int item) : base( hwnd, parent, item) { _sAutomationId = "StartMenu"; } #endregion Constructors #region Proxy Create // Static Create method called by UIAutomation to create this proxy. // returns null if unsuccessful internal static IRawElementProviderSimple Create(IntPtr hwnd, int idChild, int idObject) { return Create(hwnd, idChild); } private static IRawElementProviderSimple Create(IntPtr hwnd, int idChild) { // Something is wrong if idChild is not zero if (idChild != 0) { System.Diagnostics.Debug.Assert(idChild == 0, "Invalid Child Id, idChild != 0"); throw new ArgumentOutOfRangeException("idChild", idChild, SR.Get(SRID.ShouldBeZero)); } return new WindowsStartMenu(hwnd, null, 0); } #endregion } } // 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
- Action.cs
- ArgumentException.cs
- Figure.cs
- AddInAdapter.cs
- SafeFileMapViewHandle.cs
- AbstractSvcMapFileLoader.cs
- AdPostCacheSubstitution.cs
- PartBasedPackageProperties.cs
- While.cs
- LayoutTable.cs
- ImageSourceValueSerializer.cs
- Pts.cs
- PreviewKeyDownEventArgs.cs
- Ops.cs
- SafeRightsManagementPubHandle.cs
- ProgressChangedEventArgs.cs
- EventTrigger.cs
- ReservationNotFoundException.cs
- SafeLibraryHandle.cs
- FlagsAttribute.cs
- BindingListCollectionView.cs
- SmtpDigestAuthenticationModule.cs
- ResourceDisplayNameAttribute.cs
- CodeTypeReference.cs
- TableAdapterManagerGenerator.cs
- HtmlElementEventArgs.cs
- StringConverter.cs
- InstancePersistenceEvent.cs
- TransformGroup.cs
- CodeIterationStatement.cs
- LocatorGroup.cs
- DesignerUtility.cs
- AssemblyResourceLoader.cs
- AxisAngleRotation3D.cs
- RemoteHelper.cs
- CalendarDesigner.cs
- CorrelationHandle.cs
- SystemInfo.cs
- DynamicValueConverter.cs
- List.cs
- NetworkInformationException.cs
- DataMemberConverter.cs
- BinaryObjectInfo.cs
- MulticastDelegate.cs
- DialogWindow.cs
- Hashtable.cs
- HttpHandlersSection.cs
- SHA1.cs
- BufferBuilder.cs
- TagMapInfo.cs
- WorkflowServiceAttributes.cs
- IdentityNotMappedException.cs
- DnsCache.cs
- RawKeyboardInputReport.cs
- TrackingValidationObjectDictionary.cs
- NGCUIElementCollectionSerializerAsync.cs
- CodeFieldReferenceExpression.cs
- OptimalTextSource.cs
- DataBoundControl.cs
- OdbcReferenceCollection.cs
- IChannel.cs
- Console.cs
- InvokeGenerator.cs
- OutputScopeManager.cs
- AssemblyCacheEntry.cs
- CounterCreationDataConverter.cs
- TraceProvider.cs
- Attributes.cs
- DefaultWorkflowTransactionService.cs
- XmlSerializerSection.cs
- TableParaClient.cs
- IRCollection.cs
- DataPager.cs
- SerializerProvider.cs
- _HeaderInfoTable.cs
- XmlComplianceUtil.cs
- TextAutomationPeer.cs
- DependencySource.cs
- ToolboxCategoryItems.cs
- PeerResolverMode.cs
- SqlFormatter.cs
- XmlDictionaryWriter.cs
- SimpleParser.cs
- CustomErrorCollection.cs
- FileLevelControlBuilderAttribute.cs
- RC2CryptoServiceProvider.cs
- EdmPropertyAttribute.cs
- BigInt.cs
- PolicyException.cs
- XmlNode.cs
- CriticalExceptions.cs
- ObjectRef.cs
- WindowsRegion.cs
- PocoPropertyAccessorStrategy.cs
- BrowserCapabilitiesFactory.cs
- XPathNodeIterator.cs
- DrawListViewColumnHeaderEventArgs.cs
- NameValueSectionHandler.cs
- UDPClient.cs
- XmlExtensionFunction.cs