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
- DesigntimeLicenseContext.cs
- XmlSecureResolver.cs
- CompiledIdentityConstraint.cs
- XmlSchemaValidationException.cs
- Triplet.cs
- Configuration.cs
- DataTable.cs
- MarshalByValueComponent.cs
- StateMachineWorkflow.cs
- SharedPerformanceCounter.cs
- CharStorage.cs
- ModelPerspective.cs
- SafeBitVector32.cs
- SqlXml.cs
- IntegerValidatorAttribute.cs
- Button.cs
- AppDomainManager.cs
- CardSpaceShim.cs
- XPathSingletonIterator.cs
- XmlMessageFormatter.cs
- OdbcParameter.cs
- SqlOuterApplyReducer.cs
- IsolatedStorageFilePermission.cs
- InputScopeNameConverter.cs
- SamlSecurityTokenAuthenticator.cs
- DotAtomReader.cs
- DataControlButton.cs
- StateWorkerRequest.cs
- NotFiniteNumberException.cs
- PagedDataSource.cs
- MappedMetaModel.cs
- ResourceDescriptionAttribute.cs
- FixedNode.cs
- DbParameterHelper.cs
- InputBuffer.cs
- ModifiableIteratorCollection.cs
- HtmlElementEventArgs.cs
- UnmanagedMemoryAccessor.cs
- LineVisual.cs
- LeaseManager.cs
- DocumentViewerBaseAutomationPeer.cs
- AdRotatorDesigner.cs
- Pens.cs
- _OverlappedAsyncResult.cs
- MenuBase.cs
- TextEditorTyping.cs
- InkCanvasSelectionAdorner.cs
- SrgsSemanticInterpretationTag.cs
- AnnotationObservableCollection.cs
- ReplacementText.cs
- AttributedMetaModel.cs
- CapacityStreamGeometryContext.cs
- TimeZone.cs
- ScriptReferenceBase.cs
- OlePropertyStructs.cs
- TypeUtils.cs
- RoutedEvent.cs
- DocumentEventArgs.cs
- ScalarRestriction.cs
- PersonalizableTypeEntry.cs
- PropertyPath.cs
- ProcessStartInfo.cs
- DataBoundControl.cs
- PreviousTrackingServiceAttribute.cs
- FormViewDeleteEventArgs.cs
- IsolatedStorageFilePermission.cs
- Types.cs
- ConfigUtil.cs
- BindStream.cs
- IISUnsafeMethods.cs
- ServiceTimeoutsBehavior.cs
- HttpDictionary.cs
- SchemaImporterExtensionsSection.cs
- InternalResources.cs
- CharacterBuffer.cs
- BamlResourceDeserializer.cs
- VerificationException.cs
- EntityModelSchemaGenerator.cs
- NameHandler.cs
- SignatureHelper.cs
- SizeChangedEventArgs.cs
- ListSourceHelper.cs
- elementinformation.cs
- ApplicationFileCodeDomTreeGenerator.cs
- DashStyle.cs
- XmlQueryTypeFactory.cs
- Transaction.cs
- HtmlShimManager.cs
- input.cs
- SqlClientPermission.cs
- DbConnectionHelper.cs
- ServiceMetadataContractBehavior.cs
- NonBatchDirectoryCompiler.cs
- HttpDigestClientCredential.cs
- Int32AnimationBase.cs
- SourceSwitch.cs
- ImageMap.cs
- SQLGuid.cs
- XmlSerializerAssemblyAttribute.cs
- _ProxyRegBlob.cs