diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb b/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb rename to snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IDesignerSerializationManagerSample/VB/idesignerserializationmanagersample.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IDesignerSerializationManagerSample/VB/idesignerserializationmanagersample.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CodeDomSerializerExceptionExample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializerException/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CodeDomSerializerExceptionExample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializerException/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ContextStackExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ContextStackExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/Program.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/Program.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/SampleObject.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/SampleObject.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/SampleObject.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/SampleObject.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/makefile b/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/makefile rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerSerializerAttribute/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerSerializerAttribute/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/INameCreationServiceExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/INameCreationServiceExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MoreEventArgsExamples/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MoreEventArgsExamples/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MoreEventHandlerExamples/VB/form1.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MoreEventHandlerExamples/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ActiveDesignerEventArgs/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/ActiveDesignerEventArgs/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ActiveDesignerEventArgs/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/ActiveDesignerEventArgs/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ActiveDesignerEventHandlerExample/VB/activedesignereventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ActiveDesignerEventHandler/Overview/activedesignereventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ActiveDesignerEventHandlerExample/VB/activedesignereventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ActiveDesignerEventHandler/Overview/activedesignereventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ArrayEditorExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/ArrayEditor/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ArrayEditorExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/ArrayEditor/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ByteViewerExample/VB/form1.vb b/snippets/visualbasic/System.ComponentModel.Design/ByteViewer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ByteViewerExample/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel.Design/ByteViewer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CheckoutExceptionExample/VB/checkoutexceptionexample.vb b/snippets/visualbasic/System.ComponentModel.Design/CheckoutException/Overview/checkoutexceptionexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CheckoutExceptionExample/VB/checkoutexceptionexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/CheckoutException/Overview/checkoutexceptionexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangedEventArgsExample/VB/componentchangedeventargsexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentChangedEventArgs/Overview/componentchangedeventargsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentChangedEventArgsExample/VB/componentchangedeventargsexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentChangedEventArgs/Overview/componentchangedeventargsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangedEventHandlerExample/VB/componentchangedeventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentChangedEventHandler/Overview/componentchangedeventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentChangedEventHandlerExample/VB/componentchangedeventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentChangedEventHandler/Overview/componentchangedeventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangingEventArgsExample2/VB/componentchangingeventargsexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentChangingEventArgs/Overview/componentchangingeventargsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentChangingEventArgsExample2/VB/componentchangingeventargsexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentChangingEventArgs/Overview/componentchangingeventargsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangingEventHandlerExample/VB/componentchangingeventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentChangingEventHandler/Overview/componentchangingeventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentChangingEventHandlerExample/VB/componentchangingeventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentChangingEventHandler/Overview/componentchangingeventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentDesignerExample/VB/examplecomponent.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentDesigner/Overview/examplecomponent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentDesignerExample/VB/examplecomponent.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentDesigner/Overview/examplecomponent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentEventArgsExample/VB/componenteventargsexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentEventArgs/Overview/componenteventargsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentEventArgsExample/VB/componenteventargsexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentEventArgs/Overview/componenteventargsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentEventHandlerExample/VB/componenteventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentEventHandler/Overview/componenteventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentEventHandlerExample/VB/componenteventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentEventHandler/Overview/componenteventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentRenameEventArgsExample/VB/componentrenameeventargsexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentRenameEventArgs/Overview/componentrenameeventargsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentRenameEventArgsExample/VB/componentrenameeventargsexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentRenameEventArgs/Overview/componentrenameeventargsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentRenameEventHandlerExample/VB/componentrenameeventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentRenameEventHandler/Overview/componentrenameeventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentRenameEventHandlerExample/VB/componentrenameeventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentRenameEventHandler/Overview/componentrenameeventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerCollectionExample/VB/examplecomponent.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerCollection/Overview/examplecomponent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerCollectionExample/VB/examplecomponent.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerCollection/Overview/examplecomponent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerEventArgsExample/VB/designereventargsexample.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerEventArgs/Overview/designereventargsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerEventArgsExample/VB/designereventargsexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerEventArgs/Overview/designereventargsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerEventHandlerExample/VB/designereventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerEventHandler/Overview/designereventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerEventHandlerExample/VB/designereventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerEventHandler/Overview/designereventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerOptionService/VB/designeroptionservicecontrol.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/designeroptionservicecontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerOptionService/VB/designeroptionservicecontrol.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/designeroptionservicecontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IDesignerOptionServiceExample/VB/idesigneroptionservicecontrol.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IDesignerOptionServiceExample/VB/idesigneroptionservicecontrol.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerTransaction Sample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerTransaction/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerTransaction Sample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerTransaction/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerTransactionCloseEventArgsExample/VB/designertransactioncloseeventargsexample.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerTransactionCloseEventArgs/Overview/designertransactioncloseeventargsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerTransactionCloseEventArgsExample/VB/designertransactioncloseeventargsexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerTransactionCloseEventArgs/Overview/designertransactioncloseeventargsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerTransactionCloseEventHandlerExample/VB/designertransactioncloseeventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerTransactionCloseEventHandler/Overview/designertransactioncloseeventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerTransactionCloseEventHandlerExample/VB/designertransactioncloseeventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerTransactionCloseEventHandler/Overview/designertransactioncloseeventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerb Example/VB/component1.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerVerb/Overview/component1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerVerb Example/VB/component1.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerVerb/Overview/component1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IComponentChangeServiceSample2/VB/icomponentchangeserviceexample.vb b/snippets/visualbasic/System.ComponentModel.Design/IComponentChangeService/Overview/icomponentchangeserviceexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IComponentChangeServiceSample2/VB/icomponentchangeserviceexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/IComponentChangeService/Overview/icomponentchangeserviceexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IDesignerExample/VB/testcontrol.vb b/snippets/visualbasic/System.ComponentModel.Design/IDesigner/Overview/testcontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IDesignerExample/VB/testcontrol.vb rename to snippets/visualbasic/System.ComponentModel.Design/IDesigner/Overview/testcontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IDesignerEventServiceExample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/IDesignerEventService/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IDesignerEventServiceExample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/IDesignerEventService/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ControlDesignerExample/VB/controldesignerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/IDesignerFilter/Overview/controldesignerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ControlDesignerExample/VB/controldesignerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/IDesignerFilter/Overview/controldesignerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IDesignerHostExample/VB/idesignerhostexample.vb b/snippets/visualbasic/System.ComponentModel.Design/IDesignerHost/Overview/idesignerhostexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IDesignerHostExample/VB/idesignerhostexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/IDesignerHost/Overview/idesignerhostexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerHostAcquisition/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/IDesignerHost/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerHostAcquisition/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/IDesignerHost/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IDictionaryServiceExample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/IDictionaryService/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IDictionaryServiceExample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/IDictionaryService/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IEventBindingServiceExample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/IEventBindingService/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IEventBindingServiceExample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/IEventBindingService/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ExtenderListServiceExample/VB/extenderlistserviceexample.vb b/snippets/visualbasic/System.ComponentModel.Design/IExtenderListService/Overview/extenderlistserviceexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ExtenderListServiceExample/VB/extenderlistserviceexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/IExtenderListService/Overview/extenderlistserviceexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ExtenderServiceExample/VB/extenderservicedesigner.vb b/snippets/visualbasic/System.ComponentModel.Design/IExtenderProviderService/Overview/extenderservicedesigner.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ExtenderServiceExample/VB/extenderservicedesigner.vb rename to snippets/visualbasic/System.ComponentModel.Design/IExtenderProviderService/Overview/extenderservicedesigner.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IHelpServiceExample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/IHelpService/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IHelpServiceExample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/IHelpService/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb b/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb rename to snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IReferenceServiceExample/VB/ireferenceserviceexample.vb b/snippets/visualbasic/System.ComponentModel.Design/IReferenceService/Overview/ireferenceserviceexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IReferenceServiceExample/VB/ireferenceserviceexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/IReferenceService/Overview/ireferenceserviceexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IResourceServiceExample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/IResourceService/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IResourceServiceExample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/IResourceService/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IRootDesigner Sample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/IRootDesigner/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IRootDesigner Sample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/IRootDesigner/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ISelectionServiceSample/VB/selectioncomponent.vb b/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/Overview/selectioncomponent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ISelectionServiceSample/VB/selectioncomponent.vb rename to snippets/visualbasic/System.ComponentModel.Design/ISelectionService/Overview/selectioncomponent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/csiselectionserviceexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/csiselectionserviceexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/makefile b/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/makefile rename to snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb b/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IServiceContainerExample/VB/serviceform.vb b/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/Overview/serviceform.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IServiceContainerExample/VB/serviceform.vb rename to snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/Overview/serviceform.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ITypeDescriptorFilterService/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/ITypeDescriptorFilterService/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ITypeDescriptorFilterService/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/ITypeDescriptorFilterService/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ITypeResolutionServiceExample/VB/ityperesolutionservicecontrol.vb b/snippets/visualbasic/System.ComponentModel.Design/ITypeResolutionService/Overview/ityperesolutionservicecontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ITypeResolutionServiceExample/VB/ityperesolutionservicecontrol.vb rename to snippets/visualbasic/System.ComponentModel.Design/ITypeResolutionService/Overview/ityperesolutionservicecontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ServiceArchitectureExample/VB/serviceform.vb b/snippets/visualbasic/System.ComponentModel.Design/ServiceContainer/Overview/serviceform.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ServiceArchitectureExample/VB/serviceform.vb rename to snippets/visualbasic/System.ComponentModel.Design/ServiceContainer/Overview/serviceform.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ServiceCreatorCallback Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/ServiceCreatorCallback/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ServiceCreatorCallback Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/ServiceCreatorCallback/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/LocalizationExtenderProviderExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/ViewTechnology/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/LocalizationExtenderProviderExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/ViewTechnology/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb b/snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb b/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb rename to snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/makefile b/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/makefile rename to snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb b/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb rename to snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.AttributeCollection Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.AttributeCollection Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Contains Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Contains/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Contains Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Contains/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Contains1 Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Contains/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Contains1 Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Contains/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Count Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Count/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Count Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Count/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.GetEnumerator Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/GetEnumerator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.GetEnumerator Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/GetEnumerator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.this Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.this Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.this1 Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Item/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.this1 Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Item/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Matches Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Matches/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Matches Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Matches/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Matches1 Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Matches/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Matches1 Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Matches/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.IsBusy/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/IsBusy/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.IsBusy/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/IsBusy/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/app.config b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/app.config rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/app.config diff --git a/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/backgroundworkersimple.vbproj b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/backgroundworkersimple.vbproj new file mode 100644 index 00000000000..98dbdf9a6e0 --- /dev/null +++ b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/backgroundworkersimple.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb similarity index 57% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb index 06bcedb1a0a..c5d330adca6 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb +++ b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb @@ -1,25 +1,22 @@ ' ' -Imports System.Collections Imports System.ComponentModel -Imports System.Drawing -Imports System.Threading Imports System.Windows.Forms ' Public Class FibonacciForm - Inherits System.Windows.Forms.Form + Inherits Form ' Private numberToCompute As Integer = 0 Private highestPercentageReached As Integer = 0 ' - Private numericUpDown1 As System.Windows.Forms.NumericUpDown - Private WithEvents startAsyncButton As System.Windows.Forms.Button - Private WithEvents cancelAsyncButton As System.Windows.Forms.Button - Private progressBar1 As System.Windows.Forms.ProgressBar - Private resultLabel As System.Windows.Forms.Label + Private numericUpDown1 As NumericUpDown + Private WithEvents startAsyncButton As Button + Private WithEvents cancelAsyncButton As Button + Private progressBar1 As ProgressBar + Private resultLabel As Label Private WithEvents backgroundWorker1 As System.ComponentModel.BackgroundWorker @@ -28,7 +25,7 @@ Public Class FibonacciForm End Sub ' - Private Sub startAsyncButton_Click(ByVal sender As System.Object, _ + Private Sub startAsyncButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles startAsyncButton.Click @@ -37,15 +34,15 @@ Public Class FibonacciForm ' Disable the UpDown control until ' the asynchronous operation is done. - Me.numericUpDown1.Enabled = False + numericUpDown1.Enabled = False ' Disable the Start button until ' the asynchronous operation is done. - Me.startAsyncButton.Enabled = False + startAsyncButton.Enabled = False ' Enable the Cancel button while ' the asynchronous operation runs. - Me.cancelAsyncButton.Enabled = True + cancelAsyncButton.Enabled = True ' Get the value from the UpDown control. numberToCompute = CInt(numericUpDown1.Value) @@ -58,33 +55,33 @@ Public Class FibonacciForm ' Start the asynchronous operation. backgroundWorker1.RunWorkerAsync(numberToCompute) ' - End Sub + End Sub ' ' - Private Sub cancelAsyncButton_Click( _ - ByVal sender As System.Object, _ + Private Sub cancelAsyncButton_Click( + ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles cancelAsyncButton.Click - + ' Cancel the asynchronous operation. - Me.backgroundWorker1.CancelAsync() + backgroundWorker1.CancelAsync() ' Disable the Cancel button. cancelAsyncButton.Enabled = False - + End Sub ' ' ' This event handler is where the actual work is done. - Private Sub backgroundWorker1_DoWork( _ - ByVal sender As Object, _ + Private Sub backgroundWorker1_DoWork( + ByVal sender As Object, ByVal e As DoWorkEventArgs) _ Handles backgroundWorker1.DoWork ' Get the BackgroundWorker object that raised this event. - Dim worker As BackgroundWorker = _ + Dim worker As BackgroundWorker = CType(sender, BackgroundWorker) ' Assign the result of the computation @@ -98,7 +95,7 @@ Public Class FibonacciForm ' ' This event handler deals with the results of the ' background operation. - Private Sub backgroundWorker1_RunWorkerCompleted( _ + Private Sub backgroundWorker1_RunWorkerCompleted( ByVal sender As Object, ByVal e As RunWorkerCompletedEventArgs) _ Handles backgroundWorker1.RunWorkerCompleted @@ -119,7 +116,7 @@ Public Class FibonacciForm End If ' Enable the UpDown control. - Me.numericUpDown1.Enabled = True + numericUpDown1.Enabled = True ' Enable the Start button. startAsyncButton.Enabled = True @@ -131,11 +128,11 @@ Public Class FibonacciForm ' ' This event handler updates the progress bar. - Private Sub backgroundWorker1_ProgressChanged( _ + Private Sub backgroundWorker1_ProgressChanged( ByVal sender As Object, ByVal e As ProgressChangedEventArgs) _ Handles backgroundWorker1.ProgressChanged - Me.progressBar1.Value = e.ProgressPercentage + progressBar1.Value = e.ProgressPercentage End Sub ' @@ -144,15 +141,15 @@ Public Class FibonacciForm ' This is the method that does the actual work. For this ' example, it computes a Fibonacci number and ' reports progress as it does its work. - Function ComputeFibonacci( _ - ByVal n As Integer, _ - ByVal worker As BackgroundWorker, _ + Function ComputeFibonacci( + ByVal n As Integer, + ByVal worker As BackgroundWorker, ByVal e As DoWorkEventArgs) As Long ' The parameter n must be >= 0 and <= 91. ' Fib(n), with n > 91, overflows a long. If n < 0 OrElse n > 91 Then - Throw New ArgumentException( _ + Throw New ArgumentException( "value must be >= 0 and <= 91", "n") End If @@ -171,18 +168,18 @@ Public Class FibonacciForm ' If worker.CancellationPending Then e.Cancel = True - ' + ' Else If n < 2 Then result = 1 Else - result = ComputeFibonacci(n - 1, worker, e) + _ + result = ComputeFibonacci(n - 1, worker, e) + ComputeFibonacci(n - 2, worker, e) End If ' ' Report progress as a percentage of the total task. - Dim percentComplete As Integer = _ + Dim percentComplete As Integer = CSng(n) / CSng(numberToCompute) * 100 If percentComplete > highestPercentageReached Then highestPercentageReached = percentComplete @@ -200,76 +197,76 @@ Public Class FibonacciForm Private Sub InitializeComponent() - Me.numericUpDown1 = New System.Windows.Forms.NumericUpDown - Me.startAsyncButton = New System.Windows.Forms.Button - Me.cancelAsyncButton = New System.Windows.Forms.Button - Me.resultLabel = New System.Windows.Forms.Label - Me.progressBar1 = New System.Windows.Forms.ProgressBar - Me.backgroundWorker1 = New System.ComponentModel.BackgroundWorker - CType(Me.numericUpDown1, System.ComponentModel.ISupportInitialize).BeginInit() - Me.SuspendLayout() + numericUpDown1 = New NumericUpDown + startAsyncButton = New Button + cancelAsyncButton = New Button + resultLabel = New Label + progressBar1 = New ProgressBar + backgroundWorker1 = New System.ComponentModel.BackgroundWorker + CType(numericUpDown1, System.ComponentModel.ISupportInitialize).BeginInit() + SuspendLayout() ' 'numericUpDown1 ' - Me.numericUpDown1.Location = New System.Drawing.Point(16, 16) - Me.numericUpDown1.Maximum = New Decimal(New Integer() {91, 0, 0, 0}) - Me.numericUpDown1.Minimum = New Decimal(New Integer() {1, 0, 0, 0}) - Me.numericUpDown1.Name = "numericUpDown1" - Me.numericUpDown1.Size = New System.Drawing.Size(80, 20) - Me.numericUpDown1.TabIndex = 0 - Me.numericUpDown1.Value = New Decimal(New Integer() {1, 0, 0, 0}) + numericUpDown1.Location = New System.Drawing.Point(16, 16) + numericUpDown1.Maximum = New Decimal(New Integer() {91, 0, 0, 0}) + numericUpDown1.Minimum = New Decimal(New Integer() {1, 0, 0, 0}) + numericUpDown1.Name = "numericUpDown1" + numericUpDown1.Size = New System.Drawing.Size(80, 20) + numericUpDown1.TabIndex = 0 + numericUpDown1.Value = New Decimal(New Integer() {1, 0, 0, 0}) ' 'startAsyncButton ' - Me.startAsyncButton.Location = New System.Drawing.Point(16, 72) - Me.startAsyncButton.Name = "startAsyncButton" - Me.startAsyncButton.Size = New System.Drawing.Size(120, 23) - Me.startAsyncButton.TabIndex = 1 - Me.startAsyncButton.Text = "Start Async" + startAsyncButton.Location = New System.Drawing.Point(16, 72) + startAsyncButton.Name = "startAsyncButton" + startAsyncButton.Size = New System.Drawing.Size(120, 23) + startAsyncButton.TabIndex = 1 + startAsyncButton.Text = "Start Async" ' 'cancelAsyncButton ' - Me.cancelAsyncButton.Enabled = False - Me.cancelAsyncButton.Location = New System.Drawing.Point(153, 72) - Me.cancelAsyncButton.Name = "cancelAsyncButton" - Me.cancelAsyncButton.Size = New System.Drawing.Size(119, 23) - Me.cancelAsyncButton.TabIndex = 2 - Me.cancelAsyncButton.Text = "Cancel Async" + cancelAsyncButton.Enabled = False + cancelAsyncButton.Location = New System.Drawing.Point(153, 72) + cancelAsyncButton.Name = "cancelAsyncButton" + cancelAsyncButton.Size = New System.Drawing.Size(119, 23) + cancelAsyncButton.TabIndex = 2 + cancelAsyncButton.Text = "Cancel Async" ' 'resultLabel ' - Me.resultLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D - Me.resultLabel.Location = New System.Drawing.Point(112, 16) - Me.resultLabel.Name = "resultLabel" - Me.resultLabel.Size = New System.Drawing.Size(160, 23) - Me.resultLabel.TabIndex = 3 - Me.resultLabel.Text = "(no result)" - Me.resultLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter + resultLabel.BorderStyle = BorderStyle.Fixed3D + resultLabel.Location = New System.Drawing.Point(112, 16) + resultLabel.Name = "resultLabel" + resultLabel.Size = New System.Drawing.Size(160, 23) + resultLabel.TabIndex = 3 + resultLabel.Text = "(no result)" + resultLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'progressBar1 ' - Me.progressBar1.Location = New System.Drawing.Point(18, 48) - Me.progressBar1.Name = "progressBar1" - Me.progressBar1.Size = New System.Drawing.Size(256, 8) - Me.progressBar1.TabIndex = 4 + progressBar1.Location = New System.Drawing.Point(18, 48) + progressBar1.Name = "progressBar1" + progressBar1.Size = New System.Drawing.Size(256, 8) + progressBar1.TabIndex = 4 ' 'backgroundWorker1 ' - Me.backgroundWorker1.WorkerReportsProgress = True - Me.backgroundWorker1.WorkerSupportsCancellation = True + backgroundWorker1.WorkerReportsProgress = True + backgroundWorker1.WorkerSupportsCancellation = True ' 'FibonacciForm ' - Me.ClientSize = New System.Drawing.Size(292, 118) - Me.Controls.Add(Me.progressBar1) - Me.Controls.Add(Me.resultLabel) - Me.Controls.Add(Me.cancelAsyncButton) - Me.Controls.Add(Me.startAsyncButton) - Me.Controls.Add(Me.numericUpDown1) - Me.Name = "FibonacciForm" - Me.Text = "Fibonacci Calculator" - CType(Me.numericUpDown1, System.ComponentModel.ISupportInitialize).EndInit() - Me.ResumeLayout(False) + ClientSize = New System.Drawing.Size(292, 118) + Controls.Add(progressBar1) + Controls.Add(resultLabel) + Controls.Add(cancelAsyncButton) + Controls.Add(startAsyncButton) + Controls.Add(numericUpDown1) + Name = "FibonacciForm" + Text = "Fibonacci Calculator" + CType(numericUpDown1, System.ComponentModel.ISupportInitialize).EndInit() + ResumeLayout(False) End Sub @@ -279,4 +276,4 @@ Public Class FibonacciForm End Sub End Class -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.designer.vb b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.designer.vb rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.resx b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.resx rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.vb b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.vb rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BindableAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BindableAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute1 Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BindableAttribute/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute1 Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BindableAttribute/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.Bindable Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BindableAttribute/Bindable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.Bindable Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BindableAttribute/Bindable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BindableAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BindableAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb b/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb rename to snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute.BrowsableAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute.BrowsableAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BrowsableAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute.Browsable Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Browsable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute.Browsable Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Browsable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CancelEventArgs Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/CancelEventArgs/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CancelEventArgs Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/CancelEventArgs/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CategoryAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/CategoryAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CategoryAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/CategoryAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb b/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb rename to snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb b/snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb rename to snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStrip/VB/form1.vb b/snippets/visualbasic/System.ComponentModel/ComponentResourceManager/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStrip/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel/ComponentResourceManager/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultEventAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DefaultEventAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultEventAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DefaultEventAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultPropertyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DefaultPropertyAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultPropertyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DefaultPropertyAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultValueAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DefaultValueAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultValueAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DefaultValueAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DescriptionAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DescriptionAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DescriptionAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DescriptionAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignOnlyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DesignOnlyAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DesignOnlyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DesignOnlyAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DesignerAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DesignerAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerCategoryAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DesignerCategoryAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerCategoryAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DesignerCategoryAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.DesignerSerializationVisibilityAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.DesignerSerializationVisibilityAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.Visibility Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/Visibility/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.Visibility Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/Visibility/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.Example/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/DoWorkEventArgs/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.Example/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/DoWorkEventArgs/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EditorAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EditorAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EditorAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EditorAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/EditorBrowsableAttribute/VB/ctleditorbrowsable.vb b/snippets/visualbasic/System.ComponentModel/EditorBrowsableAttribute/Overview/ctleditorbrowsable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/EditorBrowsableAttribute/VB/ctleditorbrowsable.vb rename to snippets/visualbasic/System.ComponentModel/EditorBrowsableAttribute/Overview/ctleditorbrowsable.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/EventDescriptor/VB/eventdescriptor.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptor/Overview/eventdescriptor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/EventDescriptor/VB/eventdescriptor.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptor/Overview/eventdescriptor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.EventDescriptorCollection Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.EventDescriptorCollection Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Count Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Count/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Count Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Count/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Find Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Find/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Find Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Find/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.GetEnumerator Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/GetEnumerator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.GetEnumerator Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/GetEnumerator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.InternalSort Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/InternalSort/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.InternalSort Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/InternalSort/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.this Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.this Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.this1 Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Item/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.this1 Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Item/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ExpandableObjectConverter/VB/DemoControl.vb b/snippets/visualbasic/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ExpandableObjectConverter/VB/DemoControl.vb rename to snippets/visualbasic/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Binding_Editable/VB/binding_editable.vb b/snippets/visualbasic/System.ComponentModel/IBindingList/Overview/binding_editable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Binding_Editable/VB/binding_editable.vb rename to snippets/visualbasic/System.ComponentModel/IBindingList/Overview/binding_editable.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpLabel/VB/HelpLabel.vb b/snippets/visualbasic/System.ComponentModel/IExtenderProvider/Overview/HelpLabel.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpLabel/VB/HelpLabel.vb rename to snippets/visualbasic/System.ComponentModel/IExtenderProvider/Overview/HelpLabel.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpLabel/VB/makefile b/snippets/visualbasic/System.ComponentModel/IExtenderProvider/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpLabel/VB/makefile rename to snippets/visualbasic/System.ComponentModel/IExtenderProvider/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/EmployeeListSource.vb b/snippets/visualbasic/System.ComponentModel/IListSource/Overview/EmployeeListSource.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/EmployeeListSource.vb rename to snippets/visualbasic/System.ComponentModel/IListSource/Overview/EmployeeListSource.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/makefile b/snippets/visualbasic/System.ComponentModel/IListSource/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/makefile rename to snippets/visualbasic/System.ComponentModel/IListSource/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IPropertyChangeExample/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/INotifyPropertyChanged/PropertyChanged/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IPropertyChangeExample/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/INotifyPropertyChanged/PropertyChanged/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/Project.vbproj b/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/Project.vbproj rename to snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb b/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/InstanceDescriptorSample/VB/instancedescriptor.vb b/snippets/visualbasic/System.ComponentModel/ITypeDescriptorContext/Overview/instancedescriptor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/InstanceDescriptorSample/VB/instancedescriptor.vb rename to snippets/visualbasic/System.ComponentModel/ITypeDescriptorContext/Overview/instancedescriptor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/SortableBindingList.vb b/snippets/visualbasic/System.ComponentModel/ITypedList/Overview/SortableBindingList.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/SortableBindingList.vb rename to snippets/visualbasic/System.ComponentModel/ITypedList/Overview/SortableBindingList.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/makefile b/snippets/visualbasic/System.ComponentModel/ITypedList/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/makefile rename to snippets/visualbasic/System.ComponentModel/ITypedList/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/enumException/VB/enumexception.vb b/snippets/visualbasic/System.ComponentModel/InvalidEnumArgumentException/Overview/enumexception.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/enumException/VB/enumexception.vb rename to snippets/visualbasic/System.ComponentModel/InvalidEnumArgumentException/Overview/enumexception.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/LicenseException/VB/licenseex.vb b/snippets/visualbasic/System.ComponentModel/LicenseException/Overview/licenseex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/LicenseException/VB/licenseex.vb rename to snippets/visualbasic/System.ComponentModel/LicenseException/Overview/licenseex.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseManager Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/LicenseManager/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseManager Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/LicenseManager/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseProviderAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/LicenseProviderAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseProviderAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/LicenseProviderAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute.LocalizableAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute.LocalizableAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/LocalizableAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute.IsLocalizable Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/IsLocalizable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute.IsLocalizable Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/LocalizableAttribute/IsLocalizable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/LocalizableAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.LookupBindingPropertiesAttribute/VB/DemoControl.vb b/snippets/visualbasic/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.LookupBindingPropertiesAttribute/VB/DemoControl.vb rename to snippets/visualbasic/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute.MergablePropertyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute.MergablePropertyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute.AllowMerge Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/AllowMerge/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute.AllowMerge Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/AllowMerge/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/Overview/source.vb diff --git a/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControl.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControl.vb new file mode 100644 index 00000000000..955f4c9c596 --- /dev/null +++ b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControl.vb @@ -0,0 +1,13 @@ +' +Imports System.ComponentModel +Imports System.Windows.Forms + + +Public Class DemoControl + Inherits Control + + Public Sub New() + + End Sub +End Class +' diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControlDesigner.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControlDesigner.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControlDesigner.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControlDesigner.vb diff --git a/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/ReadOnlyPropertyDescriptor.vbproj b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/ReadOnlyPropertyDescriptor.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/ReadOnlyPropertyDescriptor.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/SerializeReadOnlyPropertyDescriptor.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/SerializeReadOnlyPropertyDescriptor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/SerializeReadOnlyPropertyDescriptor.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/SerializeReadOnlyPropertyDescriptor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/PropertyDescriptor/VB/propertydescriptor.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/propertydescriptor.vb similarity index 59% rename from snippets/visualbasic/VS_Snippets_Winforms/PropertyDescriptor/VB/propertydescriptor.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/propertydescriptor.vb index a5633085ff6..e54c177a772 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/PropertyDescriptor/VB/propertydescriptor.vb +++ b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/propertydescriptor.vb @@ -1,7 +1,12 @@ Imports System.ComponentModel +Imports System.Windows.Forms Public NotInheritable Class Form1 - Inherits System.Windows.Forms.Form + Inherits Form + + Public Shared Sub Main() + + End Sub #Region " Windows Form Designer generated code " @@ -24,8 +29,17 @@ Public NotInheritable Class Form1 End If MyBase.Dispose(disposing) End Sub - Friend WithEvents TextBox1 As System.Windows.Forms.TextBox - Friend WithEvents Button1 As System.Windows.Forms.Button + + Friend WithEvents TextBox1 As TextBox + Friend WithEvents Button1 As Button + + Private Function ShouldSerializeTextBox1() As Boolean + Return True + End Function + + Private Function ShouldSerializeButton1() As Boolean + Return True + End Function 'Required by the Windows Form Designer Private components As System.ComponentModel.Container @@ -34,32 +48,32 @@ Public NotInheritable Class Form1 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Private Sub InitializeComponent() - Me.TextBox1 = New System.Windows.Forms.TextBox() - Me.Button1 = New System.Windows.Forms.Button() - Me.SuspendLayout() + TextBox1 = New TextBox() + Button1 = New Button() + SuspendLayout() ' 'TextBox1 ' - Me.TextBox1.Multiline = True - Me.TextBox1.Name = "TextBox1" - Me.TextBox1.Size = New System.Drawing.Size(224, 96) - Me.TextBox1.TabIndex = 0 - Me.TextBox1.Text = "TextBox1" + TextBox1.Multiline = True + TextBox1.Name = "TextBox1" + TextBox1.Size = New System.Drawing.Size(224, 96) + TextBox1.TabIndex = 0 + TextBox1.Text = "TextBox1" ' 'Button1 ' - Me.Button1.Location = New System.Drawing.Point(24, 136) - Me.Button1.Name = "Button1" - Me.Button1.TabIndex = 1 - Me.Button1.Text = "Button1" + Button1.Location = New System.Drawing.Point(24, 136) + Button1.Name = "Button1" + Button1.TabIndex = 1 + Button1.Text = "Button1" ' 'Form1 ' - Me.ClientSize = New System.Drawing.Size(292, 273) - Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.Button1, Me.TextBox1}) - Me.Name = "Form1" - Me.Text = "Form1" - Me.ResumeLayout(False) + ClientSize = New System.Drawing.Size(292, 273) + Controls.AddRange(New Control() {Button1, TextBox1}) + Name = "Form1" + Text = "Form1" + ResumeLayout(False) End Sub @@ -74,9 +88,9 @@ Public NotInheritable Class Form1 Dim myProperty As PropertyDescriptor = properties.Find("Text", False) ' Prints the property and the property description. - TextBox1.Text += myProperty.DisplayName & Microsoft.VisualBasic.ControlChars.Cr - TextBox1.Text += myProperty.Description & Microsoft.VisualBasic.ControlChars.Cr - TextBox1.Text += myProperty.Category & Microsoft.VisualBasic.ControlChars.Cr + TextBox1.Text += myProperty.DisplayName & ControlChars.Cr + TextBox1.Text += myProperty.Description & ControlChars.Cr + TextBox1.Text += myProperty.Category & ControlChars.Cr ' End Sub End Class diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Count Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Count/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Count Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Count/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Find Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Find/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Find Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Find/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.GetEnumerator Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.GetEnumerator Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this1 Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Item/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this1 Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Item/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ProvidePropertyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/ProvidePropertyAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ProvidePropertyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/ProvidePropertyAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute.ReadOnlyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute.ReadOnlyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute.IsReadOnly Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/IsReadOnly/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute.IsReadOnly Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/IsReadOnly/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RefreshEventHandler/VB/refreshevent.vb b/snippets/visualbasic/System.ComponentModel/RefreshEventHandler/Overview/refreshevent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RefreshEventHandler/VB/refreshevent.vb rename to snippets/visualbasic/System.ComponentModel/RefreshEventHandler/Overview/refreshevent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RunInstallerAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/RunInstallerAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RunInstallerAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/RunInstallerAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb b/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb rename to snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverterAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/TypeConverterAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverterAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/TypeConverterAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerServices/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/TypeDescriptor/GetProperties/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerServices/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/TypeDescriptor/GetProperties/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WarningException/VB/warningex_doc.vb b/snippets/visualbasic/System.ComponentModel/WarningException/Overview/warningex_doc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WarningException/VB/warningex_doc.vb rename to snippets/visualbasic/System.ComponentModel/WarningException/Overview/warningex_doc.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Win32Exception/VB/win32exception.vb b/snippets/visualbasic/System.ComponentModel/Win32Exception/Overview/win32exception.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Win32Exception/VB/win32exception.vb rename to snippets/visualbasic/System.ComponentModel/Win32Exception/Overview/win32exception.vb diff --git a/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.vbproj b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.Designer.vb b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.resx b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.resx rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb similarity index 85% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb index c5add826687..bbf69ec68dc 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb +++ b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb @@ -1,9 +1,15 @@ ' Imports System.Configuration Imports System.ComponentModel +Imports System.Windows.Forms +Imports System.Drawing Public Class Form1 + Public Shared Sub Main() + + End Sub + Private WithEvents frmSettings1 As New FormSettings ' @@ -16,21 +22,21 @@ Public Class Form1 ' 'Data bind settings properties with straightforward associations. - Dim bndBackColor As New Binding("BackColor", frmSettings1, "FormBackColor", _ + Dim bndBackColor As New Binding("BackColor", frmSettings1, "FormBackColor", True, DataSourceUpdateMode.OnPropertyChanged) - Me.DataBindings.Add(bndBackColor) - Dim bndLocation As New Binding("Location", frmSettings1, "FormLocation", _ + DataBindings.Add(bndBackColor) + Dim bndLocation As New Binding("Location", frmSettings1, "FormLocation", True, DataSourceUpdateMode.OnPropertyChanged) - Me.DataBindings.Add(bndLocation) + DataBindings.Add(bndLocation) ' Assign Size property, since databinding to Size doesn't work well. - Me.Size = frmSettings1.FormSize + Size = frmSettings1.FormSize 'For more complex associations, manually assign associations. Dim savedText As String = frmSettings1.FormText 'Since there is no default value for FormText. If (savedText IsNot Nothing) Then - Me.Text = savedText + Text = savedText End If ' End Sub @@ -40,10 +46,10 @@ Public Class Form1 Private Sub Form1_FormClosing_1(ByVal sender As Object, ByVal e As _ FormClosingEventArgs) Handles MyBase.FormClosing 'Synchronize manual associations first. - frmSettings1.FormText = Me.Text + "."c + frmSettings1.FormText = Text + "."c ' Save size settings manually. - frmSettings1.FormSize = Me.Size + frmSettings1.FormSize = Size frmSettings1.Save() End Sub @@ -52,9 +58,9 @@ Public Class Form1 ' Private Sub btnBackColor_Click(ByVal sender As Object, ByVal e As EventArgs) _ Handles btnBackColor.Click - If System.Windows.Forms.DialogResult.OK = colorDialog1.ShowDialog() Then + If DialogResult.OK = colorDialog1.ShowDialog() Then Dim c As Color = colorDialog1.Color - Me.BackColor = c + BackColor = c End If End Sub ' @@ -63,7 +69,7 @@ Public Class Form1 Private Sub btnReset_Click(ByVal sender As Object, ByVal e As EventArgs) _ Handles btnReset.Click frmSettings1.Reset() - Me.BackColor = SystemColors.Control + BackColor = SystemColors.Control End Sub ' @@ -85,10 +91,10 @@ Public Class Form1 Private Sub frmSettings1_SettingsSaving(ByVal sender As Object, ByVal e As _ CancelEventArgs) Handles frmSettings1.SettingsSaving 'Should check for settings changes first. - Dim dr As DialogResult = MessageBox.Show( _ - "Save current values for application settings?", "Save Settings", _ + Dim dr As DialogResult = MessageBox.Show( + "Save current values for application settings?", "Save Settings", MessageBoxButtons.YesNo) - If (System.Windows.Forms.DialogResult.No = dr) Then + If (DialogResult.No = dr) Then e.Cancel = True End If End Sub @@ -100,7 +106,7 @@ End Class NotInheritable Class FormSettings Inherits ApplicationSettingsBase - _ + Public Property FormText() As String Get Return CStr(Me("FormText")) @@ -111,7 +117,7 @@ NotInheritable Class FormSettings End Property ' - _ + Public Property FormLocation() As Point Get Return CType(Me("FormLocation"), Point) @@ -122,7 +128,7 @@ NotInheritable Class FormSettings End Property ' - _ + Public Property FormSize() As Size Get Return CType(Me("FormSize"), Size) @@ -132,7 +138,7 @@ NotInheritable Class FormSettings End Set End Property - _ + Public Property FormBackColor() As Color Get Return CType(Me("FormBackColor"), Color) @@ -144,4 +150,4 @@ NotInheritable Class FormSettings End Class ' -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Resources.resx b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Settings.settings b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BitmapEditorExample/VB/usercontrol1.vb b/snippets/visualbasic/System.Drawing.Design/BitmapEditor/Overview/usercontrol1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BitmapEditorExample/VB/usercontrol1.vb rename to snippets/visualbasic/System.Drawing.Design/BitmapEditor/Overview/usercontrol1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CategoryNameCollectionExample/VB/toolboxcategorynamescontrol.vb b/snippets/visualbasic/System.Drawing.Design/CategoryNameCollection/Overview/toolboxcategorynamescontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CategoryNameCollectionExample/VB/toolboxcategorynamescontrol.vb rename to snippets/visualbasic/System.Drawing.Design/CategoryNameCollection/Overview/toolboxcategorynamescontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IToolboxServiceExample1/VB/itoolboxservicecontrol.vb b/snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/itoolboxservicecontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IToolboxServiceExample1/VB/itoolboxservicecontrol.vb rename to snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/itoolboxservicecontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/VB/textdatatextboxcomponent.vb b/snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/VB/textdatatextboxcomponent.vb rename to snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb b/snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AngleEditor/VB/angleeditor.vb b/snippets/visualbasic/System.Drawing.Design/UITypeEditor/Overview/angleeditor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AngleEditor/VB/angleeditor.vb rename to snippets/visualbasic/System.Drawing.Design/UITypeEditor/Overview/angleeditor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.DocumentDesigner/VB/makefile b/snippets/visualbasic/System.Drawing.Design/UITypeEditorEditStyle/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.DocumentDesigner/VB/makefile rename to snippets/visualbasic/System.Drawing.Design/UITypeEditorEditStyle/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.DocumentDesigner/VB/marqueeborder.vb b/snippets/visualbasic/System.Drawing.Design/UITypeEditorEditStyle/Overview/marqueeborder.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.DocumentDesigner/VB/marqueeborder.vb rename to snippets/visualbasic/System.Drawing.Design/UITypeEditorEditStyle/Overview/marqueeborder.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ConstructingDrawingPaths/VB/Class1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/FillMode/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ConstructingDrawingPaths/VB/Class1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/FillMode/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/Project.csproj b/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/Project.csproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/Project.csproj rename to snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/Project.csproj diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingABrush/VB/Class1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/HatchBrush/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingABrush/VB/Class1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/HatchBrush/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingaGradientBrush/VB/Class1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingaGradientBrush/VB/Class1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RotateColors/VB/Form1.vb b/snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/.ctor/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RotateColors/VB/Form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/.ctor/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RecoloringImages/VB/Class1.vb b/snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RecoloringImages/VB/Class1.vb rename to snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicEncoderExample1/VB/form1.vb b/snippets/visualbasic/System.Drawing.Imaging/Encoder/ColorDepth/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicEncoderExample1/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/Encoder/ColorDepth/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoder2/VB/form1.vb b/snippets/visualbasic/System.Drawing.Imaging/Encoder/Compression/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoder2/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/Encoder/Compression/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassingImagingEncoder4/VB/form1.vb b/snippets/visualbasic/System.Drawing.Imaging/Encoder/SaveFlag/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassingImagingEncoder4/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/Encoder/SaveFlag/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoderExample5/VB/form1.vb b/snippets/visualbasic/System.Drawing.Imaging/Encoder/Transformation/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoderExample5/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/Encoder/Transformation/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb b/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb b/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicImageCodecExample/VB/form1.vb b/snippets/visualbasic/System.Drawing.Imaging/ImageCodecInfo/GetImageEncoders/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicImageCodecExample/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/ImageCodecInfo/GetImageEncoders/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins.Left Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/Margins/Bottom/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Margins.Left Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/Margins/Bottom/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/Margins/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Margins Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/Margins/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PageSettings Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PageSettings/Landscape/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PageSettings Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PageSettings/Landscape/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PageSettings.Margins Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PageSettings/Margins/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PageSettings.Margins Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PageSettings/Margins/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb b/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintDocument Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrintDocument/DefaultPageSettings/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintDocument Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrintDocument/DefaultPageSettings/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrintDocument/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrintDocument/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintPage Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrintDocument/Print/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintPage Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrintDocument/Print/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintController Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrintDocument/PrintController/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintController Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrintDocument/PrintController/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrinterSettings Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrintDocument/PrinterSettings/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrinterSettings Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrintDocument/PrinterSettings/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrintPageEventArgs/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrintPageEventArgs/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Printing.PrinterSettingsEx/VB/Form1.vb b/snippets/visualbasic/System.Drawing.Printing/PrinterSettings/IsDefaultPrinter/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Printing.PrinterSettingsEx/VB/Form1.vb rename to snippets/visualbasic/System.Drawing.Printing/PrinterSettings/IsDefaultPrinter/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrinterSettings Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrinterSettings/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrinterSettings Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrinterSettings/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb b/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BmpCtorAndSave/VB/form1.vb b/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BmpCtorAndSave/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Bitmap/.ctor/form11.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb b/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb b/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb rename to snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb b/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BufferedGraphicsExample/VB/bufferingtest.vb b/snippets/visualbasic/System.Drawing/BufferedGraphics/Overview/bufferingtest.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BufferedGraphicsExample/VB/bufferingtest.vb rename to snippets/visualbasic/System.Drawing/BufferedGraphics/Overview/bufferingtest.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb b/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb rename to snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb b/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb rename to snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb b/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb rename to snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb b/snippets/visualbasic/System.Drawing/Color/Name/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Color/Name/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb b/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Color/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Converters/VB/form1.vb b/snippets/visualbasic/System.Drawing/ColorConverter/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Converters/VB/form1.vb rename to snippets/visualbasic/System.Drawing/ColorConverter/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Font/Clone/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb b/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Font/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb b/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.CopyFromScreen/VB/Form1.vb b/snippets/visualbasic/System.Drawing/Graphics/CopyFromScreen/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.CopyFromScreen/VB/Form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/CopyFromScreen/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb b/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.EnumerateMetafile/VB/Form1.vb b/snippets/visualbasic/System.Drawing/Graphics/EnumerateMetafile/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.EnumerateMetafile/VB/Form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/EnumerateMetafile/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb b/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb b/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEndcoder3/VB/form1.vb b/snippets/visualbasic/System.Drawing/Image/Save/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEndcoder3/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Image/Save/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImageAnimator/VB/form1.vb b/snippets/visualbasic/System.Drawing/ImageAnimator/Animate/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImageAnimator/VB/form1.vb rename to snippets/visualbasic/System.Drawing/ImageAnimator/Animate/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Rectangle/Inflate/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Rectangle/Inflate/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingAPen/VB/Class1.vb b/snippets/visualbasic/System.Drawing/Rectangle/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingAPen/VB/Class1.vb rename to snippets/visualbasic/System.Drawing/Rectangle/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/RectangleF/Inflate/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/RectangleF/Inflate/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Region/Complement/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb b/snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb rename to snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb b/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb rename to snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PlaySync/VB/system.windows.forms.sound.playasync.vb b/snippets/visualbasic/System.Media/SoundPlayer/PlaySync/system.windows.forms.sound.playasync.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PlaySync/VB/system.windows.forms.sound.playasync.vb rename to snippets/visualbasic/System.Media/SoundPlayer/PlaySync/system.windows.forms.sound.playasync.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemSoundsExample/VB/form1.vb b/snippets/visualbasic/System.Media/SystemSound/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemSoundsExample/VB/form1.vb rename to snippets/visualbasic/System.Media/SystemSound/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Form1.vb b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Form1.vb rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Login.vb b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Login.vb rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Settings.vb b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Settings.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Settings.vb rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Settings.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/TestMembershipProvider.vb b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/TestMembershipProvider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/TestMembershipProvider.vb rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/TestMembershipProvider.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/TestRoleProvider.vb b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/TestRoleProvider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/TestRoleProvider.vb rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/TestRoleProvider.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/app.config b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/app.config rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.Glyph.MarginBorderAnchorGlyphs/VB/DesignerDemoControl.vb b/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.Glyph.MarginBorderAnchorGlyphs/VB/DesignerDemoControl.vb rename to snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic IUIService.Styles Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms.Design/IUIService/Styles/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic IUIService.Styles Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms.Design/IUIService/Styles/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WinFormsEditorServiceDialogExample/VB/winformsedserviceeditordialogexample.vb b/snippets/visualbasic/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordialogexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WinFormsEditorServiceDialogExample/VB/winformsedserviceeditordialogexample.vb rename to snippets/visualbasic/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordialogexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WinFormsEditorServiceDropDownExample/VB/winformsedserviceeditordropdownexample.vb b/snippets/visualbasic/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordropdownexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WinFormsEditorServiceDropDownExample/VB/winformsedserviceeditordropdownexample.vb rename to snippets/visualbasic/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordropdownexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Layout.LayoutEngine/VB/DemoFlowLayout.vb b/snippets/visualbasic/System.Windows.Forms.Layout/LayoutEngine/Overview/DemoFlowLayout.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Layout.LayoutEngine/VB/DemoFlowLayout.vb rename to snippets/visualbasic/System.Windows.Forms.Layout/LayoutEngine/Overview/DemoFlowLayout.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleElement/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleElement/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleInformation/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleInformation/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleInformation/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleInformation/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb b/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb rename to snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb b/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb rename to snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.RemoveMessageFilter Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/AddMessageFilter/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.RemoveMessageFilter Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/AddMessageFilter/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CompanyName Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/CompanyName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CompanyName Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/CompanyName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CurrentCulture Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/CurrentCulture/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CurrentCulture Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/CurrentCulture/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CurrentInputLanguage Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/CurrentInputLanguage/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CurrentInputLanguage Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/CurrentInputLanguage/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb b/snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb rename to snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Application.EnableVisualStyles/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Application/EnableVisualStyles/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Application.EnableVisualStyles/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Application/EnableVisualStyles/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.Exit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/Exit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.Exit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/Exit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ProductName Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/ProductName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ProductName Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/ProductName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ProductVersion Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/ProductVersion/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ProductVersion Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/ProductVersion/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.StartupPath Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/StartupPath/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.StartupPath Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/StartupPath/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/VB/visualstylestate.vb b/snippets/visualbasic/System.Windows.Forms/Application/VisualStyleState/visualstylestate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/VB/visualstylestate.vb rename to snippets/visualbasic/System.Windows.Forms/Application/VisualStyleState/visualstylestate.vb diff --git a/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/AutoSizeProjectVB.vbproj b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/AutoSizeProjectVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/AutoSizeProjectVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.vb similarity index 85% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.vb index 711c289489e..a680ba48ffd 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.vb @@ -1,19 +1,26 @@ -Public Class Form1 +Imports System.Drawing +Imports System.Windows.Forms + +Public Class Form1 Dim flowPanel As FlowLayoutPanel Dim urlLabel As Label Dim urlTextBox As TextBox Dim WithEvents urlButton As Button + Public Shared Sub Main() + + End Sub + ' Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load - Me.AutoSize = True - Me.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink - Me.Text = "URL Opener" + AutoSize = True + AutoSizeMode = AutoSizeMode.GrowAndShrink + Text = "URL Opener" flowPanel = New FlowLayoutPanel() flowPanel.AutoSize = True - flowPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink - Me.Controls.Add(flowPanel) + flowPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink + Controls.Add(flowPanel) urlLabel = New Label() urlLabel.Name = "urlLabel" @@ -54,4 +61,4 @@ Process.Start(urlTextBox.Text) End Sub ' -End Class \ No newline at end of file +End Class diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildren/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/AutoValidate/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ValidateChildren/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/AutoValidate/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Binding Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Binding Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.BindingManagerBase Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/BindingManagerBase/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.BindingManagerBase Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/BindingManagerBase/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.BindingMemberInfo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/BindingMemberInfo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.BindingMemberInfo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/BindingMemberInfo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Control Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/Control/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Control Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/Control/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.DataSource Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/DataSource/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.DataSource Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/DataSource/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Format Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/Format/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Format Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/Format/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.IsBinding Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/IsBinding/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.IsBinding Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/IsBinding/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Parse Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/Parse/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Parse Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/Parse/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.PropertyName Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/PropertyName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.PropertyName Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/PropertyName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.BindingContext Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.BindingContext Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.Contains Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/Contains/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.Contains Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/Contains/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.Contains1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/Contains/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.Contains1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/Contains/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.this Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.this Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.ICollection.CopyTo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.ICollection.CopyTo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.ICollection.CopyTo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.ICollection.CopyTo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.ICollection.Count Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.ICollection.Count/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.ICollection.Count Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.ICollection.Count/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.IEnumerable.GetEnumerator Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.IEnumerable.GetEnumerator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.IEnumerable.GetEnumerator Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.IEnumerable.GetEnumerator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Bindings Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Bindings/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Bindings Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Bindings/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase.CancelCurrentEdit Example/VB/canceledit.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/CancelCurrentEdit/canceledit.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase.CancelCurrentEdit Example/VB/canceledit.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/CancelCurrentEdit/canceledit.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Count Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Count/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Count Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Count/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Current Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Current/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Current Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Current/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/GetItemProperties/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/GetItemProperties/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/GetItemProperties/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/GetItemProperties/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.PositionChanged Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/PositionChanged/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.PositionChanged Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/PositionChanged/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_RemoveAt/VB/bindingmanagerbase_removeat.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/RemoveAt/bindingmanagerbase_removeat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_RemoveAt/VB/bindingmanagerbase_removeat.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/RemoveAt/bindingmanagerbase_removeat.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/VB/bindingmanagerbase_suspend_resume_binding.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/VB/bindingmanagerbase_suspend_resume_binding.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/BindingField/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/BindingField/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataNavigator/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingNavigator/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataNavigator/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingNavigator/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ItemChangedEventMode/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingSource/AllowNew/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ItemChangedEventMode/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingSource/AllowNew/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorFilterAndSort/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingSource/Count/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorFilterAndSort/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingSource/Count/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetItem/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingSource/DataSource/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetItem/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingSource/DataSource/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingSource/MoveFirst/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingSource/MoveFirst/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetBindings/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingSource/ResetBindings/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetBindings/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingSource/ResetBindings/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection.AddCore Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingsCollection/AddCore/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection.AddCore Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingsCollection/AddCore/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection.this Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingsCollection/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection.this Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingsCollection/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingsCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingsCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BorderStyle/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BorderStyle/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.Layout/VB/layout.vb b/snippets/visualbasic/System.Windows.Forms/BoundsSpecified/Overview/layout.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.Layout/VB/layout.vb rename to snippets/visualbasic/System.Windows.Forms/BoundsSpecified/Overview/layout.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Button.Button Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Button/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Button.Button Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Button/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Button.PerformClick Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Button/PerformClick/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Button.PerformClick Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Button/PerformClick/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ButtonBase/FlatStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ButtonBase/FlatStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.ImageIndex Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ButtonBase/ImageIndex/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.ImageIndex Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ButtonBase/ImageIndex/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ButtonRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ButtonRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ButtonState/VB/buttonstate1.vb b/snippets/visualbasic/System.Windows.Forms/ButtonState/Overview/buttonstate1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ButtonState/VB/buttonstate1.vb rename to snippets/visualbasic/System.Windows.Forms/ButtonState/Overview/buttonstate1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CharacterCasing/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CharacterCasing/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CheckBox/CheckAlign/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CheckBox/CheckAlign/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb b/snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb rename to snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CheckBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CheckBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/CheckBoxRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/CheckBoxRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckedListBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CheckedListBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CheckedListBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CheckedListBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Clipboard/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Clipboard/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard.SetDataObject1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Clipboard/SetDataObject/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard.SetDataObject1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Clipboard/SetDataObject/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ColorDialog/AnyColor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/AnyColor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialog CustomColors Property Example/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ColorDialog/CustomColors/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialog CustomColors Property Example/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/CustomColors/form1.vb diff --git a/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/ClassicColorDialogExample.vbproj b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/ClassicColorDialogExample.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/ClassicColorDialogExample.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb similarity index 80% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb index c5fdc1f65ec..243df674fd7 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb @@ -1,4 +1,11 @@ -Public Class Form1 +Imports System.Windows.Forms + +Public Class Form1 + + Public Shared Sub Main() + + End Sub + ' Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim MyDialog As New ColorDialog() @@ -10,7 +17,7 @@ MyDialog.Color = TextBox1.ForeColor ' Update the text box color if the user clicks OK - If (MyDialog.ShowDialog() = Windows.Forms.DialogResult.OK) Then + If (MyDialog.ShowDialog() = DialogResult.OK) Then TextBox1.ForeColor = MyDialog.Color End If End Sub diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.combobox.datasource/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox/DataSource/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.combobox.datasource/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox/DataSource/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox/OnSelectionChangeCommitted/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox/OnSelectionChangeCommitted/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxtype.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxtype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxtype.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxtype.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ComboBoxRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBoxRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/HookProc Example/VB/fontdialogoverride.vb b/snippets/visualbasic/System.Windows.Forms/CommonDialog/HookProc/fontdialogoverride.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/HookProc Example/VB/fontdialogoverride.vb rename to snippets/visualbasic/System.Windows.Forms/CommonDialog/HookProc/fontdialogoverride.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb b/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb rename to snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ParentForm2/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ContainerControl/ParentForm/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ParentForm2/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ContainerControl/ParentForm/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ParentForm2/VB/form2.vb b/snippets/visualbasic/System.Windows.Forms/ContainerControl/ParentForm/form2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ParentForm2/VB/form2.vb rename to snippets/visualbasic/System.Windows.Forms/ContainerControl/ParentForm/form2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildrenWithConstraints/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ContainerControl/ValidateChildren/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ValidateChildrenWithConstraints/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ContainerControl/ValidateChildren/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ManualContextMenu/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ContextMenu/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ManualContextMenu/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ContextMenu/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ContextMenu Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ContextMenu/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ContextMenu Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ContextMenu/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb b/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb rename to snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb b/snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb rename to snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb b/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb rename to snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/VB/imagedrag.vb b/snippets/visualbasic/System.Windows.Forms/Control/AllowDrop/imagedrag.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/VB/imagedrag.vb rename to snippets/visualbasic/System.Windows.Forms/Control/AllowDrop/imagedrag.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb b/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb rename to snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_BeginInvoke/VB/control_begininvoke.vb b/snippets/visualbasic/System.Windows.Forms/Control/BeginInvoke/control_begininvoke.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_BeginInvoke/VB/control_begininvoke.vb rename to snippets/visualbasic/System.Windows.Forms/Control/BeginInvoke/control_begininvoke.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Control.BindingContextChanged Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Control/BindingContextChanged/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Control.BindingContextChanged Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Control/BindingContextChanged/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb b/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb b/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb rename to snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb b/snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb rename to snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlCapture/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Capture/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlCapture/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Capture/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.Validating/VB/validating.vb b/snippets/visualbasic/System.Windows.Forms/Control/CausesValidation/validating.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.Validating/VB/validating.vb rename to snippets/visualbasic/System.Windows.Forms/Control/CausesValidation/validating.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.FindForm/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Click/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.FindForm/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Click/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Member5/VB/controlmembers5.vb b/snippets/visualbasic/System.Windows.Forms/Control/ClientRectangle/controlmembers5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Member5/VB/controlmembers5.vb rename to snippets/visualbasic/System.Windows.Forms/Control/ClientRectangle/controlmembers5.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties3/VB/aboutdialog.vb b/snippets/visualbasic/System.Windows.Forms/Control/CompanyName/aboutdialog.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties3/VB/aboutdialog.vb rename to snippets/visualbasic/System.Windows.Forms/Control/CompanyName/aboutdialog.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties2/VB/misccontrolproperties.vb b/snippets/visualbasic/System.Windows.Forms/Control/ContextMenu/misccontrolproperties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties2/VB/misccontrolproperties.vb rename to snippets/visualbasic/System.Windows.Forms/Control/ContextMenu/misccontrolproperties.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_ContextMenu_CreateGraphics/VB/control_contextmenu_creategraphics.vb b/snippets/visualbasic/System.Windows.Forms/Control/ContextMenuChanged/control_contextmenu_creategraphics.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_ContextMenu_CreateGraphics/VB/control_contextmenu_creategraphics.vb rename to snippets/visualbasic/System.Windows.Forms/Control/ContextMenuChanged/control_contextmenu_creategraphics.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.ContextMenuStrip/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/ContextMenuStrip/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.ContextMenuStrip/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/ContextMenuStrip/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursors/VB/cursorexample.vb b/snippets/visualbasic/System.Windows.Forms/Control/CursorChanged/cursorexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursors/VB/cursorexample.vb rename to snippets/visualbasic/System.Windows.Forms/Control/CursorChanged/cursorexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Control.DataBindings Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Control/DataBindings/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Control.DataBindings Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Control/DataBindings/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/DefaultBackColor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/DefaultBackColor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextDragDrop/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextDragDrop/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.DoubleClick/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/DoubleClick/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.DoubleClick/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/DoubleClick/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.EnabledChanged/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/EnabledChanged/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.EnabledChanged/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/EnabledChanged/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.Enter/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Enter/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.Enter/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Enter/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members2/VB/controlmembers2.vb b/snippets/visualbasic/System.Windows.Forms/Control/Focused/controlmembers2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members2/VB/controlmembers2.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Focused/controlmembers2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_Font/VB/control_font.vb b/snippets/visualbasic/System.Windows.Forms/Control/Font/control_font.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_Font/VB/control_font.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Font/control_font.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.FontChanged/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/FontChanged/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.FontChanged/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/FontChanged/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/VB/helpevent.vb b/snippets/visualbasic/System.Windows.Forms/Control/HelpRequested/helpevent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/VB/helpevent.vb rename to snippets/visualbasic/System.Windows.Forms/Control/HelpRequested/helpevent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_Invoke1/VB/control_invoke1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Invoke/control_invoke1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_Invoke1/VB/control_invoke1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Invoke/control_invoke1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_Invoke2/VB/control_invoke2.vb b/snippets/visualbasic/System.Windows.Forms/Control/Invoke/control_invoke2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_Invoke2/VB/control_invoke2.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Invoke/control_invoke2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.IsInputKey/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/IsInputKey/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.IsInputKey/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/IsInputKey/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ControlIsKeyLocked/VB/controliskeylocked.vb b/snippets/visualbasic/System.Windows.Forms/Control/IsKeyLocked/controliskeylocked.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ControlIsKeyLocked/VB/controliskeylocked.vb rename to snippets/visualbasic/System.Windows.Forms/Control/IsKeyLocked/controliskeylocked.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/Form2.vb b/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/Form2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/Form2.vb rename to snippets/visualbasic/System.Windows.Forms/Control/KeyDown/Form2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LocationChanged/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/LocationChanged/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LocationChanged/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/LocationChanged/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/app.config b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/app.config rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/app.config diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.designer.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.designer.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.resx b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.resx rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/mousecapturechanged.vbproj b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/mousecapturechanged.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/mousecapturechanged.vbproj rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/mousecapturechanged.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/application.designer.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/application.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/application.designer.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/application.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/application.myapp b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/application.myapp similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/application.myapp rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/application.myapp diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/assemblyinfo.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/assemblyinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/assemblyinfo.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/assemblyinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/resources.designer.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/resources.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/resources.designer.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/resources.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/resources.resx b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/resources.resx rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/settings.designer.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/settings.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/settings.designer.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/settings.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/settings.settings b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/settings.settings rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.Move/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Move/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.Move/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Move/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb b/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb rename to snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlOnClick/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/OnClick/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlOnClick/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/OnClick/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.PerformLayout/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/PerformLayout/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.PerformLayout/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/PerformLayout/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.previewkeydown/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/PreviewKeyDown/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.previewkeydown/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/PreviewKeyDown/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.Region/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Region/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.Region/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Region/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WinForms.Control.Resize/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Resize/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WinForms.Control.Resize/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Resize/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.selectnextcontrol/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/SelectNextControl/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.selectnextcontrol/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/SelectNextControl/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_Methods/VB/controlmethods.vb b/snippets/visualbasic/System.Windows.Forms/Control/SetBoundsCore/controlmethods.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_Methods/VB/controlmethods.vb rename to snippets/visualbasic/System.Windows.Forms/Control/SetBoundsCore/controlmethods.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_Scale1/VB/control_scale1.vb b/snippets/visualbasic/System.Windows.Forms/Control/SizeChanged/control_scale1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_Scale1/VB/control_scale1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/SizeChanged/control_scale1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Control.Visible Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Control/Visible/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Control.Visible Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Visible/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_VisibleChanged/VB/control_visiblechanged.vb b/snippets/visualbasic/System.Windows.Forms/Control/VisibleChanged/control_visiblechanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_VisibleChanged/VB/control_visiblechanged.vb rename to snippets/visualbasic/System.Windows.Forms/Control/VisibleChanged/control_visiblechanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Add/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Add/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Clear Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Clear/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Clear Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Clear/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Control Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Control/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Control Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Control/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BindingsCollectionItem Property/VB/bindingscollectionthis.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Item/bindingscollectionthis.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BindingsCollectionItem Property/VB/bindingscollectionthis.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Item/bindingscollectionthis.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Remove Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Remove/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Remove Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Remove/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.RemoveAt Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/RemoveAt/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.RemoveAt Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/RemoveAt/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlEventHandler Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlEventHandler/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlEventHandler Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlEventHandler/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_StyleChanged/VB/control_stylechanged.vb b/snippets/visualbasic/System.Windows.Forms/ControlStyles/Overview/control_stylechanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_StyleChanged/VB/control_stylechanged.vb rename to snippets/visualbasic/System.Windows.Forms/ControlStyles/Overview/control_stylechanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs.DesiredType Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/DesiredType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs.DesiredType Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/DesiredType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventHandler Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ConvertEventHandler/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventHandler Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ConvertEventHandler/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.AddNew Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/AddNew/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.AddNew Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/AddNew/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.CancelCurrentEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/CancelCurrentEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.CancelCurrentEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/CancelCurrentEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Count Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Count/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Count Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/Count/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Current Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Current/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Current Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/Current/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.EndCurrentEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/EndCurrentEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.EndCurrentEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/EndCurrentEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.GetItemProperties Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/GetItemProperties/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.GetItemProperties Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/GetItemProperties/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.ItemChanged Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/ItemChanged/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.ItemChanged Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/ItemChanged/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CurrencyManager.List Example/VB/list.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/List/list.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CurrencyManager.List Example/VB/list.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/List/list.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Position Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Position/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Position Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/Position/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Refresh Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Refresh/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Refresh Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/Refresh/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.RemoveAt Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/RemoveAt/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.RemoveAt Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/RemoveAt/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb b/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb rename to snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CursorFromResource/VB/mycursor.vb b/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/mycursor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CursorFromResource/VB/mycursor.vb rename to snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/mycursor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor/VB/customcursor.vb b/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/customcursor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor/VB/customcursor.vb rename to snippets/visualbasic/System.Windows.Forms/Cursor/Overview/customcursor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb b/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb rename to snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Cursors/Cross/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Cursors/Cross/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.Format.Format Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats+Format/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.Format.Format Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats+Format/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.GetFormat Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats+Format/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.GetFormat Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats+Format/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_CommaSeparatedValue/VB/dataformats_dif.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats/Dif/dataformats_dif.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataFormats_CommaSeparatedValue/VB/dataformats_dif.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats/Dif/dataformats_dif.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_GetFormat/VB/dataformats_getformat.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats/GetFormat/dataformats_getformat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataFormats_GetFormat/VB/dataformats_getformat.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats/GetFormat/dataformats_getformat.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_StringFormat/VB/dataformats_stringformat.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats/StringFormat/dataformats_stringformat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataFormats_StringFormat/VB/dataformats_stringformat.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats/StringFormat/dataformats_stringformat.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_UnicodeText1/VB/dataformats_unicodetext.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats/Text/dataformats_unicodetext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataFormats_UnicodeText1/VB/dataformats_unicodetext.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats/Text/dataformats_unicodetext.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Column Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Column/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Column Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Column/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Nowhere Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Equals/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Nowhere Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Equals/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.GetHashCode Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/GetHashCode/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.GetHashCode Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/GetHashCode/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Row Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Row/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Row Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Row/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.ToString Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/ToString/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.ToString Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/ToString/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Type Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Type/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Type Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Type/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestType Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestType/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestType Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestType/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataGrid Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataGrid Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_AllowNavigationChanged/VB/mydatagrid_allownavigationchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/AllowNavigation/mydatagrid_allownavigationchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_AllowNavigationChanged/VB/mydatagrid_allownavigationchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/AllowNavigation/mydatagrid_allownavigationchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.AllowSorting Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/AllowSorting/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.AllowSorting Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/AllowSorting/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.AlternatingBackColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/AlternatingBackColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.AlternatingBackColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/AlternatingBackColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_BackgroundColorChanged/VB/mydatagrid_backgroundcolorchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/BackButtonClick/mydatagrid_backgroundcolorchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_BackgroundColorChanged/VB/mydatagrid_backgroundcolorchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/BackButtonClick/mydatagrid_backgroundcolorchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BackColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/BackColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BackColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/BackColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BackgroundColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/BackgroundColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BackgroundColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/BackgroundColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BeginEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/BeginEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BeginEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/BeginEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BorderStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/BorderStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BorderStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/BorderStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionBackColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionBackColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionBackColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionBackColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionFont Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionFont/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionFont Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionFont/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionForeColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionForeColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionForeColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionForeColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionText Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionText/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionText Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionText/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionVisible Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionVisible/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionVisible Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionVisible/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_CaptionVisibleChanged/VB/mydatagrid_captionvisiblechanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionVisibleChanged/mydatagrid_captionvisiblechanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_CaptionVisibleChanged/VB/mydatagrid_captionvisiblechanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionVisibleChanged/mydatagrid_captionvisiblechanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Collapse Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/Collapse/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Collapse Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/Collapse/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ColumnHeadersVisible Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ColumnHeadersVisible/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ColumnHeadersVisible Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ColumnHeadersVisible/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CurrentCell Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CurrentCell/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CurrentCell Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CurrentCell/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CurrentRowIndex Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CurrentRowIndex/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CurrentRowIndex Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CurrentRowIndex/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataMember Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/DataMember/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataMember Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/DataMember/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataSource Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/DataSource/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataSource Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/DataSource/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataSourceChanged Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/DataSourceChanged/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataSourceChanged Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/DataSourceChanged/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Dispose Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/Dispose/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Dispose Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/Dispose/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.EndEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/EndEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.EndEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/EndEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Expand Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/Expand/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Expand Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/Expand/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.FirstVisibleColumn Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/FirstVisibleColumn/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.FirstVisibleColumn Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/FirstVisibleColumn/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MyDataGridClass_FlatMode_ReadOnly/VB/mydatagridclass_flatmode_readonly.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/FlatMode/mydatagridclass_flatmode_readonly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MyDataGridClass_FlatMode_ReadOnly/VB/mydatagridclass_flatmode_readonly.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/FlatMode/mydatagridclass_flatmode_readonly.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_ColorMembers/VB/datagrid_10.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ForeColor/datagrid_10.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_ColorMembers/VB/datagrid_10.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ForeColor/datagrid_10.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GetCellBounds Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/GetCellBounds/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GetCellBounds Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/GetCellBounds/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GetCellBounds1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/GetCellBounds/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GetCellBounds1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/GetCellBounds/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GetCurrentCellBounds Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/GetCurrentCellBounds/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GetCurrentCellBounds Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/GetCurrentCellBounds/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GridLineColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/GridLineColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GridLineColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/GridLineColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GridLineStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/GridLineStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GridLineStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/GridLineStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HeaderBackColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/HeaderBackColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HeaderBackColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/HeaderBackColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HeaderForeColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/HeaderForeColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HeaderForeColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/HeaderForeColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTest Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/HitTest/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTest Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/HitTest/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTest1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/HitTest/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTest1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/HitTest/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.IsExpanded Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/IsExpanded/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.IsExpanded Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/IsExpanded/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MyDataGridClass_ResetHeaderBackColor/VB/mydatagridclass_resetheaderbackcolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/IsSelected/mydatagridclass_resetheaderbackcolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MyDataGridClass_ResetHeaderBackColor/VB/mydatagridclass_resetheaderbackcolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/IsSelected/mydatagridclass_resetheaderbackcolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.this Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.this Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.this1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/Item/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.this1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/Item/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.NavigateBack Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/NavigateBack/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.NavigateBack Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/NavigateBack/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.NavigateTo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/NavigateTo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.NavigateTo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/NavigateTo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid.OnMouseDown/VB/overridemousedown.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/OnMouseDown/overridemousedown.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid.OnMouseDown/VB/overridemousedown.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/OnMouseDown/overridemousedown.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsBackColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsBackColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsBackColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsBackColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsForeColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsForeColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsForeColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsForeColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsLabelStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsLabelStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsLabelStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsLabelStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_ParentRowsLabelStyleChanged/VB/datagrid_parentrowslabelstylechanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsLabelStyleChanged/datagrid_parentrowslabelstylechanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_ParentRowsLabelStyleChanged/VB/datagrid_parentrowslabelstylechanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsLabelStyleChanged/datagrid_parentrowslabelstylechanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsVisible Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsVisible/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsVisible Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsVisible/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.PreferredColumnWidth Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/PreferredColumnWidth/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.PreferredColumnWidth Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/PreferredColumnWidth/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.PreferredRowHeight Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/PreferredRowHeight/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.PreferredRowHeight Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/PreferredRowHeight/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ReadOnly Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ReadOnly/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ReadOnly Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ReadOnly/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.SetDataBinding Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/SetDataBinding/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.SetDataBinding Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/SetDataBinding/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_ShowParentDetailsButtonClick/VB/datagrid_showparentdetailsbuttonclick.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ShowParentDetailsButtonClick/datagrid_showparentdetailsbuttonclick.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_ShowParentDetailsButtonClick/VB/datagrid_showparentdetailsbuttonclick.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ShowParentDetailsButtonClick/datagrid_showparentdetailsbuttonclick.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.TableStyles Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/TableStyles/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.TableStyles Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/TableStyles/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_UnSelect/VB/datagrid_unselect.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/UnSelect/datagrid_unselect.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_UnSelect/VB/datagrid_unselect.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/UnSelect/datagrid_unselect.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.VisibleColumnCount Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/VisibleColumnCount/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.VisibleColumnCount Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/VisibleColumnCount/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.VisibleRowCount Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/VisibleRowCount/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.VisibleRowCount Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/VisibleRowCount/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.DataGridBoolColumn1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.DataGridBoolColumn1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.AllowNull Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNull/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.AllowNull Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNull/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn/VB/datagridboolcolumn.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn/VB/datagridboolcolumn.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.EnterNullValue Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/EnterNullValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.EnterNullValue Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/EnterNullValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn overview/VB/boolcolumn.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/Overview/boolcolumn.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn overview/VB/boolcolumn.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/Overview/boolcolumn.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.DataGridCell Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridCell/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.DataGridCell Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridCell/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ColumnNumber Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridCell/ColumnNumber/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ColumnNumber Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridCell/ColumnNumber/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.Equals Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridCell/Equals/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.Equals Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridCell/Equals/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.GetHashCode Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridCell/GetHashCode/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.GetHashCode Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridCell/GetHashCode/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridCell/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridCell/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ToString Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridCell/ToString/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ToString Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridCell/ToString/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridColumnStyle1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridColumnStyle1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Alignment Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Alignment/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Alignment Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Alignment/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_AlignmentChanged/VB/datagridcolumnstyle_alignmentchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/AlignmentChanged/datagridcolumnstyle_alignmentchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_AlignmentChanged/VB/datagridcolumnstyle_alignmentchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/AlignmentChanged/datagridcolumnstyle_alignmentchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.CheckValidDataSource Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/CheckValidDataSource/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.CheckValidDataSource Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/CheckValidDataSource/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Commit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Commit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Commit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Commit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.ConcedeFocus Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ConcedeFocus/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.ConcedeFocus Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ConcedeFocus/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridTableStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/DataGridTableStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridTableStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/DataGridTableStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Edit1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Edit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Edit1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Edit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.EnterNullValue Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/EnterNullValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.EnterNullValue Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/EnterNullValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetMinimumHeight Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetMinimumHeight/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetMinimumHeight Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetMinimumHeight/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredHeight Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetPreferredHeight/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredHeight Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetPreferredHeight/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredSize Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetPreferredSize/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredSize Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetPreferredSize/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.HeaderText Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/HeaderText/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.HeaderText Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/HeaderText/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_HeaderTextChanged/VB/datagridcolumnstyle_headertextchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/HeaderTextChanged/datagridcolumnstyle_headertextchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_HeaderTextChanged/VB/datagridcolumnstyle_headertextchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/HeaderTextChanged/datagridcolumnstyle_headertextchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_MappingNameChanged/VB/datagridcolumnstyle_mappingnamechanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingNameChanged/datagridcolumnstyle_mappingnamechanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_MappingNameChanged/VB/datagridcolumnstyle_mappingnamechanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingNameChanged/datagridcolumnstyle_mappingnamechanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.NullText Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/NullText/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.NullText Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/NullText/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_NullTextChanged/VB/datagridcolumnstyle_nulltextchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/NullTextChanged/datagridcolumnstyle_nulltextchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_NullTextChanged/VB/datagridcolumnstyle_nulltextchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/NullTextChanged/datagridcolumnstyle_nulltextchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle Overview/VB/timecolumn.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Overview/timecolumn.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle Overview/VB/timecolumn.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Overview/timecolumn.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.PropertyDescriptor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.PropertyDescriptor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_PropertyDescriptorChanged/VB/propertydescriptorchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptorChanged/propertydescriptorchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_PropertyDescriptorChanged/VB/propertydescriptorchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptorChanged/propertydescriptorchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.ReadOnly Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ReadOnly/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.ReadOnly Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ReadOnly/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_ReadOnlyChanged/VB/datagridcolumnstyle_readonlychanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ReadOnlyChanged/datagridcolumnstyle_readonlychanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_ReadOnlyChanged/VB/datagridcolumnstyle_readonlychanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ReadOnlyChanged/datagridcolumnstyle_readonlychanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_ResetHeaderText/VB/datagridcolumnstyle_resetheadertext.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ResetHeaderText/datagridcolumnstyle_resetheadertext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_ResetHeaderText/VB/datagridcolumnstyle_resetheadertext.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ResetHeaderText/datagridcolumnstyle_resetheadertext.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.UpdateUI Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/UpdateUI/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.UpdateUI Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/UpdateUI/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Width Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Width/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Width Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Width/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_WidthChanged/VB/datagridcolumnstyle_widthchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/WidthChanged/datagridcolumnstyle_widthchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_WidthChanged/VB/datagridcolumnstyle_widthchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/WidthChanged/datagridcolumnstyle_widthchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridLineStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridLineStyle/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridLineStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridLineStyle/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridParentRowsLabelStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridParentRowsLabelStyle/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridParentRowsLabelStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridParentRowsLabelStyle/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample2/VB/datagridtablestyle_sample2.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AllowSorting/datagridtablestyle_sample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample2/VB/datagridtablestyle_sample2.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AllowSorting/datagridtablestyle_sample2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample5/VB/datagridtablestyle_sample5.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample5/VB/datagridtablestyle_sample5.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.BeginEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/BeginEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.BeginEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/BeginEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample3/VB/datagridtablestyle_sample3.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ColumnHeadersVisible/datagridtablestyle_sample3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample3/VB/datagridtablestyle_sample3.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ColumnHeadersVisible/datagridtablestyle_sample3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGrid Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/DataGrid/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGrid Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/DataGrid/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.EndEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/EndEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.EndEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/EndEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ForeColor/VB/datagridtablestyle_forecolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ForeColor/datagridtablestyle_forecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ForeColor/VB/datagridtablestyle_forecolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ForeColor/datagridtablestyle_forecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.GridColumnStyles Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridColumnStyles/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.GridColumnStyles Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridColumnStyles/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample1/VB/datagridtablestyle_sample1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridLineStyleChanged/datagridtablestyle_sample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample1/VB/datagridtablestyle_sample1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridLineStyleChanged/datagridtablestyle_sample1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Header_4/VB/datagridtablestyle_header_4.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Header_4/VB/datagridtablestyle_header_4.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample/VB/datagridtablestyle_sample.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample/VB/datagridtablestyle_sample.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTable.MappingName Example/VB/bindarray.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/MappingName/bindarray.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTable.MappingName Example/VB/bindarray.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/MappingName/bindarray.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredColumnWidth/VB/datagridtablestyle_preferredcolumnwidth.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredColumnWidth/datagridtablestyle_preferredcolumnwidth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredColumnWidth/VB/datagridtablestyle_preferredcolumnwidth.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredColumnWidth/datagridtablestyle_preferredcolumnwidth.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeight/VB/datagridtablestyle_preferredrowheight.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredRowHeight/datagridtablestyle_preferredrowheight.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeight/VB/datagridtablestyle_preferredrowheight.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredRowHeight/datagridtablestyle_preferredrowheight.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeightChanged/VB/preferredrowheightchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredRowHeightChanged/preferredrowheightchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeightChanged/VB/preferredrowheightchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredRowHeightChanged/preferredrowheightchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.ReadOnly Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ReadOnly/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.ReadOnly Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ReadOnly/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ReadOnlyChanged/VB/datagridtablestyle_readonlychanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ReadOnlyChanged/datagridtablestyle_readonlychanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ReadOnlyChanged/VB/datagridtablestyle_readonlychanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ReadOnlyChanged/datagridtablestyle_readonlychanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetAlternatingBackcolor/VB/resetalternatingbackcolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetAlternatingBackColor/resetalternatingbackcolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetAlternatingBackcolor/VB/resetalternatingbackcolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetAlternatingBackColor/resetalternatingbackcolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetBackColor/VB/datagridtablestyle_resetbackcolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetBackColor/datagridtablestyle_resetbackcolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetBackColor/VB/datagridtablestyle_resetbackcolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetBackColor/datagridtablestyle_resetbackcolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetForeColor/VB/datagridtablestyle_resetforecolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetForeColor/datagridtablestyle_resetforecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetForeColor/VB/datagridtablestyle_resetforecolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetForeColor/datagridtablestyle_resetforecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetGridLineColor/VB/datagridtablestyle_resetgridlinecolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetGridLineColor/datagridtablestyle_resetgridlinecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetGridLineColor/VB/datagridtablestyle_resetgridlinecolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetGridLineColor/datagridtablestyle_resetgridlinecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderBackColor/VB/datagridtablestyle_resetheaderbackcolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderBackColor/datagridtablestyle_resetheaderbackcolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderBackColor/VB/datagridtablestyle_resetheaderbackcolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderBackColor/datagridtablestyle_resetheaderbackcolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderFont1/VB/datagridtablestyle_resetheaderfont1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderFont/datagridtablestyle_resetheaderfont1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderFont1/VB/datagridtablestyle_resetheaderfont1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderFont/datagridtablestyle_resetheaderfont1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderForeColor/VB/datagridtablestyle_resetheaderforecolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderForeColor/datagridtablestyle_resetheaderforecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderForeColor/VB/datagridtablestyle_resetheaderforecolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderForeColor/datagridtablestyle_resetheaderforecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetLinkColor/VB/datagridtablestyle_resetlinkcolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetLinkColor/datagridtablestyle_resetlinkcolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetLinkColor/VB/datagridtablestyle_resetlinkcolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetLinkColor/datagridtablestyle_resetlinkcolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionForeColor/VB/selectionforecolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetSelectionForeColor/selectionforecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionForeColor/VB/selectionforecolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetSelectionForeColor/selectionforecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeaderWidth/VB/rowheaderwidth.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeaderWidth/rowheaderwidth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeaderWidth/VB/rowheaderwidth.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeaderWidth/rowheaderwidth.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeadersVisibleChanged/VB/rowheadersvisiblechanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeadersVisible/rowheadersvisiblechanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeadersVisibleChanged/VB/rowheadersvisiblechanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeadersVisible/rowheadersvisiblechanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionBackColor/VB/selectionbackcolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/SelectionBackColor/selectionbackcolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionBackColor/VB/selectionbackcolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/SelectionBackColor/selectionbackcolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBox_IsInEditOrNavigateMode/VB/datagridtextbox_isineditornavigatemode.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBox/IsInEditOrNavigateMode/datagridtextbox_isineditornavigatemode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBox_IsInEditOrNavigateMode/VB/datagridtextbox_isineditornavigatemode.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBox/IsInEditOrNavigateMode/datagridtextbox_isineditornavigatemode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBox_SetDataGrid/VB/datagridtextbox_setdatagrid.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBox/SetDataGrid/datagridtextbox_setdatagrid.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBox_SetDataGrid/VB/datagridtextbox_setdatagrid.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBox/SetDataGrid/datagridtextbox_setdatagrid.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn_DataGridTextBoxColumn_2/VB/datagridtextboxcolumn_datagridtextboxcolumn_2.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/.ctor/datagridtextboxcolumn_datagridtextboxcolumn_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn_DataGridTextBoxColumn_2/VB/datagridtextboxcolumn_datagridtextboxcolumn_2.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/.ctor/datagridtextboxcolumn_datagridtextboxcolumn_2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Edit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Edit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Edit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Edit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.EndEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/EndEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.EndEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/EndEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.EnterNullValue Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/EnterNullValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.EnterNullValue Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/EnterNullValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn Format/VB/datagridtextboxcolumn format.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Format/datagridtextboxcolumn format.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn Format/VB/datagridtextboxcolumn format.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Format/datagridtextboxcolumn format.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredHeight Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredHeight/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredHeight Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredHeight/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredSize Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredSize/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredSize Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredSize/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Paint2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Paint/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Paint2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Paint/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.TextBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/TextBox/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.TextBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/TextBox/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ProgrammaticResizing/VB/programmaticsizing.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumns/programmaticsizing.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ProgrammaticResizing/VB/programmaticsizing.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumns/programmaticsizing.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMasterDetails/VB/masterdetails.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeColumnsMode/masterdetails.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMasterDetails/VB/masterdetails.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeColumnsMode/masterdetails.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/VB/autosizing.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/VB/autosizing.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewSimpleBound/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/BorderStyle/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewSimpleBound/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/BorderStyle/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewFillColumnsDemo/vb/fillcolumns.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CancelEdit/fillcolumns.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewFillColumnsDemo/vb/fillcolumns.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CancelEdit/fillcolumns.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/VB/virtualmode.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/VB/virtualmode.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewDataValidation/VB/datavalidation.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewDataValidation/VB/datavalidation.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewClipboardDemo/VB/datagridviewclipboarddemo.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewClipboardDemo/VB/datagridviewclipboarddemo.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRolloverCell/VB/rollovercell.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/InvalidateCell/rollovercell.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRolloverCell/VB/rollovercell.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/InvalidateCell/rollovercell.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSimpleUnbound/VB/simpleunbound.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/Overview/simpleunbound.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSimpleUnbound/VB/simpleunbound.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/Overview/simpleunbound.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowTemplate/VB/datagridviewrowtemplate.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/RowTemplate/datagridviewrowtemplate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowTemplate/VB/datagridviewrowtemplate.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/RowTemplate/datagridviewrowtemplate.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowOperations/VB/rowoperations.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/RowValidated/rowoperations.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowOperations/VB/rowoperations.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/RowValidated/rowoperations.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewIComparerSort/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/Sort/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewIComparerSort/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/Sort/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/VB/mousesizing.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/VB/mousesizing.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewContentAlignment/VB/changecolumnalignment.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewContentAlignment/VB/changecolumnalignment.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/VB/datagridviewcell.tooltiptext.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/VB/datagridviewcell.tooltiptext.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._CollectionBound/VB/collectionbound.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._CollectionBound/VB/collectionbound.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DataError/VB/errorhandling.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewDataErrorContexts/Overview/errorhandling.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DataError/VB/errorhandling.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewDataErrorContexts/Overview/errorhandling.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewObjectBinding/VB/datagridviewobjectbinding.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewRow/DataBoundItem/datagridviewobjectbinding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewObjectBinding/VB/datagridviewobjectbinding.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewRow/DataBoundItem/datagridviewobjectbinding.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject3 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject3 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject4 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject4 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetData Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/GetData/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetData Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/GetData/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetData2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/GetData/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetData2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/GetData/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetDataPresent Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/GetDataPresent/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetDataPresent Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/GetDataPresent/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetDataPresent1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/GetDataPresent/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetDataPresent1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/GetDataPresent/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetFormats Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/GetFormats/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetFormats Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/GetFormats/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetFormats1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/GetFormats/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetFormats1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/GetFormats/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData3 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData3 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb b/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb rename to snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarFont/VB/calendarfont.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarFont/calendarfont.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarFont/VB/calendarfont.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarFont/calendarfont.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarForeColor/VB/calendarforecolor.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarForeColor/calendarforecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarForeColor/VB/calendarforecolor.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarForeColor/calendarforecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarMonthBackground/VB/calendarmonthbackground.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarMonthBackground/calendarmonthbackground.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarMonthBackground/VB/calendarmonthbackground.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarMonthBackground/calendarmonthbackground.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CustomFormat/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/CustomFormat/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/DropDown/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/DropDown/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.Value/VB/value.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/Value/value.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.Value/VB/value.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/Value/value.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown.DomainUpDownItemCollection Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown.DomainUpDownItemCollection Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MenuItemOwnerDraw/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DrawItemEventHandler/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MenuItemOwnerDraw/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DrawItemEventHandler/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb b/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb rename to snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb b/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb rename to snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb b/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb rename to snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ErrorProvider Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ErrorProvider/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ErrorProvider Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ErrorProvider/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.vb similarity index 82% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.vb index 3135f686027..c8dde7487a1 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.vb @@ -1,13 +1,18 @@ -Imports System.Security +Imports System.Drawing +Imports System.Security +Imports System.Windows.Forms Public Class Form1 + Public Shared Sub Main() + End Sub + ' Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load InitializeOpenFileDialog() End Sub Private Sub SelectFileButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SelectFileButton.Click - Dim dr As DialogResult = Me.OpenFileDialog1.ShowDialog() + Dim dr As DialogResult = OpenFileDialog1.ShowDialog() If (dr = System.Windows.Forms.DialogResult.OK) Then ' Read the files Dim file As String @@ -22,12 +27,12 @@ Public Class Form1 FlowLayoutPanel1.Controls.Add(pb) Catch SecEx As SecurityException ' The user lacks appropriate permissions to read files, discover paths, etc. - MessageBox.Show("Security error. Please contact your administrator for details.\n\n" & _ - "Error message: " & SecEx.Message & "\n\n" & _ + MessageBox.Show("Security error. Please contact your administrator for details.\n\n" & + "Error message: " & SecEx.Message & "\n\n" & "Details (send to Support):\n\n" & SecEx.StackTrace) Catch ex As Exception ' Could not load the image - probably permissions-related. - MessageBox.Show(("Cannot display the image: " & file.Substring(file.LastIndexOf("\"c)) & _ + MessageBox.Show(("Cannot display the image: " & file.Substring(file.LastIndexOf("\"c)) & ". You may not have permission to read the file, or " + "it may be corrupt." _ & ControlChars.Lf & ControlChars.Lf & "Reported error: " & ex.Message)) End Try @@ -37,13 +42,13 @@ Public Class Form1 Public Sub InitializeOpenFileDialog() ' Set the file dialog to filter for graphics files. - Me.OpenFileDialog1.Filter = _ - "Images (*.BMP;*.JPG;*.GIF)|*.BMP;*.JPG;*.GIF|" + _ + OpenFileDialog1.Filter = + "Images (*.BMP;*.JPG;*.GIF)|*.BMP;*.JPG;*.GIF|" + "All files (*.*)|*.*" ' Allow the user to select multiple images. - Me.OpenFileDialog1.Multiselect = True - Me.OpenFileDialog1.Title = "My Image Browser" + OpenFileDialog1.Multiselect = True + OpenFileDialog1.Title = "My Image Browser" End Sub ' -End Class \ No newline at end of file +End Class diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Settings.settings diff --git a/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/TestOpenFileDialogMultiSelectVB.vbproj b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/TestOpenFileDialogMultiSelectVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/TestOpenFileDialogMultiSelectVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.vb similarity index 93% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.vb index a9b24816428..fa1a0b76562 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.vb @@ -1,8 +1,12 @@ ' Imports System.IO Imports System.Text +Imports System.Windows.Forms Public Class Form1 + Public Shared Sub Main() + End Sub + Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.SaveFileDialog1.SupportMultiDottedExtensions = True Me.SaveFileDialog1.Filter = "Data text files|*.data.txt" diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Settings.settings diff --git a/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/TestSaveFileDialogVB.vbproj b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/TestSaveFileDialogVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/TestSaveFileDialogVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/FlowDirection/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/FlowDirection/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic FontDialog Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/FontDialog/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic FontDialog Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/FontDialog/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/FontDialog.ShowApply/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/FontDialog/ShowApply/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/FontDialog.ShowApply/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/FontDialog/ShowApply/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlCollection Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form+ControlCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlCollection Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form+ControlCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/Activate/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/Activate/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ActiveForm Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/ActiveForm/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ActiveForm Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/ActiveForm/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ActiveMdiChild Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/ActiveMdiChild/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ActiveMdiChild Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/ActiveMdiChild/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AddOwnedForm/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/AddOwnedForm/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AddOwnedForm/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/AddOwnedForm/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoScroll/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/AutoScroll/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoScroll/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/AutoScroll/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ClientSize Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/ClientSize/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ClientSize Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/ClientSize/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.Closing/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/Closing/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.Closing/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/Closing/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/ControlBox/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/ControlBox/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DesktopBounds Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/DesktopBounds/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DesktopBounds Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/DesktopBounds/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DesktopLocation Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/DesktopLocation/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DesktopLocation Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/DesktopLocation/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DialogResult Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/DialogResult/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DialogResult Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/DialogResult/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MdiClientExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/IsMdiContainer/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MdiClientExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/IsMdiContainer/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.LayoutMdi Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/LayoutMdi/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.LayoutMdi Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/LayoutMdi/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/MaximumSize/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/MaximumSize/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.MDIChildren/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/MdiChildren/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.MDIChildren/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/MdiChildren/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.MDIParent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/MdiParent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.MDIParent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/MdiParent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.MainMenu Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/Menu/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.MainMenu Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/Menu/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.Modal/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/Modal/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.Modal/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/Modal/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.Opacity/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/Opacity/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.Opacity/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/Opacity/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.OwnedForms/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/OwnedForms/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.OwnedForms/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/OwnedForms/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ShowDialog Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/ShowDialog/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ShowDialog Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/ShowDialog/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.ShowInTaskbar/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/ShowInTaskbar/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.ShowInTaskbar/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/ShowInTaskbar/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.SizeGripStyle/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/SizeGripStyle/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.SizeGripStyle/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/SizeGripStyle/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.StartPosition Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/StartPosition/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.StartPosition Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/StartPosition/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.TopMost/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/TopMost/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.TopMost/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/TopMost/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.TransparencyKey Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/TransparencyKey/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.TransparencyKey Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/TransparencyKey/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/FormBorderStyle/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/FormBorderStyle/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/FormBorderStyle/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/FormBorderStyle/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/FormStartPosition/VB/formstartposition.vb b/snippets/visualbasic/System.Windows.Forms/FormStartPosition/Overview/formstartposition.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/FormStartPosition/VB/formstartposition.vb rename to snippets/visualbasic/System.Windows.Forms/FormStartPosition/Overview/formstartposition.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/FormWindowState/VB/formwindowstate.vb b/snippets/visualbasic/System.Windows.Forms/FormWindowState/Overview/formwindowstate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/FormWindowState/VB/formwindowstate.vb rename to snippets/visualbasic/System.Windows.Forms/FormWindowState/Overview/formwindowstate.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.AddRange Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/AddRange/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.AddRange Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/AddRange/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_Members/VB/gridcolumnstylescollection_members.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Clear/gridcolumnstylescollection_members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_Members/VB/gridcolumnstylescollection_members.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Clear/gridcolumnstylescollection_members.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.IndexOf Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/IndexOf/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.IndexOf Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/IndexOf/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_RemoveAt/VB/gridcolumnstylescollection_removeat.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Remove/gridcolumnstylescollection_removeat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_RemoveAt/VB/gridcolumnstylescollection_removeat.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Remove/gridcolumnstylescollection_removeat.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_ResetPropertyDescriptor/VB/gridcolumnstylescollection_resetpropertydescriptor.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/ResetPropertyDescriptors/gridcolumnstylescollection_resetpropertydescriptor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_ResetPropertyDescriptor/VB/gridcolumnstylescollection_resetpropertydescriptor.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/ResetPropertyDescriptors/gridcolumnstylescollection_resetpropertydescriptor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridTableStylesCollection.Clear Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridTableStylesCollection/Clear/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridTableStylesCollection.Clear Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridTableStylesCollection/Clear/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridTableStylesCollection.CollectionChanged Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridTableStylesCollection/CollectionChanged/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridTableStylesCollection.CollectionChanged Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridTableStylesCollection/CollectionChanged/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GroupBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GroupBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GroupBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GroupBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/GroupBoxRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/GroupBoxRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic HScrollBar Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/HScrollBar/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic HScrollBar Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/HScrollBar/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/Form1.vb similarity index 84% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/Form1.vb index 1e5445833b0..f094c3b105d 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/Form1.vb @@ -1,4 +1,7 @@ Public Class Form1 + Public Shared Sub Main() + End Sub + Sub New() ' This call is required by the Windows Form Designer. diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.vb b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.vb similarity index 90% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.vb rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.vb index 3189936b8cd..67cec94b40b 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.vb +++ b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.vb @@ -1,4 +1,6 @@ ' +Imports System.Windows.Forms + Public Class MouseWheelControl Sub New() ' Add initialization code for the control here. @@ -10,4 +12,4 @@ Public Class MouseWheelControl ' Perform custom mouse wheel action here. End Sub End Class -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/TestMouseWheelVB.vbproj b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/TestMouseWheelVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/TestMouseWheelVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb b/snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb rename to snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Help/ShowHelp/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Help/ShowHelp/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.KeyEventsHelpAndErrors/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/HelpProvider/GetHelpString/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.KeyEventsHelpAndErrors/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/HelpProvider/GetHelpString/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb b/snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb rename to snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/HorizontalAlignment/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/HorizontalAlignment/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/HorizontalAlignment/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/HorizontalAlignment/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb similarity index 92% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb index 3b7f145a03b..087801e2058 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb @@ -1,16 +1,19 @@ -Imports System.Xml -Imports System.Data -Imports System.Data.SqlClient +Imports System.Data +Imports System.Windows.Forms +Imports Microsoft.Data.SqlClient Public Class Form1 + Public Shared Sub Main() + End Sub + Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim mtb As MaskedTextBox = New MaskedTextBox() End Sub Private Sub GetDocument() - ' - Dim Doc as HtmlDocument = WebBrowser1.Document - ' + ' + Dim Doc As HtmlDocument = WebBrowser1.Document + ' End Sub ' @@ -32,7 +35,7 @@ Public Class Form1 ' Private Function GetLastModifiedDate() As String If (Not (WebBrowser1.Document Is Nothing)) Then - Dim CurrentDocument As MSHTML.IHTMLDocument2 = WebBrowser1.Document.DomDocument + Dim CurrentDocument As Object = WebBrowser1.Document.DomDocument GetLastModifiedDate = CurrentDocument.lastModified Else GetLastModifiedDate = Nothing @@ -73,10 +76,10 @@ Public Class Form1 ' Private Sub DisplayMetaDescription() If (WebBrowser1.Document IsNot Nothing) Then - Dim Elems As HtmlElementCollection - Dim WebOC as WebBrowser = WebBrowser1 + Dim Elems As HtmlElementCollection + Dim WebOC As WebBrowser = WebBrowser1 - Elems = WebOC.Document.GetElementsByTagName("META") + Elems = WebOC.Document.GetElementsByTagName("META") For Each elem As HtmlElement In Elems Dim NameStr As String = elem.GetAttribute("name") @@ -155,7 +158,7 @@ Public Class Form1 Dim TableRow As HtmlElement - ' Create the table header. + ' Create the table header. Dim TableHeader As HtmlElement = .CreateElement("THEAD") TableElem.AppendChild(TableHeader) TableRow = .CreateElement("TR") @@ -234,17 +237,17 @@ Public Class Form1 End Sub ' -' ' - ' Public Sub SnipSelected() - ' If (webBrowser1.Document IsNot Nothing) Then - ' Dim o As Object = Nothing + ' ' + ' Public Sub SnipSelected() + ' If (webBrowser1.Document IsNot Nothing) Then + ' Dim o As Object = Nothing ' webBrowser1.Document.ExecCommand("Copy", False, o) - ' Dim selected As String = CType(o, String) - ' If (selected IsNot Nothing) AndAlso selected.Length > 0 Then - ' MessageBox.Show("Selected text: " & selected) - ' End If - 'End If - ' End Sub + ' Dim selected As String = CType(o, String) + ' If (selected IsNot Nothing) AndAlso selected.Length > 0 Then + ' MessageBox.Show("Selected text: " & selected) + ' End If + 'End If + ' End Sub ' Private Sub TestHTMLThrowButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TestHTMLThrowButton.Click @@ -318,4 +321,4 @@ Public Class Form1 Private Sub ExportUrlsButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExportUrlsButton.Click Me.ExportDocumentLink() End Sub -End Class \ No newline at end of file +End Class diff --git a/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProject.vbproj b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProject.vbproj new file mode 100644 index 00000000000..54f95ccfff3 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProject.vbproj @@ -0,0 +1,13 @@ + + + + Exe + net9.0-windows + true + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyEvents.vb b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MyEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyEvents.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MyEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyResources.resx b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MyResources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyResources.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MyResources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyResources.vb b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MyResources.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyResources.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MyResources.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MySettings.settings b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MySettings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MySettings.settings rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MySettings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MySettings.vb b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MySettings.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MySettings.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MySettings.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/app.config b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/app.config rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb similarity index 97% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb index 3b466396eff..97e413df1b9 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb @@ -1,6 +1,9 @@ Imports System.Net +Imports System.Windows.Forms Public Class Form1 + Public Shared Sub Main() + End Sub Private Sub PrintDOMButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintDOMButton.Click PrintDomBegin() @@ -105,16 +108,16 @@ Public Class Form1 ' Private Sub CreateHyperlinkFromSelection() If (WebBrowser1.Document IsNot Nothing) Then - Dim IDoc As mshtml.IHTMLDocument2 = WebBrowser1.Document.DomDocument + Dim IDoc = WebBrowser1.Document.DomDocument If (Not (IDoc Is Nothing)) Then - Dim ISelect As mshtml.IHTMLSelectionObject = IDoc.selection + Dim ISelect = IDoc.selection If (ISelect Is Nothing) Then MsgBox("Please select some text before using this command.") Exit Sub End If - Dim TxtRange As mshtml.IHTMLTxtRange = ISelect.createRange() + Dim TxtRange = ISelect.createRange() ' Create the link. If (TxtRange.queryCommandEnabled("CreateLink")) Then @@ -147,7 +150,7 @@ Public Class Form1 Elem.InnerHtml = HtmlMenu ' Retrieve the menu cues and hook up an event handler for expanding and collapsing display of the - ' child elements. + ' child elements. For Each MenuCueElem As HtmlElement In Elem.GetElementsByTagName("SPAN") If MenuCueElem.Id.EndsWith("cue") Then AddHandler MenuCueElem.Click, New HtmlElementEventHandler(AddressOf Me.Element_Click) @@ -156,7 +159,7 @@ Public Class Form1 End Sub Private Sub Element_Click(ByVal sender As Object, ByVal e As HtmlElementEventArgs) - ' !TODO: Need SetStyle() implemented per DCR. + ' !TODO: Need SetStyle() implemented per DCR. End Sub ' @@ -249,7 +252,7 @@ Public Class Form1 Private Sub AddTopPageMessage(ByVal Message As String) If (WebBrowser1.Document IsNot Nothing) Then With WebBrowser1.Document - ' Do not insert the warning again if it already exists. + ' Do not insert the warning again if it already exists. Dim ReturnedElems As HtmlElementCollection = .All.GetElementsByName("ADatumWarningDiv") If (Not (ReturnedElems Is Nothing) And (ReturnedElems.Count > 0)) Then Exit Sub @@ -426,4 +429,4 @@ Public Class Form1 Private Sub FlowLayoutPanel1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles FlowLayoutPanel1.Paint End Sub -End Class \ No newline at end of file +End Class diff --git a/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/HtmlElementProject.vbproj b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/HtmlElementProject.vbproj new file mode 100644 index 00000000000..72ca1fff2f2 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/HtmlElementProject.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net481-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyEvents.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MyEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyEvents.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MyEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyResources.resx b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MyResources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyResources.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MyResources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyResources.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MyResources.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyResources.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MyResources.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MySettings.settings b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MySettings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MySettings.settings rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MySettings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MySettings.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MySettings.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MySettings.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MySettings.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/app.config b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/app.config rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb similarity index 97% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb index 751fba1b2c0..54037eff4f0 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb @@ -1,4 +1,8 @@ -Public Class Form1 +Imports System.Windows.Forms + +Public Class Form1 + Public Shared Sub Main() + End Sub Private Sub GetLinksFromFramesButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GetLinksFromFramesButton.Click Me.GetLinksFromFrames() @@ -50,7 +54,7 @@ "dialogLeft: 300px; edge: Sunken; center: Yes; help: Yes; resizable: No; status: No;" ' Show the dialog. - Dim RawWindow As mshtml.IHTMLWindow2 = Frame.DomWindow + Dim RawWindow = Frame.DomWindow RawWindow.showModalDialog("http://www.adatum.com/dialogWindow.htm", Nothing, CObj(DialogArguments)) End If End Sub @@ -173,11 +177,11 @@ OrderWindow = .Window.OpenNew(New Uri("file://C:\\orderForm.htm"), "") ' !TODO: Perform this in the load event handler! - ' Get order form. + ' Get order form. Dim ElemCollection As System.Windows.Forms.HtmlElementCollection = .All.GetElementsByName("NewOrderForm") If (ElemCollection.Count = 1) Then FormElement = ElemCollection(0) - ' TODO: Resolve this. + ' TODO: Resolve this. 'FormElement.AttachEventHandler("onsubmit", New HtmlElementEventHandler(AddressOf Form_Submit)) End If End With @@ -188,7 +192,7 @@ Private Sub Form_Submit(ByVal sender As Object, ByVal e As HtmlElementEventArgs) Dim DoOrder As Boolean = OrderWindow.Confirm("Once you transmit this order, you cannot cancel it. Submit?") If (Not DoOrder) Then - ' Cancel the submit. + ' Cancel the submit. e.ReturnValue = False OrderWindow.Alert("Submit cancelled.") End If @@ -257,7 +261,7 @@ ' - Dim WithEvents Doc As Windows.Forms.HtmlDocument + Dim WithEvents Doc As HtmlDocument Private Sub EnableClickScroll() If (WebBrowser1.Document IsNot Nothing) Then diff --git a/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/HtmlWindowProject.vbproj b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/HtmlWindowProject.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/HtmlWindowProject.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyEvents.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MyEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyEvents.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MyEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyResources.resx b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MyResources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyResources.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MyResources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyResources.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MyResources.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyResources.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MyResources.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MySettings.settings b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MySettings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MySettings.settings rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MySettings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MySettings.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MySettings.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MySettings.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MySettings.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/app.config b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/app.config rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.vb similarity index 91% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.vb index 5b65f091509..f2740e77657 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.vb @@ -1,4 +1,8 @@ -Public Class Form1 +Imports System.Windows.Forms + +Public Class Form1 + Public Shared Sub Main() + End Sub Dim WithEvents Doc As HtmlDocument diff --git a/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/HtmlElementEventArgsProjectVB.vbproj b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/HtmlElementEventArgsProjectVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/HtmlElementEventArgsProjectVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/HtmlElementEventHandler/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventHandler/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/HtmlElementEventHandler/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventHandler/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IButtonControl Implementation/VB/mybutton.vb b/snippets/visualbasic/System.Windows.Forms/IButtonControl/Overview/mybutton.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IButtonControl Implementation/VB/mybutton.vb rename to snippets/visualbasic/System.Windows.Forms/IButtonControl/Overview/mybutton.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetData1/VB/getdata1.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetData1/VB/getdata1.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetData2/VB/getdata2.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetData2/VB/getdata2.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetData3/VB/getdata3.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetData3/VB/getdata3.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent1/VB/getdatapresent1.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent1/VB/getdatapresent1.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent2/VB/getdatapresent2.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent2/VB/getdatapresent2.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent3/VB/getdatapresent3.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent3/VB/getdatapresent3.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetFormats1/VB/getformats1.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetFormats/getformats1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetFormats1/VB/getformats1.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetFormats/getformats1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetFormats2/VB/getformats2.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetFormats/getformats2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetFormats2/VB/getformats2.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetFormats/getformats2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SetData4/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SetData4/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SetData1/VB/setdata1.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SetData1/VB/setdata1.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SetData2/VB/setdata2.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SetData2/VB/setdata2.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SetData3/VB/setdata3.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SetData3/VB/setdata3.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic IWin32Window Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/IWin32Window/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic IWin32Window Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/IWin32Window/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ImageList Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ImageList+ImageCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ImageList Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ImageList+ImageCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/InputLanguageChanged/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ImeMode/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/InputLanguageChanged/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ImeMode/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.Culture Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/Culture/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.Culture Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/Culture/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.CurrentInputLanguage Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/CurrentInputLanguage/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.CurrentInputLanguage Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/CurrentInputLanguage/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.DefaultInputLanguage Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/DefaultInputLanguage/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.DefaultInputLanguage Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/DefaultInputLanguage/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.FromCulture Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/FromCulture/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.FromCulture Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/FromCulture/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.Handle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/Handle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.Handle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/Handle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.InstalledInputLanguages Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/InstalledInputLanguages/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.InstalledInputLanguages Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/InstalledInputLanguages/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.LayoutName Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/LayoutName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.LayoutName Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/LayoutName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewDragDrop/VB/treeviewdragdrop.vb b/snippets/visualbasic/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewDragDrop/VB/treeviewdragdrop.vb rename to snippets/visualbasic/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/keyeventargs.suppresskeypress/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/SuppressKeyPress/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/keyeventargs.suppresskeypress/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/KeyEventArgs/SuppressKeyPress/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/KeyPressEventArgs/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Handled/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/KeyPressEventArgs/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Handled/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/VB/source2.vb b/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/VB/source2.vb rename to snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.vb similarity index 88% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.vb index a77ce3f43af..190f90c67fe 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.vb @@ -1,5 +1,9 @@ -' +Imports System.Windows.Forms + +' Public Class Form1 + Public Shared Sub Main() + End Sub Private Sub KeyDownWork(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) _ Handles TextBox1.KeyDown diff --git a/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/KeysConverterVB.vbproj b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/KeysConverterVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/KeysConverterVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LabelAutoSize/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Label/AutoSize/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LabelAutoSize/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Label/AutoSize/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Label_Image/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Label/Image/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Label_Image/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Label/Image/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView3/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/LabelEditEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView3/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/LabelEditEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/LayoutEventArgs/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/LayoutEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/LayoutEventArgs/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/LayoutEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb b/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb rename to snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb b/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb rename to snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/LinkLabel Overview/VB/linklabelex.vb b/snippets/visualbasic/System.Windows.Forms/LinkLabel+LinkCollection/Add/linklabelex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/LinkLabel Overview/VB/linklabelex.vb rename to snippets/visualbasic/System.Windows.Forms/LinkLabel+LinkCollection/Add/linklabelex.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelSimple/VB/form.vb b/snippets/visualbasic/System.Windows.Forms/LinkLabel/Overview/form.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelSimple/VB/form.vb rename to snippets/visualbasic/System.Windows.Forms/LinkLabel/Overview/form.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndex/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndex/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox.BeginUpdate Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/BeginUpdate/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox.BeginUpdate Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/BeginUpdate/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBox.MultiColumn/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/ColumnWidth/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBox.MultiColumn/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/ColumnWidth/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString2/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/FindString/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString2/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/FindString/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindStringExact/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/FindStringExact/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindStringExact/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/FindStringExact/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindStringExact2/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/FindStringExact/form11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindStringExact2/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/FindStringExact/form11.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.GetSelected/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/GetSelected/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.GetSelected/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/GetSelected/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListView.HorizontalExtent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/HorizontalExtent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListView.HorizontalExtent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/HorizontalExtent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.AllowDrop/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/IndexFromPoint/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.AllowDrop/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/IndexFromPoint/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.PreferredHeight/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/PreferredHeight/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.PreferredHeight/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/PreferredHeight/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndexChanged/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/SelectedIndexChanged/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndexChanged/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/SelectedIndexChanged/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxSort/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/Sort/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxSort/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/Sort/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.UseTabStops/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/UseTabStops/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.UseTabStops/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/UseTabStops/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListView.ColumnClick/VB/listviewsort1.vb b/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListView.ColumnClick/VB/listviewsort1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListView.AfterLabelEdit/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListView/AfterLabelEdit/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListView.AfterLabelEdit/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/AfterLabelEdit/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb b/snippets/visualbasic/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView4/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListView/Clear/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView4/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/Clear/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb b/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb b/snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Tiling/VB/listviewtilingexample.vb b/snippets/visualbasic/System.Windows.Forms/ListView/TileSize/listviewtilingexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Tiling/VB/listviewtilingexample.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/TileSize/listviewtilingexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListViewItem/Tag/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListViewItem/Tag/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.MainMenu1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MainMenu/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.MainMenu1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MainMenu/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.GetForm Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MainMenu/CloneMenu/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.GetForm Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MainMenu/CloneMenu/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.RightToLeft Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MainMenu/RightToLeft/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.RightToLeft Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MainMenu/RightToLeft/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MaskInputRejectedSample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MaskInputRejectedSample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MaskInputRejectedSample/VB/makefile b/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MaskInputRejectedSample/VB/makefile rename to snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TestMaskedTextBox/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Text/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TestMaskedTextBox/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Text/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TestMaskedTextBox/VB/makefile b/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Text/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TestMaskedTextBox/VB/makefile rename to snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Text/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ValidatingTypeSample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ValidatingTypeSample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ValidatingTypeSample/VB/makefile b/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ValidatingTypeSample/VB/makefile rename to snippets/visualbasic/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add4 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add4 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItems Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItems Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.CopyTo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/AddRange/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.CopyTo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/AddRange/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClearItems/VB/clearitems.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Clear/clearitems.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClearItems/VB/clearitems.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Clear/clearitems.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ContainsItems/VB/containsitems.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Contains/containsitems.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ContainsItems/VB/containsitems.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Contains/containsitems.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CountProperty/VB/countitems.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Count/countitems.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CountProperty/VB/countitems.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Count/countitems.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IndexOf/VB/indexof.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/IndexOf/indexof.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IndexOf/VB/indexof.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/IndexOf/indexof.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RemoveMenuItems/VB/removeitems.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Remove/removeitems.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RemoveMenuItems/VB/removeitems.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Remove/removeitems.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RemoveAt/VB/removeat.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/RemoveAt/removeat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RemoveAt/VB/removeat.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/RemoveAt/removeat.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CloneMenu/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Menu/CloneMenu/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CloneMenu/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Menu/CloneMenu/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetContextMenu2/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Menu/GetContextMenu/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetContextMenu2/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Menu/GetContextMenu/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetMainMenu/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Menu/GetMainMenu/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetMainMenu/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Menu/GetMainMenu/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IsParent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Menu/IsParent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IsParent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Menu/IsParent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MergeMenu/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Menu/MergeMenu/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MergeMenu/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Menu/MergeMenu/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Menu/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Menu Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Menu/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem3 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem3 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem4 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem4 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source4.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem5 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem5 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source5.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.BarBreak Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/BarBreak/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.BarBreak Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/BarBreak/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Break Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Break/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Break Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Break/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Checked Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Checked/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Checked Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Checked/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MenuItemClick/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Click/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MenuItemClick/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Click/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.CloneMenu Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/CloneMenu/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.CloneMenu Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/CloneMenu/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.CloneMenu1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/CloneMenu/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.CloneMenu1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/CloneMenu/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.DefaultItem Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/DefaultItem/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.DefaultItem Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/DefaultItem/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/OwnerDraw example/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/DrawItem/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/OwnerDraw example/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/DrawItem/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MenuItem.Popup/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Enabled/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MenuItem.Popup/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Enabled/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Index Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Index/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Index Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Index/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.IsParent Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/IsParent/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.IsParent Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/IsParent/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MdiList Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/MdiList/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MdiList Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/MdiList/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MergeMenu1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/MergeMenu/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MergeMenu1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/MergeMenu/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MenuItemMergeOrder/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/MergeOrder/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MenuItemMergeOrder/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/MergeOrder/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MergeType Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/MergeType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MergeType Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/MergeType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MenuItem.Select/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/OnSelect/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MenuItem.Select/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/OnSelect/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ParentMenu/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Parent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ParentMenu/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Parent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/PerformClick/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/PerformClick/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/PerformClick/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/PerformClick/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/PerformSelect/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/PerformSelect/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/PerformSelect/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/PerformSelect/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.RadioCheck Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/RadioCheck/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.RadioCheck Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/RadioCheck/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Text Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Shortcut/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Text Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Shortcut/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MessageBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MessageBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MessageBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MessageBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.methodinvoker/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/MethodInvoker/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.methodinvoker/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MethodInvoker/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MonthCalendar/VB/mc.vb b/snippets/visualbasic/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MonthCalendar/VB/mc.vb rename to snippets/visualbasic/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb b/snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb rename to snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.GetCharAtIndex/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MouseButtons/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.GetCharAtIndex/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MouseButtons/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb similarity index 85% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb index 747ea407210..811b12e53e9 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb @@ -1,12 +1,17 @@ -Public Class Form1 +Imports System.Drawing +Imports System.Windows.Forms + +Public Class Form1 + Public Shared Sub Main() + End Sub ' Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load - TextBox1.ContextMenu = New ContextMenu() + TextBox1.ContextMenuStrip = New ContextMenuStrip() End Sub Private Sub TextBox1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TextBox1.MouseDown - If (e.Button = Windows.Forms.MouseButtons.Right) Then + If (e.Button = MouseButtons.Right) Then TextBox1.Select(0, TextBox1.Text.Length) End If End Sub diff --git a/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/MouseEventArgsVB.vbproj b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/MouseEventArgsVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/MouseEventArgsVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/app.config b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/app.config rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Click/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/NotifyIcon/Click/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.GetVersionPresent Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/OSFeature/Feature/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.GetVersionPresent Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/OSFeature/Feature/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OSFeature.IsPresent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/OSFeature/IsPresent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OSFeature.IsPresent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/OSFeature/IsPresent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.LayeredWindows Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/OSFeature/LayeredWindows/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.LayeredWindows Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/OSFeature/LayeredWindows/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DlgOpenFileReadOnly/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/OpenFileDialog/ReadOnlyChecked/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DlgOpenFileReadOnly/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/OpenFileDialog/ReadOnlyChecked/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Padding/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/Padding/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Padding/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/Padding/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/PageSetupDialog/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/PageSetupDialog/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Demontrates Form Paint Event/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/PaintEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Demontrates Form Paint Event/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/PaintEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Panel.BorderStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Panel/BorderStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Panel.BorderStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Panel/BorderStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Panel Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Panel/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Panel Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Panel/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CreateBitmapAtRuntime/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/PictureBox/Image/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CreateBitmapAtRuntime/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/PictureBox/Image/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PictureBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/PictureBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PictureBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/PictureBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PictureBox.SizeMode/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/PictureBox/SizeMode/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PictureBox.SizeMode/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/PictureBox/SizeMode/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/PowerStatusBrowser/VB/powerstatusbrowser.vb b/snippets/visualbasic/System.Windows.Forms/PowerStatus/Overview/powerstatusbrowser.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/PowerStatusBrowser/VB/powerstatusbrowser.vb rename to snippets/visualbasic/System.Windows.Forms/PowerStatus/Overview/powerstatusbrowser.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintControllerWithStatusDialog Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/PrintControllerWithStatusDialog/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintControllerWithStatusDialog Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/PrintControllerWithStatusDialog/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/PrintDialog/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/PrintDialog/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ProgressBar.Increment/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ProgressBar/Increment/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ProgressBar.Increment/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ProgressBar/Increment/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyGrid Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/PropertyGrid/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyGrid Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/PropertyGrid/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.CheckAlign Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RadioButton/CheckAlign/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.CheckAlign Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RadioButton/CheckAlign/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.Checked Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RadioButton/Checked/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.Checked Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RadioButton/Checked/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.OnCheckedChanged Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RadioButton/OnCheckedChanged/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.OnCheckedChanged Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RadioButton/OnCheckedChanged/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RadioButtonRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RadioButtonRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.ZoomFactor/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.ZoomFactor/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.BulletIndent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/BulletIndent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.BulletIndent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/BulletIndent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichText_Paste/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanPaste/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichText_Paste/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/CanPaste/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.RedoAction/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanRedo/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.RedoAction/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/CanRedo/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LinkClicked Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/DetectUrls/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LinkClicked Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/DetectUrls/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindChar1/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindChar1/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindChar2/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindChar2/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form11.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindStringStartEnd/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form12.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindStringStartEnd/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form12.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.GetCharIndexFromPosition/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/GetCharIndexFromPosition/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.GetCharIndexFromPosition/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/GetCharIndexFromPosition/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxGetLine/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/GetLineFromCharIndex/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxGetLine/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/GetLineFromCharIndex/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LoadFile Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/LoadFile/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LoadFile Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/LoadFile/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LoadFile1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/LoadFile/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LoadFile1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/LoadFile/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.MaxLength/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/MaxLength/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.MaxLength/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/MaxLength/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionBullet/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectedText/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionBullet/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectedText/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionAlignment/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionAlignment/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionAlignment/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionAlignment/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionCharOffset/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionCharOffset/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionCharOffset/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionCharOffset/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SelectionColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SelectionColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SelectionFont Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionFont/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SelectionFont Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionFont/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionHangingIndent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionHangingIndent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionHangingIndent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionHangingIndent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionIndent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionIndent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionIndent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionIndent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionLength/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionLength/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionLength/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionLength/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionProtected/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionProtected/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionProtected/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionProtected/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionRightIndent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionRightIndent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionRightIndent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionRightIndent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic SaveFileDialog Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/SaveFileDialog/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic SaveFileDialog Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/SaveFileDialog/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Screen.FromPoint/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Screen/FromPoint/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Screen.FromPoint/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Screen/FromPoint/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScreenExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Screen/GetWorkingArea/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScreenExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Screen/GetWorkingArea/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Screen Object Example/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Screen/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Screen Object Example/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Screen/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic VScrollBar Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollBar/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic VScrollBar Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollBar/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarsExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ScrollBars/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarsExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollBars/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.AutoScroll Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScroll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.AutoScroll Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScroll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ScrollableControl/VB/scrollablecontrol.vb b/snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScrollPosition/scrollablecontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ScrollableControl/VB/scrollablecontrol.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScrollPosition/scrollablecontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPadding Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollableControl/DockPadding/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPadding Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollableControl/DockPadding/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.SetAutoScrollMargin Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollableControl/SetAutoScrollMargin/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.SetAutoScrollMargin Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollableControl/SetAutoScrollMargin/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewFindItems/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/SearchDirectionHint/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewFindItems/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/SearchDirectionHint/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic SelectionRange.SelectionRange1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/SelectionRange/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic SelectionRange.SelectionRange1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/SelectionRange/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SendKeys/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/SendKeys/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SendKeys/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/SendKeys/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SplitContainerEvents/VB/splitcontainerevents.vb b/snippets/visualbasic/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SplitContainerEvents/VB/splitcontainerevents.vb rename to snippets/visualbasic/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb b/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb rename to snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb diff --git a/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/module1.vb b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/module1.vb new file mode 100644 index 00000000000..49e53557f24 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/module1.vb @@ -0,0 +1,261 @@ +Imports System.Windows.Forms + +Module Module1 + + Public Sub Main() + Application.Run(New Form1()) + End Sub + + Public Class Form1 + Inherits System.Windows.Forms.Form + ' use MySplitContainer to replicate 3.5 behavior + 'private MySplitContainer splitContainer2; + Private splitContainer2 As SplitContainer + + Private splitContainer1 As System.Windows.Forms.SplitContainer + Private treeView1 As System.Windows.Forms.TreeView + Private listView2 As System.Windows.Forms.ListView + Private listView1 As System.Windows.Forms.ListView + + Public Sub New() + InitializeComponent() + End Sub + Private Sub InitializeComponent() + splitContainer1 = New System.Windows.Forms.SplitContainer() + treeView1 = New System.Windows.Forms.TreeView() + splitContainer2 = New MySplitContainer() + listView1 = New System.Windows.Forms.ListView() + listView2 = New System.Windows.Forms.ListView() + splitContainer1.SuspendLayout() + splitContainer2.SuspendLayout() + SuspendLayout() + + ' Basic SplitContainer properties. + ' This is a vertical splitter that moves in 10-pixel increments. + ' This splitter needs no explicit Orientation property because Vertical is the default. + splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill + splitContainer1.ForeColor = System.Drawing.SystemColors.Control + splitContainer1.Location = New System.Drawing.Point(0, 0) + splitContainer1.Name = "splitContainer1" + + ' You can drag the splitter no nearer than 30 pixels from the left edge of the container. + splitContainer1.Panel1MinSize = 30 + + ' You can drag the splitter no nearer than 20 pixels from the right edge of the container. + splitContainer1.Panel2MinSize = 20 + splitContainer1.Size = New System.Drawing.Size(292, 273) + splitContainer1.SplitterDistance = 79 + + ' This splitter moves in 10-pixel increments. + splitContainer1.SplitterIncrement = 10 + splitContainer1.SplitterWidth = 6 + + ' splitContainer1 is the first control in the tab order. + splitContainer1.TabIndex = 0 + splitContainer1.Text = "splitContainer1" + + ' When the splitter moves, the cursor changes shape. + AddHandler splitContainer1.SplitterMoved, AddressOf splitContainer1_SplitterMoved + AddHandler splitContainer1.SplitterMoving, AddressOf splitContainer1_SplitterMoving + + ' Add a TreeView control to the left panel. + splitContainer1.Panel1.BackColor = System.Drawing.SystemColors.Control + + ' Add a TreeView control to Panel1. + splitContainer1.Panel1.Controls.Add(treeView1) + splitContainer1.Panel1.Name = "splitterPanel1" + + ' Controls placed on Panel1 support right-to-left fonts. + splitContainer1.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes + + + ' Add a SplitContainer to the right panel. + splitContainer1.Panel2.Controls.Add(splitContainer2) + splitContainer1.Panel2.Name = "splitterPanel2" + + ' This TreeView control is in Panel1 of splitContainer1. + treeView1.Dock = System.Windows.Forms.DockStyle.Fill + treeView1.ForeColor = System.Drawing.SystemColors.InfoText + treeView1.ImageIndex = -1 + treeView1.Location = New System.Drawing.Point(0, 0) + treeView1.Name = "treeView1" + treeView1.SelectedImageIndex = -1 + treeView1.Size = New System.Drawing.Size(79, 273) + + treeView1.BeginUpdate() + treeView1.Nodes.Add("Parent") + treeView1.Nodes(0).Nodes.Add("Child 1") + treeView1.Nodes(0).Nodes.Add("Child 2") + treeView1.Nodes(0).Nodes(1).Nodes.Add("Grandchild") + treeView1.Nodes(0).Nodes(1).Nodes(0).Nodes.Add("Great Grandchild") + treeView1.EndUpdate() + + ' treeView1 is the second control in the tab order. + treeView1.TabIndex = 1 + + ' Basic SplitContainer properties. + ' This is a horizontal splitter whose top and bottom panels are ListView controls. The top panel is fixed. + splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill + + ' The top panel remains the same size when the form is resized. + splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1 + splitContainer2.Location = New System.Drawing.Point(0, 0) + splitContainer2.Name = "splitContainer2" + + ' Create the horizontal splitter. + splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal + splitContainer2.Size = New System.Drawing.Size(207, 273) + splitContainer2.SplitterDistance = 125 + splitContainer2.SplitterWidth = 6 + + ' splitContainer2 is the third control in the tab order. + 'splitContainer2.TabIndex = 2; + splitContainer2.TabStop = False + splitContainer2.Text = "splitContainer2" + + ' This splitter panel contains the top ListView control. + splitContainer2.Panel1.Controls.Add(listView1) + splitContainer2.Panel1.Name = "splitterPanel3" + + ' This splitter panel contains the bottom ListView control. + splitContainer2.Panel2.Controls.Add(listView2) + splitContainer2.Panel2.Name = "splitterPanel4" + + ' This ListView control is in the top panel of splitContainer2. + listView1.Dock = System.Windows.Forms.DockStyle.Fill + listView1.Location = New System.Drawing.Point(0, 0) + listView1.Name = "listView1" + listView1.Size = New System.Drawing.Size(207, 125) + listView1.View = View.Details + + ' Display grid lines. + listView1.GridLines = True + + + ' Create three items and three sets of subitems for each item. + Dim item1 As New ListViewItem("item1", 0) + ' Place a check mark next to the item. + item1.Checked = True + item1.SubItems.Add("1") + item1.SubItems.Add("2") + item1.SubItems.Add("3") + Dim item2 As New ListViewItem("item2", 1) + item2.SubItems.Add("4") + item2.SubItems.Add("5") + item2.SubItems.Add("6") + Dim item3 As New ListViewItem("item3", 0) + ' Place a check mark next to the item. + item3.Checked = True + item3.SubItems.Add("7") + item3.SubItems.Add("8") + item3.SubItems.Add("9") + + ' Create columns for the items and subitems. + ' Width of -2 indicates auto-size. + listView1.Columns.Add("Item Column", -2, HorizontalAlignment.Left) + listView1.Columns.Add("Column 2", -2, HorizontalAlignment.Left) + listView1.Columns.Add("Column 3", -2, HorizontalAlignment.Left) + listView1.Columns.Add("Column 4", -2, HorizontalAlignment.Center) + + 'Add the items to the ListView. + listView1.Items.AddRange(New ListViewItem() {item1, item2, item3}) + + ' listView1 is the fourth control in the tab order. + listView1.TabIndex = 3 + + ' This ListView control is in the bottom panel of splitContainer2. + listView2.Dock = System.Windows.Forms.DockStyle.Fill + listView2.Location = New System.Drawing.Point(0, 0) + listView2.Name = "listView2" + listView2.Size = New System.Drawing.Size(207, 142) + listView2.View = View.Details + + ' Display grid lines. + listView2.GridLines = True + + + ' Create three items and three sets of subitems for each item. + item1 = New ListViewItem("item1", 0) + ' Place a check mark next to the item. + item1.Checked = True + item1.SubItems.Add("1") + item1.SubItems.Add("2") + item1.SubItems.Add("3") + item2 = New ListViewItem("item2", 1) + item2.SubItems.Add("4") + item2.SubItems.Add("5") + item2.SubItems.Add("6") + + item3 = New ListViewItem("item3", 0) + ' Place a check mark next to the item. + item3.Checked = True + item3.SubItems.Add("7") + item3.SubItems.Add("8") + item3.SubItems.Add("9") + + ' Create columns for the items and subitems. + ' Width of -2 indicates auto-size. + listView2.Columns.Add("Item Column", -2, HorizontalAlignment.Left) + listView2.Columns.Add("Column 2", -2, HorizontalAlignment.Left) + listView2.Columns.Add("Column 3", -2, HorizontalAlignment.Left) + listView2.Columns.Add("Column 4", -2, HorizontalAlignment.Center) + + 'Add the items to the ListView. + listView2.Items.AddRange(New ListViewItem() {item1, item2, item3}) + + ' listView2 is the fifth control in the tab order. + listView2.TabIndex = 4 + + ' These are basic properties of the form. + 'ClientSize = new System.Drawing.Size(292, 273); + Me.WindowState = FormWindowState.Maximized + Controls.Add(splitContainer1) + Name = "Form1" + Text = "Form1" + splitContainer1.ResumeLayout(False) + splitContainer2.ResumeLayout(False) + ResumeLayout(False) + End Sub + + Private Sub splitContainer1_SplitterMoving(ByVal sender As System.Object, ByVal e As System.Windows.Forms.SplitterCancelEventArgs) + ' As the splitter moves, change the cursor type. + Cursor.Current = System.Windows.Forms.Cursors.NoMoveVert + End Sub + Private Sub splitContainer1_SplitterMoved(ByVal sender As System.Object, ByVal e As System.Windows.Forms.SplitterEventArgs) + ' When the splitter stops moving, change the cursor back to the default. + Cursor.Current = System.Windows.Forms.Cursors.[Default] + End Sub + End Class + + ' + Public Class MySplitContainer + Inherits SplitContainer + Private m_tabStop As Boolean = True + Public Shadows Property TabStop() As Boolean + Get + Return m_tabStop + End Get + Set(ByVal value As Boolean) + If TabStop <> value Then + m_tabStop = value + OnTabStopChanged(EventArgs.Empty) + End If + End Set + End Property + + Protected Overloads Overrides Function ProcessTabKey(ByVal forward As Boolean) As Boolean + If Not m_tabStop Then + If SelectNextControl(ActiveControl, forward, True, True, False) Then + Return True + End If + End If + Return MyBase.ProcessTabKey(forward) + End Function + + Public Function ShouldSerializeTabStop() As Boolean + Return True + End Function + End Class + ' + +End Module diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/resources.designer.vb b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/resources.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/resources.designer.vb rename to snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/resources.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/resources.resx b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/resources.resx rename to snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/settings.designer.vb b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/settings.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/settings.designer.vb rename to snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/settings.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/settings.settings b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/settings.settings rename to snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/settings.settings diff --git a/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/splitcontainertabstop.vbproj b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/splitcontainertabstop.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/splitcontainertabstop.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Splitter Example/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Splitter/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Splitter Example/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Splitter/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/StatusBar and StatusBarPanel Example/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/StatusBar+StatusBarPanelCollection/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/StatusBar and StatusBarPanel Example/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/StatusBar+StatusBarPanelCollection/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarPanelExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/StatusBar/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarPanelExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/StatusBar/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/StatusBar.DrawItem/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/StatusBar/DrawItem/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/StatusBar.DrawItem/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/StatusBar/DrawItem/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/StatusBar/Text/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/StatusBar/Text/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb b/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb rename to snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabControlExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabAlignment/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabControlExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabAlignment/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Add/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Add/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Add/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Add/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.AddRange/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/AddRange/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.AddRange/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/AddRange/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Clear/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Clear/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Clear/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Clear/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Contains/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Contains/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Contains/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Contains/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Count/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Count/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Count/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Count/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.IndexOf/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/IndexOf/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.IndexOf/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/IndexOf/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.IsReadOnly/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/IsReadOnly/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.IsReadOnly/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/IsReadOnly/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Remove/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Remove/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Remove/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Remove/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.RemoveAt/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/RemoveAt/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.RemoveAt/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/RemoveAt/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabControl_constructor/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabControl_constructor/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabAlignment/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/Alignment/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabAlignment/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/Alignment/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Appearance/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/Appearance/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Appearance/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/Appearance/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DisplayRectangle1/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/DisplayRectangle/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DisplayRectangle1/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/DisplayRectangle/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DrawItem/VB/drawitem.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/DrawItem/drawitem.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DrawItem/VB/drawitem.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/DrawItem/drawitem.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DrawMode/VB/drawmode.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/DrawMode/drawmode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DrawMode/VB/drawmode.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/DrawMode/drawmode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetTabRect/VB/gettabrect.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/GetTabRect/gettabrect.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetTabRect/VB/gettabrect.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/GetTabRect/gettabrect.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/HotTrack/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/HotTrack/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/HotTrack/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/HotTrack/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabControl.ImageList/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/ImageList/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabControl.ImageList/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/ImageList/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ItemSize/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/ItemSize/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ItemSize/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/ItemSize/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Multiline/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/Multiline/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Multiline/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/Multiline/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TabControl Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TabControl Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Padding/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/Padding/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Padding/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/Padding/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RowCount/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/RowCount/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RowCount/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/RowCount/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SelectedIndex/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/SelectedIndex/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SelectedIndex/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/SelectedIndex/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SelectedTab/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/SelectedTab/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SelectedTab/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/SelectedTab/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolTipText/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/ShowToolTips/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolTipText/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/ShowToolTips/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SizeMode/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/SizeMode/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SizeMode/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/SizeMode/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabCount/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/TabCount/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabCount/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/TabCount/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageControlCollection.Add/VB/add.vb b/snippets/visualbasic/System.Windows.Forms/TabPage+TabPageControlCollection/Add/add.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageControlCollection.Add/VB/add.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage+TabPageControlCollection/Add/add.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPage_constructor/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPage_constructor/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPage_withText/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/.ctor/form11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPage_withText/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/.ctor/form11.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetTabPageOfComponent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/GetTabPageOfComponent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetTabPageOfComponent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/GetTabPageOfComponent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPage.ImageIndex/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/ImageIndex/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPage.ImageIndex/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/ImageIndex/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPage/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPage/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabText/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/Text/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabText/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/Text/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPage.ToString/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/ToString/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPage.ToString/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/ToString/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.TextBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBox/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.TextBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBox/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.AcceptsReturn Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBox/AcceptsReturn/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.AcceptsReturn Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBox/AcceptsReturn/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.textbox.autocompletecustomsource/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.textbox.autocompletecustomsource/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.ScrollBars Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBox/ScrollBars/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.ScrollBars Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBox/ScrollBars/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TextBoxBase.AppendText/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AppendText/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TextBoxBase.AppendText/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AppendText/form1.vb diff --git a/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/AutoSize.vbproj b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/AutoSize.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/AutoSize.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.vb similarity index 91% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.vb index 54e652c9206..ce05e9422be 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.vb @@ -1,5 +1,9 @@ -Public Class Form1 +Imports System.Drawing +Public Class Form1 + + Public Shared Sub Main() + End Sub ' Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.BorderStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/BorderStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.BorderStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/BorderStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.CanUndo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/CanUndo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.CanUndo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/CanUndo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Clear Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Clear/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Clear Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/Clear/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Click/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/Click/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Lines Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Lines/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Lines Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/Lines/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.MaxLength Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/MaxLength/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.MaxLength Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/MaxLength/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Modified Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Modified/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Modified Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/Modified/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Select Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Select/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Select Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/Select/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectAll Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectAll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectAll Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectAll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectedText Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectedText/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectedText Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectedText/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.vb similarity index 90% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.vb index 44c5b086f03..55ceb48e78a 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.vb @@ -1,5 +1,7 @@ ' Public Class Form1 + Public Shared Sub Main() + End Sub Private Sub ButtonClickWork(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles Button1.Click diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Settings.settings diff --git a/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/SelectionStart.vbproj b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/SelectionStart.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/SelectionStart.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Add Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Add Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Count Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Clear/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Count Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Clear/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.IndexOf Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/IndexOf/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.IndexOf Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/IndexOf/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.this Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.this Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.Buttons Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.Buttons Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.RemoveAt Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/RemoveAt/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.RemoveAt Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/RemoveAt/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolBarButton/PartialPush/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBarButton/PartialPush/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.BeginEndDrag/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStrip/BeginDrag/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.BeginEndDrag/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStrip/BeginDrag/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MainToolStripExample/vb/hvtsctoolstrip.vb b/snippets/visualbasic/System.Windows.Forms/ToolStrip/Items/hvtsctoolstrip.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MainToolStripExample/vb/hvtsctoolstrip.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStrip/Items/hvtsctoolstrip.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.toolstripcontainer2/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStrip/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.toolstripcontainer2/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStrip/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripToolTip/vb/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStrip/ShowItemToolTips/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripToolTip/vb/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStrip/ShowItemToolTips/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripContainer/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripContentPanel/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripContainer/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripContentPanel/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownTreeView/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownTreeView/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolStripRadioButtonMenuItem/vb/ToolStripRadioButtonMenuItem.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/DropDownItems/ToolStripRadioButtonMenuItem.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolStripRadioButtonMenuItem/vb/ToolStripRadioButtonMenuItem.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/DropDownItems/ToolStripRadioButtonMenuItem.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.StackView/VB/StackView.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripProfessionalRenderer/Overview/StackView.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.StackView/VB/StackView.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripProfessionalRenderer/Overview/StackView.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TrackBar/Minimum/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TrackBar/Minimum/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_TreeNode/VB/treenode_treenode.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNode_TreeNode/VB/treenode_treenode.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Checked/VB/treenode_checked.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/BackColor/treenode_checked.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Checked/VB/treenode_checked.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/BackColor/treenode_checked.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/VB/treenode_ensurevisible_4.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/VB/treenode_ensurevisible_4.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Parent/VB/treenode_parent.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/FirstNode/treenode_parent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Parent/VB/treenode_parent.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/FirstNode/treenode_parent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.TreeNode/VB/treenode.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/FromHandle/treenode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.TreeNode/VB/treenode.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/FromHandle/treenode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Clear/VB/treenodecollection_clear.vb b/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/AddRange/treenodecollection_clear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Clear/VB/treenodecollection_clear.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/AddRange/treenodecollection_clear.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/VB/treenodecollection_contains_getenumerator.vb b/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/VB/treenodecollection_contains_getenumerator.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Count_CopyTo/VB/treenodecollection_count_copyto.vb b/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/CopyTo/treenodecollection_count_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Count_CopyTo/VB/treenodecollection_count_copyto.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/CopyTo/treenodecollection_count_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes2/VB/treeviewshowcheckednodes2.vb b/snippets/visualbasic/System.Windows.Forms/TreeView/.ctor/treeviewshowcheckednodes2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes2/VB/treeviewshowcheckednodes2.vb rename to snippets/visualbasic/System.Windows.Forms/TreeView/.ctor/treeviewshowcheckednodes2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/VB/tn_checked.vb b/snippets/visualbasic/System.Windows.Forms/TreeView/AfterCheck/tn_checked.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/VB/tn_checked.vb rename to snippets/visualbasic/System.Windows.Forms/TreeView/AfterCheck/tn_checked.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb b/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb rename to snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb b/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb rename to snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewMisc/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/TreeView/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewMisc/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TreeView/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.BorderStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/UpDownBase/PreferredHeight/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.BorderStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/UpDownBase/PreferredHeight/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.Text Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/UpDownBase/Select/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.Text Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/UpDownBase/Select/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic UserControl.UserControl Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/UserControl/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic UserControl.UserControl Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/UserControl/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic UserControl Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/UserControl/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic UserControl Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/UserControl/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb b/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb rename to snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserExtensibility/VB/WB2.vb b/snippets/visualbasic/System.Windows.Forms/WebBrowser/CreateSink/WB2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WebBrowserExtensibility/VB/WB2.vb rename to snippets/visualbasic/System.Windows.Forms/WebBrowser/CreateSink/WB2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/AppSettingsSample.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/AppSettingsSample.vbproj deleted file mode 100644 index 88817429111..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/AppSettingsSample.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {8185A72A-6670-477B-B062-96065DCB8735} - WinExe - AppSettingsSample.My.MyApplication - AppSettingsSample - AppSettingsSample - WindowsForms - - - true - full - true - true - bin\Debug\ - AppSettingsSample.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - AppSettingsSample.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Application.Designer.vb deleted file mode 100644 index fcf2637254c..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.AppSettingsSample.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 17d40dea8cb..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/ClassicColorDialogExample.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/ClassicColorDialogExample.vbproj deleted file mode 100644 index aa3b0dbed74..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/ClassicColorDialogExample.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {CC678BD7-260C-4381-A773-01D91CE64ED5} - WinExe - ClassicColorDialogExample.My.MyApplication - ClassicColorDialogExample - ClassicColorDialogExample - WindowsForms - - - true - full - true - true - bin\Debug\ - ClassicColorDialogExample.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - ClassicColorDialogExample.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Application.Designer.vb deleted file mode 100644 index 152a66f74eb..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.ClassicColorDialogExample.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 78fdcc1d10c..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/ClientAppServicesDemo.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/ClientAppServicesDemo.vbproj deleted file mode 100644 index 3e28229a778..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/ClientAppServicesDemo.vbproj +++ /dev/null @@ -1,94 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20706 - 2.0 - {E7BE7173-3B0A-42A7-ADE3-A498A707EDE4} - WinExe - ClientAppServicesDemo.Form1 - ClientAppServicesDemo - ClientAppServicesDemo - 512 - WindowsForms - v3.5 - On - Binary - Off - On - - - true - full - true - true - bin\Debug\ - ClientAppServicesDemo.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - ClientAppServicesDemo.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - 3.5 - - - - - 3.5 - - - 3.5 - - - - - - - - - - - - - - - - - - - Form - - - Form - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/AutoSizeProjectVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/AutoSizeProjectVB.vbproj deleted file mode 100644 index 3f9c618a53c..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/AutoSizeProjectVB.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {38A4720C-E8CB-4673-823A-ED9FCCB13219} - WinExe - AutoSizeProjectVB.My.MyApplication - AutoSizeProjectVB - AutoSizeProjectVB - WindowsForms - - - true - full - true - true - bin\Debug\ - AutoSizeProjectVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - AutoSizeProjectVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Application.Designer.vb deleted file mode 100644 index 6b9460e7a94..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.AutoSizeProjectVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 5703af9c1a8..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/MouseEventArgsVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/MouseEventArgsVB.vbproj deleted file mode 100644 index d4bf430820b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/MouseEventArgsVB.vbproj +++ /dev/null @@ -1,96 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50129 - 2.0 - {109A3344-7D8E-4260-8FFF-61B96EE47CD7} - WinExe - MouseEventArgsVB.My.MyApplication - MouseEventArgsVB - MouseEventArgsVB - WindowsForms - - - true - full - true - true - bin\Debug\ - MouseEventArgsVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - MouseEventArgsVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - Settings.Designer.vb - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Application.Designer.vb deleted file mode 100644 index 4ecbdb4b542..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,37 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50129.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - -Namespace My - - 'NOTE: This file is auto-generated, do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to project properties or double-click on the My Project node in the - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Class MyApplication - - _ - Public Sub New() - MyBase.New(Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.MouseEventArgsVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/ApplicationEvents.vb b/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/ApplicationEvents.vb deleted file mode 100644 index 31b18beb736..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/ApplicationEvents.vb +++ /dev/null @@ -1,15 +0,0 @@ -Namespace My - - 'The following events are available for MyApplication - ' - 'Startup: Raised when the application starts, before the startup form is created. - 'Shutdown: Raised after all application forms are closed. This event is not raised if the application is terminating abnormally. - 'UnhandledException: Raised if the application encounters an unhandled exception. - 'StartupNextInstance: Raised when launching a single-instance application and the application is already active. - 'NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected. - - Class MyApplication - - End Class - -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 59eace6df61..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,36 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Application.Designer.vb deleted file mode 100644 index 0d59b7aac01..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.TestSaveFileDialogVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index ebb329edaaf..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/TestSaveFileDialogVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/TestSaveFileDialogVB.vbproj deleted file mode 100644 index dc596d5e57a..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/TestSaveFileDialogVB.vbproj +++ /dev/null @@ -1,112 +0,0 @@ - - - - Debug - AnyCPU - - 2.0 - {fdbe1954-0807-4641-b189-6426ca901eaa} - WinExe - TestSaveFileDialogVB.My.MyApplication - TestSaveFileDialogVB - TestSaveFileDialogVB - WindowsForms - - - - true - full - true - true - bin\Debug\ - TestSaveFileDialogVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - pdbonly - false - true - true - bin\Release\ - TestSaveFileDialogVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControl.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControl.vb deleted file mode 100644 index 67c1ac9e866..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControl.vb +++ /dev/null @@ -1,17 +0,0 @@ - ' -Imports System.ComponentModel -Imports System.ComponentModel.Design -Imports System.Text -Imports System.Windows.Forms -Imports System.Windows.Forms.Design - - - _ -Public Class DemoControl - Inherits Control - - Public Sub New() - - End Sub -End Class -' \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/ReadOnlyPropertyDescriptor.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/ReadOnlyPropertyDescriptor.vbproj deleted file mode 100644 index 0f2a6f603dc..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/ReadOnlyPropertyDescriptor.vbproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {72DFD7F8-CE28-49C1-AA55-A3D7CF96467A} - Library - ReadOnlyPropertyDescriptor - ReadOnlyPropertyDescriptor - Windows - - - true - full - true - true - bin\Debug\ - ReadOnlyPropertyDescriptor.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - ReadOnlyPropertyDescriptor.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - Component - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Application.Designer.vb deleted file mode 100644 index 49d02340af5..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50721.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.TestMouseWheelVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 99c5a07d001..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/TestMouseWheelVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/TestMouseWheelVB.vbproj deleted file mode 100644 index 630402f225d..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/TestMouseWheelVB.vbproj +++ /dev/null @@ -1,108 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50721 - 2.0 - {517C77AA-24D4-48B6-8596-02005E3DAA2E} - WinExe - TestMouseWheelVB.My.MyApplication - TestMouseWheelVB - TestMouseWheelVB - WindowsForms - - - true - full - true - true - bin\Debug\ - TestMouseWheelVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - TestMouseWheelVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - MouseWheelControl.vb - - - UserControl - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/HtmlDocumentProject.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/HtmlDocumentProject.vbproj deleted file mode 100644 index 11041be0eb2..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/HtmlDocumentProject.vbproj +++ /dev/null @@ -1,103 +0,0 @@ - - - Debug - AnyCPU - 8.0.50228 - 2.0 - {259B81AA-F306-49F0-9AFB-7C75884FB6FE} - WinExe - HtmlDocumentProject.My.MyApplication - HtmlDocumentProject - HtmlDocumentProject - WindowsForms - - - true - full - true - true - bin\ - HtmlDocumentProject.xml - 42016,42017,42018,42019,42032 - - - pdbonly - false - true - true - bin\ - HtmlDocumentProject.xml - 42016,42017,42018,42019,42032 - - - - False - Common\MSHTML.dll - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - MyApplication.myapp - - - True - True - MyResources.resx - - - True - MySettings.settings - True - - - - - - Form1.vb - Designer - - - VbMyResourcesResXFileCodeGenerator - MyResources.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - MyApplication.vb - - - SettingsSingleFileGenerator - MySettings.vb - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 7e5837e4651..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyApplication.myapp b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyApplication.myapp deleted file mode 100644 index f5f5c1f7004..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyApplication.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - true - HtmlDocumentProject.Form1 - false - 0 - true - 0 - 0 - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyApplication.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyApplication.vb deleted file mode 100644 index 00227d3dcc8..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyApplication.vb +++ /dev/null @@ -1,29 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - Partial Class MyApplication - - Public Sub New() - MyBase.New(ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.ShutDownStyle = ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = My.Forms.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/HtmlElementProject.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/HtmlElementProject.vbproj deleted file mode 100644 index 8f097245afb..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/HtmlElementProject.vbproj +++ /dev/null @@ -1,96 +0,0 @@ - - - Debug - AnyCPU - 8.0.41123 - 2.0 - {0032B27F-DFAF-4DD5-BB1F-8B3A3E7C7DE2} - WinExe - HtmlElementProject.My.MyApplication - HtmlElementProject - HtmlElementProject - WindowsForms - - - true - full - true - true - bin\ - HtmlElementProject.xml - 42016,42017,42018,42019,42032 - - - pdbonly - false - true - true - bin\ - HtmlElementProject.xml - 42016,42017,42018,42019,42032 - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - MyApplication.myapp - - - True - True - MyResources.resx - - - True - MySettings.settings - True - - - - - - Form1.vb - Designer - - - VbMyResourcesResXFileCodeGenerator - MyResources.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - MyApplication.vb - - - SettingsSingleFileGenerator - MySettings.vb - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 65c5feb0b9d..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyApplication.myapp b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyApplication.myapp deleted file mode 100644 index e84073258a2..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyApplication.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - true - HtmlElementProject.Form1 - false - 0 - true - 0 - 0 - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyApplication.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyApplication.vb deleted file mode 100644 index 00227d3dcc8..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyApplication.vb +++ /dev/null @@ -1,29 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - Partial Class MyApplication - - Public Sub New() - MyBase.New(ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.ShutDownStyle = ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = My.Forms.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/HtmlElementEventArgsProjectVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/HtmlElementEventArgsProjectVB.vbproj deleted file mode 100644 index b8f1eaadc24..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/HtmlElementEventArgsProjectVB.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {4F895F10-105F-4E16-9C62-78F0ABF99D7E} - WinExe - HtmlElementEventArgsProjectVB.My.MyApplication - HtmlElementEventArgsProjectVB - HtmlElementEventArgsProjectVB - WindowsForms - - - true - full - true - true - bin\Debug\ - HtmlElementEventArgsProjectVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - HtmlElementEventArgsProjectVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Application.Designer.vb deleted file mode 100644 index c8a5a9b3957..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.HtmlElementEventArgsProjectVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 6aa2eb6bff3..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/HtmlWindowProject.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/HtmlWindowProject.vbproj deleted file mode 100644 index 229aaf08d13..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/HtmlWindowProject.vbproj +++ /dev/null @@ -1,113 +0,0 @@ - - - Debug - AnyCPU - 8.0.41129 - 2.0 - {32E74E99-EB22-466D-A22C-9196118038F1} - WinExe - HtmlWindowProject.My.MyApplication - HtmlWindowProject - HtmlWindowProject - WindowsForms - - - true - full - true - true - bin\ - HtmlWindowProject.xml - 42016,42017,42018,42019,42032 - - - pdbonly - false - true - true - bin\ - HtmlWindowProject.xml - 42016,42017,42018,42019,42032 - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - MyApplication.myapp - - - True - True - MyResources.resx - - - True - MySettings.settings - True - - - - - - Form1.vb - Designer - - - VbMyResourcesResXFileCodeGenerator - MyResources.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - MyApplication.Designer.vb - - - SettingsSingleFileGenerator - MySettings.vb - - - - - {3050F1C5-98B5-11CF-BB82-00AA00BDCE0B} - 4 - 0 - 0 - primary - False - - - {00020430-0000-0000-C000-000000000046} - 2 - 0 - 0 - primary - False - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index a0f52b8bccb..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyApplication.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyApplication.Designer.vb deleted file mode 100644 index 26f31a45dd1..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyApplication.Designer.vb +++ /dev/null @@ -1,33 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.40930.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - Partial Class MyApplication - - _ - Public Sub New() - MyBase.New(Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - ' Me.EnableRTLMirroring = false - Me.ShutDownStyle = Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.HtmlWindowProject.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyApplication.myapp b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyApplication.myapp deleted file mode 100644 index dc446fe4f8b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyApplication.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - HtmlWindowProject.Form1 - false - 0 - true - 0 - 0 - false - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Application.Designer.vb deleted file mode 100644 index 4790b40a0ff..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.TestOpenFileDialogMultiSelectVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index c01b98f22a3..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/TestOpenFileDialogMultiSelectVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/TestOpenFileDialogMultiSelectVB.vbproj deleted file mode 100644 index d26d23f1cbf..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/TestOpenFileDialogMultiSelectVB.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {7CD282C6-7060-49F5-B797-5C2DEC17FB43} - WinExe - TestOpenFileDialogMultiSelectVB.My.MyApplication - TestOpenFileDialogMultiSelectVB - TestOpenFileDialogMultiSelectVB - WindowsForms - - - true - full - true - true - bin\Debug\ - TestOpenFileDialogMultiSelectVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - TestOpenFileDialogMultiSelectVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/AutoSize.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/AutoSize.vbproj deleted file mode 100644 index 4b98601788a..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/AutoSize.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {69331AA4-F828-4FFF-A125-B087955118FB} - WinExe - AutoSize.My.MyApplication - AutoSize - AutoSize - WindowsForms - - - true - full - true - true - bin\Debug\ - AutoSize.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - AutoSize.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Application.Designer.vb deleted file mode 100644 index 5cad2bece91..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.312 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.AutoSize.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index d1ae0cdc803..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/KeysConverterVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/KeysConverterVB.vbproj deleted file mode 100644 index df4901df669..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/KeysConverterVB.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {C9E43FBE-B97C-47F6-9E53-8FD22247555C} - WinExe - KeysConverterVB.My.MyApplication - KeysConverterVB - KeysConverterVB - WindowsForms - - - true - full - true - true - bin\Debug\ - KeysConverterVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - KeysConverterVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Application.Designer.vb deleted file mode 100644 index 48ef5f7ba4a..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.312 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.KeysConverterVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 17a86baceda..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Application.Designer.vb deleted file mode 100644 index 800ed2675fa..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.312 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.SelectionStart.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index dd590caa343..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/SelectionStart.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/SelectionStart.vbproj deleted file mode 100644 index 1a1f024f23a..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/SelectionStart.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {3932B152-9BA2-4708-AB28-FA49E820BB1A} - WinExe - SelectionStart.My.MyApplication - SelectionStart - SelectionStart - WindowsForms - - - true - full - true - true - bin\Debug\ - SelectionStart.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - SelectionStart.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/module1.vb deleted file mode 100644 index 5778d02419b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/module1.vb +++ /dev/null @@ -1,262 +0,0 @@ - -Imports System.Drawing -Imports System.Collections -Imports System.ComponentModel -Imports System.Windows.Forms -Imports System.Data - -Module Module1 - - Private Sub Main() - Application.Run(New Form1()) - End Sub - -Public Class Form1 - Inherits System.Windows.Forms.Form - ' use MySplitContainer to replicate 3.5 behavior - 'private MySplitContainer splitContainer2; - Private splitContainer2 As SplitContainer - - Private splitContainer1 As System.Windows.Forms.SplitContainer - Private treeView1 As System.Windows.Forms.TreeView - Private listView2 As System.Windows.Forms.ListView - Private listView1 As System.Windows.Forms.ListView - - Public Sub New() - InitializeComponent() - End Sub - Private Sub InitializeComponent() - splitContainer1 = New System.Windows.Forms.SplitContainer() - treeView1 = New System.Windows.Forms.TreeView() - splitContainer2 = New MySplitContainer() - listView1 = New System.Windows.Forms.ListView() - listView2 = New System.Windows.Forms.ListView() - splitContainer1.SuspendLayout() - splitContainer2.SuspendLayout() - SuspendLayout() - - ' Basic SplitContainer properties. - ' This is a vertical splitter that moves in 10-pixel increments. - ' This splitter needs no explicit Orientation property because Vertical is the default. - splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill - splitContainer1.ForeColor = System.Drawing.SystemColors.Control - splitContainer1.Location = New System.Drawing.Point(0, 0) - splitContainer1.Name = "splitContainer1" - - ' You can drag the splitter no nearer than 30 pixels from the left edge of the container. - splitContainer1.Panel1MinSize = 30 - - ' You can drag the splitter no nearer than 20 pixels from the right edge of the container. - splitContainer1.Panel2MinSize = 20 - splitContainer1.Size = New System.Drawing.Size(292, 273) - splitContainer1.SplitterDistance = 79 - - ' This splitter moves in 10-pixel increments. - splitContainer1.SplitterIncrement = 10 - splitContainer1.SplitterWidth = 6 - - ' splitContainer1 is the first control in the tab order. - splitContainer1.TabIndex = 0 - splitContainer1.Text = "splitContainer1" - - ' When the splitter moves, the cursor changes shape. - AddHandler splitContainer1.SplitterMoved, AddressOf splitContainer1_SplitterMoved - AddHandler splitContainer1.SplitterMoving, AddressOf splitContainer1_SplitterMoving - - ' Add a TreeView control to the left panel. - splitContainer1.Panel1.BackColor = System.Drawing.SystemColors.Control - - ' Add a TreeView control to Panel1. - splitContainer1.Panel1.Controls.Add(treeView1) - splitContainer1.Panel1.Name = "splitterPanel1" - - ' Controls placed on Panel1 support right-to-left fonts. - splitContainer1.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes - - - ' Add a SplitContainer to the right panel. - splitContainer1.Panel2.Controls.Add(splitContainer2) - splitContainer1.Panel2.Name = "splitterPanel2" - - ' This TreeView control is in Panel1 of splitContainer1. - treeView1.Dock = System.Windows.Forms.DockStyle.Fill - treeView1.ForeColor = System.Drawing.SystemColors.InfoText - treeView1.ImageIndex = -1 - treeView1.Location = New System.Drawing.Point(0, 0) - treeView1.Name = "treeView1" - treeView1.SelectedImageIndex = -1 - treeView1.Size = New System.Drawing.Size(79, 273) - - treeView1.BeginUpdate() - treeView1.Nodes.Add("Parent") - treeView1.Nodes(0).Nodes.Add("Child 1") - treeView1.Nodes(0).Nodes.Add("Child 2") - treeView1.Nodes(0).Nodes(1).Nodes.Add("Grandchild") - treeView1.Nodes(0).Nodes(1).Nodes(0).Nodes.Add("Great Grandchild") - treeView1.EndUpdate() - - ' treeView1 is the second control in the tab order. - treeView1.TabIndex = 1 - - ' Basic SplitContainer properties. - ' This is a horizontal splitter whose top and bottom panels are ListView controls. The top panel is fixed. - splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill - - ' The top panel remains the same size when the form is resized. - splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1 - splitContainer2.Location = New System.Drawing.Point(0, 0) - splitContainer2.Name = "splitContainer2" - - ' Create the horizontal splitter. - splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal - splitContainer2.Size = New System.Drawing.Size(207, 273) - splitContainer2.SplitterDistance = 125 - splitContainer2.SplitterWidth = 6 - - ' splitContainer2 is the third control in the tab order. - 'splitContainer2.TabIndex = 2; - splitContainer2.TabStop = False - splitContainer2.Text = "splitContainer2" - - ' This splitter panel contains the top ListView control. - splitContainer2.Panel1.Controls.Add(listView1) - splitContainer2.Panel1.Name = "splitterPanel3" - - ' This splitter panel contains the bottom ListView control. - splitContainer2.Panel2.Controls.Add(listView2) - splitContainer2.Panel2.Name = "splitterPanel4" - - ' This ListView control is in the top panel of splitContainer2. - listView1.Dock = System.Windows.Forms.DockStyle.Fill - listView1.Location = New System.Drawing.Point(0, 0) - listView1.Name = "listView1" - listView1.Size = New System.Drawing.Size(207, 125) - listView1.View = View.Details - - ' Display grid lines. - listView1.GridLines = True - - - ' Create three items and three sets of subitems for each item. - Dim item1 As New ListViewItem("item1", 0) - ' Place a check mark next to the item. - item1.Checked = True - item1.SubItems.Add("1") - item1.SubItems.Add("2") - item1.SubItems.Add("3") - Dim item2 As New ListViewItem("item2", 1) - item2.SubItems.Add("4") - item2.SubItems.Add("5") - item2.SubItems.Add("6") - Dim item3 As New ListViewItem("item3", 0) - ' Place a check mark next to the item. - item3.Checked = True - item3.SubItems.Add("7") - item3.SubItems.Add("8") - item3.SubItems.Add("9") - - ' Create columns for the items and subitems. - ' Width of -2 indicates auto-size. - listView1.Columns.Add("Item Column", -2, HorizontalAlignment.Left) - listView1.Columns.Add("Column 2", -2, HorizontalAlignment.Left) - listView1.Columns.Add("Column 3", -2, HorizontalAlignment.Left) - listView1.Columns.Add("Column 4", -2, HorizontalAlignment.Center) - - 'Add the items to the ListView. - listView1.Items.AddRange(New ListViewItem() {item1, item2, item3}) - - ' listView1 is the fourth control in the tab order. - listView1.TabIndex = 3 - - ' This ListView control is in the bottom panel of splitContainer2. - listView2.Dock = System.Windows.Forms.DockStyle.Fill - listView2.Location = New System.Drawing.Point(0, 0) - listView2.Name = "listView2" - listView2.Size = New System.Drawing.Size(207, 142) - listView2.View = View.Details - - ' Display grid lines. - listView2.GridLines = True - - - ' Create three items and three sets of subitems for each item. - item1 = New ListViewItem("item1", 0) - ' Place a check mark next to the item. - item1.Checked = True - item1.SubItems.Add("1") - item1.SubItems.Add("2") - item1.SubItems.Add("3") - item2 = New ListViewItem("item2", 1) - item2.SubItems.Add("4") - item2.SubItems.Add("5") - item2.SubItems.Add("6") - - item3 = New ListViewItem("item3", 0) - ' Place a check mark next to the item. - item3.Checked = True - item3.SubItems.Add("7") - item3.SubItems.Add("8") - item3.SubItems.Add("9") - - ' Create columns for the items and subitems. - ' Width of -2 indicates auto-size. - listView2.Columns.Add("Item Column", -2, HorizontalAlignment.Left) - listView2.Columns.Add("Column 2", -2, HorizontalAlignment.Left) - listView2.Columns.Add("Column 3", -2, HorizontalAlignment.Left) - listView2.Columns.Add("Column 4", -2, HorizontalAlignment.Center) - - 'Add the items to the ListView. - listView2.Items.AddRange(New ListViewItem() {item1, item2, item3}) - - ' listView2 is the fifth control in the tab order. - listView2.TabIndex = 4 - - ' These are basic properties of the form. - 'ClientSize = new System.Drawing.Size(292, 273); - Me.WindowState = FormWindowState.Maximized - Controls.Add(splitContainer1) - Name = "Form1" - Text = "Form1" - splitContainer1.ResumeLayout(False) - splitContainer2.ResumeLayout(False) - ResumeLayout(False) - End Sub - - Private Sub splitContainer1_SplitterMoving(ByVal sender As System.Object, ByVal e As System.Windows.Forms.SplitterCancelEventArgs) - ' As the splitter moves, change the cursor type. - Cursor.Current = System.Windows.Forms.Cursors.NoMoveVert - End Sub - Private Sub splitContainer1_SplitterMoved(ByVal sender As System.Object, ByVal e As System.Windows.Forms.SplitterEventArgs) - ' When the splitter stops moving, change the cursor back to the default. - Cursor.Current = System.Windows.Forms.Cursors.[Default] - End Sub -End Class - -' -Public Class MySplitContainer - Inherits SplitContainer - Private m_tabStop As Boolean = True - Public Shadows Property TabStop() As Boolean - Get - Return m_tabStop - End Get - Set(ByVal value As Boolean) - If TabStop <> value Then - m_tabStop = value - OnTabStopChanged(EventArgs.Empty) - End If - End Set - End Property - - Protected Overloads Overrides Function ProcessTabKey(ByVal forward As Boolean) As Boolean - If Not m_tabStop Then - If SelectNextControl(ActiveControl, forward, True, True, False) Then - Return True - End If - End If - Return MyBase.ProcessTabKey(forward) - End Function -End Class - ' - -End Module diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/application.designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/application.designer.vb deleted file mode 100644 index 32c54ef1402..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/application.designer.vb +++ /dev/null @@ -1,13 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:4.0.30109.1 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/application.myapp deleted file mode 100644 index e62f1a53381..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/application.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - false - false - 0 - true - 0 - 2 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/assemblyinfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/assemblyinfo.vb deleted file mode 100644 index 12cd5de55d0..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/assemblyinfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/splitcontainertabstop.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/splitcontainertabstop.vbproj deleted file mode 100644 index e7d94f5013a..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/splitcontainertabstop.vbproj +++ /dev/null @@ -1,120 +0,0 @@ - - - - Debug - x86 - - - - - {A1F1418D-DD90-484D-B6ED-B98AEDE9221D} - Exe - SplitContainerTabStop.Form1 - SplitContainerTabStop - SplitContainerTabStop - 512 - Console - v4.0 - Client - - - x86 - true - full - true - true - bin\Debug\ - SplitContainerTabStop.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - x86 - pdbonly - false - true - true - bin\Release\ - SplitContainerTabStop.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - On - - - Binary - - - Off - - - On - - - - - - - - - - - - - - - - - - - - - - - - - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/backgroundworkersimple.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/backgroundworkersimple.vbproj deleted file mode 100644 index b11b568d9c1..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/backgroundworkersimple.vbproj +++ /dev/null @@ -1,128 +0,0 @@ - - - - Debug - x86 - - - 2.0 - {28D8D430-EDFB-4B2D-8FF3-59CE4313485F} - WinExe - BackgroundWorkerSimple.My.MyApplication - BackgroundWorkerSimple - BackgroundWorkerSimple - 512 - WindowsForms - v4.8 - - - - x86 - true - full - true - true - bin\Debug\ - BackgroundWorkerSimple.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - x86 - pdbonly - false - true - true - bin\Release\ - BackgroundWorkerSimple.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - On - - - Binary - - - Off - - - On - - - - - - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/xml/Microsoft.Win32/SystemEvents.xml b/xml/Microsoft.Win32/SystemEvents.xml index eedb6606e20..acbc8cbabef 100644 --- a/xml/Microsoft.Win32/SystemEvents.xml +++ b/xml/Microsoft.Win32/SystemEvents.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet1"::: **Example 2** @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet2"::: ]]> @@ -555,7 +555,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet2"::: ]]> @@ -1037,7 +1037,7 @@ private void Form1_Closing( :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet2"::: ]]> diff --git a/xml/Microsoft.Win32/UserPreferenceChangingEventArgs.xml b/xml/Microsoft.Win32/UserPreferenceChangingEventArgs.xml index 360fd8df6bf..1234b656a38 100644 --- a/xml/Microsoft.Win32/UserPreferenceChangingEventArgs.xml +++ b/xml/Microsoft.Win32/UserPreferenceChangingEventArgs.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet1"::: ]]> @@ -144,7 +144,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.Win32/UserPreferenceChangingEventHandler.xml b/xml/Microsoft.Win32/UserPreferenceChangingEventHandler.xml index b8520598ebf..5dcd3c366dc 100644 --- a/xml/Microsoft.Win32/UserPreferenceChangingEventHandler.xml +++ b/xml/Microsoft.Win32/UserPreferenceChangingEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/CodeDomSerializer.xml b/xml/System.ComponentModel.Design.Serialization/CodeDomSerializer.xml index 3790648f783..2f37d416c70 100644 --- a/xml/System.ComponentModel.Design.Serialization/CodeDomSerializer.xml +++ b/xml/System.ComponentModel.Design.Serialization/CodeDomSerializer.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerSerializationManagerSample/CPP/idesignerserializationmanagersample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerSerializationManagerSample/VB/idesignerserializationmanagersample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/CodeDomSerializerException.xml b/xml/System.ComponentModel.Design.Serialization/CodeDomSerializerException.xml index 0b69963e0bf..8d1652cab44 100644 --- a/xml/System.ComponentModel.Design.Serialization/CodeDomSerializerException.xml +++ b/xml/System.ComponentModel.Design.Serialization/CodeDomSerializerException.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CodeDomSerializerExceptionExample/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/CodeDomSerializerException/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CodeDomSerializerExceptionExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializerException/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/ContextStack.xml b/xml/System.ComponentModel.Design.Serialization/ContextStack.xml index 213c8a30df4..71d0b4d790e 100644 --- a/xml/System.ComponentModel.Design.Serialization/ContextStack.xml +++ b/xml/System.ComponentModel.Design.Serialization/ContextStack.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ContextStackExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContextStackExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.vb" id="Snippet1"::: ]]> @@ -123,7 +123,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ContextStackExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContextStackExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.vb" id="Snippet2"::: ]]> @@ -390,7 +390,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ContextStackExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContextStackExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.vb" id="Snippet4"::: ]]> @@ -445,7 +445,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ContextStackExample/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContextStackExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/DesignerSerializationManager.xml b/xml/System.ComponentModel.Design.Serialization/DesignerSerializationManager.xml index 5450aa30fc2..b7f604ed716 100644 --- a/xml/System.ComponentModel.Design.Serialization/DesignerSerializationManager.xml +++ b/xml/System.ComponentModel.Design.Serialization/DesignerSerializationManager.xml @@ -79,17 +79,17 @@ Because of these differences, a different serialization model applies to design-time serialization. This model utilizes a separate serializer object for each data type being serialized. Each serializer provides its small contribution to the problem as a whole. These serializers are all coordinated through a common serialization manager. The serialization manager is responsible for maintaining state between these different serializers. As an example, consider the following class: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/Program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/Program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/Program.vb" id="Snippet2"::: An instance of this class would utilize three different serializers: one for `SampleObject`, one for strings, and another for integers. The serializer for `SampleObject` is called the root serializer because `SampleObject` is the root of the serialization graph. More complex object graphs can be created as well. For example, consider what would happen if `SampleObject` were changed as follows: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/SampleObject.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/SampleObject.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/SampleObject.vb" id="Snippet11"::: This allows `SampleObject` to have a child that is another instance of itself. The following code fills in the object graph: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/SampleObject.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/SampleObject.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/SampleObject.vb" id="Snippet12"::: When `root` is serialized, there will be four serializers used: one root serializer, one serializer for the child `SampleObject`, one serializer for `int`, and one serializer for `string`. Serializers are cached based on type, so there is no need to create a serializer for each instance of `SampleObject`. diff --git a/xml/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.xml b/xml/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.xml index 7aaa42ebeac..d58ae6572f1 100644 --- a/xml/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.xml +++ b/xml/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.xml @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerSerializerAttribute/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerSerializerAttribute/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/IDesignerSerializationManager.xml b/xml/System.ComponentModel.Design.Serialization/IDesignerSerializationManager.xml index 3e1207389cd..90bf5f1495f 100644 --- a/xml/System.ComponentModel.Design.Serialization/IDesignerSerializationManager.xml +++ b/xml/System.ComponentModel.Design.Serialization/IDesignerSerializationManager.xml @@ -58,7 +58,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerSerializationManagerSample/CPP/idesignerserializationmanagersample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerSerializationManagerSample/VB/idesignerserializationmanagersample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/INameCreationService.xml b/xml/System.ComponentModel.Design.Serialization/INameCreationService.xml index 2c416ee9b20..e2e7d8761fd 100644 --- a/xml/System.ComponentModel.Design.Serialization/INameCreationService.xml +++ b/xml/System.ComponentModel.Design.Serialization/INameCreationService.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/INameCreationServiceExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/INameCreationServiceExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.vb" id="Snippet1"::: ]]> @@ -125,7 +125,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/INameCreationServiceExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/INameCreationServiceExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.vb" id="Snippet2"::: ]]> @@ -190,7 +190,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/INameCreationServiceExample/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/INameCreationServiceExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.vb" id="Snippet3"::: ]]> @@ -252,7 +252,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/INameCreationServiceExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/INameCreationServiceExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/InstanceDescriptor.xml b/xml/System.ComponentModel.Design.Serialization/InstanceDescriptor.xml index 1861bbbbedc..f129f7760ed 100644 --- a/xml/System.ComponentModel.Design.Serialization/InstanceDescriptor.xml +++ b/xml/System.ComponentModel.Design.Serialization/InstanceDescriptor.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/InstanceDescriptorSample/CPP/instancedescriptor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ITypeDescriptorContext/Overview/instancedescriptor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/InstanceDescriptorSample/VB/instancedescriptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ITypeDescriptorContext/Overview/instancedescriptor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/ResolveNameEventArgs.xml b/xml/System.ComponentModel.Design.Serialization/ResolveNameEventArgs.xml index 14dd08d105c..5a9418ba1f4 100644 --- a/xml/System.ComponentModel.Design.Serialization/ResolveNameEventArgs.xml +++ b/xml/System.ComponentModel.Design.Serialization/ResolveNameEventArgs.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventArgsExamples/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventArgsExamples/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.xml b/xml/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.xml index d26ad12c578..cd58811b5a2 100644 --- a/xml/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.xml +++ b/xml/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventHandlerExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventHandlerExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.xml b/xml/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.xml index 7e69a8d6793..25b38b814df 100644 --- a/xml/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.xml +++ b/xml/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.xml @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerSerializationManagerSample/CPP/idesignerserializationmanagersample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerSerializationManagerSample/VB/idesignerserializationmanagersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel.Design/ActiveDesignerEventArgs.xml b/xml/System.ComponentModel.Design/ActiveDesignerEventArgs.xml index 290a3a7a89d..44761086120 100644 --- a/xml/System.ComponentModel.Design/ActiveDesignerEventArgs.xml +++ b/xml/System.ComponentModel.Design/ActiveDesignerEventArgs.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ActiveDesignerEventArgs/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ActiveDesignerEventArgs/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ActiveDesignerEventArgs/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ActiveDesignerEventArgs/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ActiveDesignerEventHandler.xml b/xml/System.ComponentModel.Design/ActiveDesignerEventHandler.xml index c1703b2d340..ff9f1caaf05 100644 --- a/xml/System.ComponentModel.Design/ActiveDesignerEventHandler.xml +++ b/xml/System.ComponentModel.Design/ActiveDesignerEventHandler.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ActiveDesignerEventHandlerExample/CPP/activedesignereventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ActiveDesignerEventHandler/Overview/activedesignereventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ActiveDesignerEventHandlerExample/VB/activedesignereventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ActiveDesignerEventHandler/Overview/activedesignereventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ArrayEditor.xml b/xml/System.ComponentModel.Design/ArrayEditor.xml index 412e0b2944b..39fe8b92e62 100644 --- a/xml/System.ComponentModel.Design/ArrayEditor.xml +++ b/xml/System.ComponentModel.Design/ArrayEditor.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ArrayEditorExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ArrayEditor/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ArrayEditorExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ArrayEditor/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ByteViewer.xml b/xml/System.ComponentModel.Design/ByteViewer.xml index e1337f87dce..a5daec28caf 100644 --- a/xml/System.ComponentModel.Design/ByteViewer.xml +++ b/xml/System.ComponentModel.Design/ByteViewer.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ByteViewerExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ByteViewer/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ByteViewerExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ByteViewer/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/CheckoutException.xml b/xml/System.ComponentModel.Design/CheckoutException.xml index 58952885be4..af9e04b8be1 100644 --- a/xml/System.ComponentModel.Design/CheckoutException.xml +++ b/xml/System.ComponentModel.Design/CheckoutException.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckoutExceptionExample/CPP/checkoutexceptionexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CheckoutException/Overview/checkoutexceptionexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckoutExceptionExample/VB/checkoutexceptionexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/CheckoutException/Overview/checkoutexceptionexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/CollectionEditor.xml b/xml/System.ComponentModel.Design/CollectionEditor.xml index 88efa2bad28..9399fbf8150 100644 --- a/xml/System.ComponentModel.Design/CollectionEditor.xml +++ b/xml/System.ComponentModel.Design/CollectionEditor.xml @@ -59,7 +59,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorAttributesExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CollectionEditor/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentChangedEventArgs.xml b/xml/System.ComponentModel.Design/ComponentChangedEventArgs.xml index 45745a74ce4..dee3205a5a0 100644 --- a/xml/System.ComponentModel.Design/ComponentChangedEventArgs.xml +++ b/xml/System.ComponentModel.Design/ComponentChangedEventArgs.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentChangedEventArgsExample/CPP/componentchangedeventargsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentChangedEventArgs/Overview/componentchangedeventargsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangedEventArgsExample/VB/componentchangedeventargsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentChangedEventArgs/Overview/componentchangedeventargsexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentChangedEventHandler.xml b/xml/System.ComponentModel.Design/ComponentChangedEventHandler.xml index d789b5a9e2a..3dbe2d24af1 100644 --- a/xml/System.ComponentModel.Design/ComponentChangedEventHandler.xml +++ b/xml/System.ComponentModel.Design/ComponentChangedEventHandler.xml @@ -80,7 +80,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentChangedEventHandlerExample/CPP/componentchangedeventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentChangedEventHandler/Overview/componentchangedeventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangedEventHandlerExample/VB/componentchangedeventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentChangedEventHandler/Overview/componentchangedeventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentChangingEventArgs.xml b/xml/System.ComponentModel.Design/ComponentChangingEventArgs.xml index 5756d7b2b7d..440c3ec87ad 100644 --- a/xml/System.ComponentModel.Design/ComponentChangingEventArgs.xml +++ b/xml/System.ComponentModel.Design/ComponentChangingEventArgs.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentChangingEventArgsExample2/CPP/componentchangingeventargsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentChangingEventArgs/Overview/componentchangingeventargsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangingEventArgsExample2/VB/componentchangingeventargsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentChangingEventArgs/Overview/componentchangingeventargsexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentChangingEventHandler.xml b/xml/System.ComponentModel.Design/ComponentChangingEventHandler.xml index 61f20675f86..50587534ad9 100644 --- a/xml/System.ComponentModel.Design/ComponentChangingEventHandler.xml +++ b/xml/System.ComponentModel.Design/ComponentChangingEventHandler.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentChangingEventHandlerExample/CPP/componentchangingeventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentChangingEventHandler/Overview/componentchangingeventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangingEventHandlerExample/VB/componentchangingeventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentChangingEventHandler/Overview/componentchangingeventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentDesigner.xml b/xml/System.ComponentModel.Design/ComponentDesigner.xml index 7e887d02878..7811ff1addc 100644 --- a/xml/System.ComponentModel.Design/ComponentDesigner.xml +++ b/xml/System.ComponentModel.Design/ComponentDesigner.xml @@ -91,7 +91,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentDesignerExample/CPP/examplecomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentDesigner/Overview/examplecomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentDesignerExample/VB/examplecomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentDesigner/Overview/examplecomponent.vb" id="Snippet1"::: ]]> @@ -504,7 +504,7 @@ The following code example demonstrates the use of the method to access designer services. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeDescriptor/GetProperties/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerServices/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeDescriptor/GetProperties/Form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentEventArgs.xml b/xml/System.ComponentModel.Design/ComponentEventArgs.xml index 6603bd9ac6d..ae39ade9678 100644 --- a/xml/System.ComponentModel.Design/ComponentEventArgs.xml +++ b/xml/System.ComponentModel.Design/ComponentEventArgs.xml @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentEventArgsExample/CPP/componenteventargsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentEventArgs/Overview/componenteventargsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentEventArgsExample/VB/componenteventargsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentEventArgs/Overview/componenteventargsexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentEventHandler.xml b/xml/System.ComponentModel.Design/ComponentEventHandler.xml index 9ccfb38e8ac..d2298b17c78 100644 --- a/xml/System.ComponentModel.Design/ComponentEventHandler.xml +++ b/xml/System.ComponentModel.Design/ComponentEventHandler.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentEventHandlerExample/CPP/componenteventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentEventHandler/Overview/componenteventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentEventHandlerExample/VB/componenteventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentEventHandler/Overview/componenteventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentRenameEventArgs.xml b/xml/System.ComponentModel.Design/ComponentRenameEventArgs.xml index 1d7014413df..20d43b7d03c 100644 --- a/xml/System.ComponentModel.Design/ComponentRenameEventArgs.xml +++ b/xml/System.ComponentModel.Design/ComponentRenameEventArgs.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentRenameEventArgsExample/CPP/componentrenameeventargsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentRenameEventArgs/Overview/componentrenameeventargsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentRenameEventArgsExample/VB/componentrenameeventargsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentRenameEventArgs/Overview/componentrenameeventargsexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentRenameEventHandler.xml b/xml/System.ComponentModel.Design/ComponentRenameEventHandler.xml index 725bfbf947a..f029cff7edf 100644 --- a/xml/System.ComponentModel.Design/ComponentRenameEventHandler.xml +++ b/xml/System.ComponentModel.Design/ComponentRenameEventHandler.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentRenameEventHandlerExample/CPP/componentrenameeventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentRenameEventHandler/Overview/componentrenameeventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentRenameEventHandlerExample/VB/componentrenameeventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentRenameEventHandler/Overview/componentrenameeventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionHeaderItem.xml b/xml/System.ComponentModel.Design/DesignerActionHeaderItem.xml index 6f5222684f1..cdebe082e5d 100644 --- a/xml/System.ComponentModel.Design/DesignerActionHeaderItem.xml +++ b/xml/System.ComponentModel.Design/DesignerActionHeaderItem.xml @@ -57,7 +57,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -123,7 +123,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionItem.xml b/xml/System.ComponentModel.Design/DesignerActionItem.xml index 90021d8fc64..f1aa1d5ce2a 100644 --- a/xml/System.ComponentModel.Design/DesignerActionItem.xml +++ b/xml/System.ComponentModel.Design/DesignerActionItem.xml @@ -60,7 +60,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionItemCollection.xml b/xml/System.ComponentModel.Design/DesignerActionItemCollection.xml index 0139f0cadcd..72e90158f88 100644 --- a/xml/System.ComponentModel.Design/DesignerActionItemCollection.xml +++ b/xml/System.ComponentModel.Design/DesignerActionItemCollection.xml @@ -48,7 +48,7 @@ The following code example demonstrates how to create a and populate it to form a smart tag list. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -92,7 +92,7 @@ The following code example demonstrates how to create a and populate it to form a smart tag list. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -138,7 +138,7 @@ The following code example demonstrates how to create a and populate it to form a smart tag list. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionList.xml b/xml/System.ComponentModel.Design/DesignerActionList.xml index d4b3cd89765..7c344fb5b88 100644 --- a/xml/System.ComponentModel.Design/DesignerActionList.xml +++ b/xml/System.ComponentModel.Design/DesignerActionList.xml @@ -66,7 +66,7 @@ For a complete explanation of this code example, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet2"::: ]]> @@ -127,7 +127,7 @@ For a complete explanation of this code example, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet4"::: ]]> @@ -185,7 +185,7 @@ For a complete explanation of this code example, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -339,7 +339,7 @@ For a complete explanation of this code example, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionListCollection.xml b/xml/System.ComponentModel.Design/DesignerActionListCollection.xml index 1ec2bf87abd..1009c249e89 100644 --- a/xml/System.ComponentModel.Design/DesignerActionListCollection.xml +++ b/xml/System.ComponentModel.Design/DesignerActionListCollection.xml @@ -74,10 +74,10 @@ For a full example, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet9"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionMethodItem.xml b/xml/System.ComponentModel.Design/DesignerActionMethodItem.xml index d4d797dbe2c..c8b25dbe918 100644 --- a/xml/System.ComponentModel.Design/DesignerActionMethodItem.xml +++ b/xml/System.ComponentModel.Design/DesignerActionMethodItem.xml @@ -57,7 +57,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -430,7 +430,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionPropertyItem.xml b/xml/System.ComponentModel.Design/DesignerActionPropertyItem.xml index a91b88796eb..db129656b93 100644 --- a/xml/System.ComponentModel.Design/DesignerActionPropertyItem.xml +++ b/xml/System.ComponentModel.Design/DesignerActionPropertyItem.xml @@ -66,7 +66,7 @@ The following code example demonstrates how to create a collection of objects. For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -271,7 +271,7 @@ The following code example demonstrates how to create a collection of objects. For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionTextItem.xml b/xml/System.ComponentModel.Design/DesignerActionTextItem.xml index 724a6f7b18c..15283954251 100644 --- a/xml/System.ComponentModel.Design/DesignerActionTextItem.xml +++ b/xml/System.ComponentModel.Design/DesignerActionTextItem.xml @@ -51,7 +51,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -108,7 +108,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionUIService.xml b/xml/System.ComponentModel.Design/DesignerActionUIService.xml index 8d0dad387fb..e98b1e39516 100644 --- a/xml/System.ComponentModel.Design/DesignerActionUIService.xml +++ b/xml/System.ComponentModel.Design/DesignerActionUIService.xml @@ -63,7 +63,7 @@ The following code example demonstrates how to use the method to update a smart tag panel. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet11"::: ]]> @@ -267,7 +267,7 @@ The following code example demonstrates how to use the method to update a smart tag panel. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet11"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerCollection.xml b/xml/System.ComponentModel.Design/DesignerCollection.xml index db03293da01..e17e0857db3 100644 --- a/xml/System.ComponentModel.Design/DesignerCollection.xml +++ b/xml/System.ComponentModel.Design/DesignerCollection.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerCollectionExample/CPP/examplecomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerCollection/Overview/examplecomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerCollectionExample/VB/examplecomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerCollection/Overview/examplecomponent.vb" id="Snippet1"::: ]]> @@ -232,7 +232,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerCollectionExample/CPP/examplecomponent.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerCollection/Overview/examplecomponent.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerCollectionExample/VB/examplecomponent.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerCollection/Overview/examplecomponent.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerEventArgs.xml b/xml/System.ComponentModel.Design/DesignerEventArgs.xml index fed310a3a16..e4debb1b273 100644 --- a/xml/System.ComponentModel.Design/DesignerEventArgs.xml +++ b/xml/System.ComponentModel.Design/DesignerEventArgs.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerEventArgsExample/CPP/designereventargsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerEventArgs/Overview/designereventargsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerEventArgsExample/VB/designereventargsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerEventArgs/Overview/designereventargsexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerEventHandler.xml b/xml/System.ComponentModel.Design/DesignerEventHandler.xml index f00458aaba1..4f8a6fb1530 100644 --- a/xml/System.ComponentModel.Design/DesignerEventHandler.xml +++ b/xml/System.ComponentModel.Design/DesignerEventHandler.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerEventHandlerExample/CPP/designereventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerEventHandler/Overview/designereventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerEventHandlerExample/VB/designereventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerEventHandler/Overview/designereventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerOptionService.xml b/xml/System.ComponentModel.Design/DesignerOptionService.xml index 9eb19f96c19..552a26691c7 100644 --- a/xml/System.ComponentModel.Design/DesignerOptionService.xml +++ b/xml/System.ComponentModel.Design/DesignerOptionService.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerOptionServiceExample/CPP/idesigneroptionservicecontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerOptionServiceExample/VB/idesigneroptionservicecontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.vb" id="Snippet2"::: This works, until you want to move to another page. Also, provides no discovery mechanism. If you do not know what string to pass in, the service cannot find the property value. @@ -82,7 +82,7 @@ The following code example demonstrates accessing the to display the current values of the standard options. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerOptionService/Overview/designeroptionservicecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerOptionService/VB/designeroptionservicecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/designeroptionservicecontrol.vb" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ The following code example shows how you can navigate the collections by named indexers so you can get the value of the `GridSize` option. All three variations return the same value. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerOptionService/Overview/designeroptionservicecontrol.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerOptionService/VB/designeroptionservicecontrol.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/designeroptionservicecontrol.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerTransaction.xml b/xml/System.ComponentModel.Design/DesignerTransaction.xml index a78f2628cf3..dbb7f124263 100644 --- a/xml/System.ComponentModel.Design/DesignerTransaction.xml +++ b/xml/System.ComponentModel.Design/DesignerTransaction.xml @@ -99,7 +99,7 @@ using (host.CreateTransaction() { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerTransaction Sample/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerTransaction/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerTransaction Sample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerTransaction/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerTransactionCloseEventArgs.xml b/xml/System.ComponentModel.Design/DesignerTransactionCloseEventArgs.xml index 992daa3ab8f..e65514b59bd 100644 --- a/xml/System.ComponentModel.Design/DesignerTransactionCloseEventArgs.xml +++ b/xml/System.ComponentModel.Design/DesignerTransactionCloseEventArgs.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerTransactionCloseEventArgsExample/CPP/designertransactioncloseeventargsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerTransactionCloseEventArgs/Overview/designertransactioncloseeventargsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerTransactionCloseEventArgsExample/VB/designertransactioncloseeventargsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerTransactionCloseEventArgs/Overview/designertransactioncloseeventargsexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerTransactionCloseEventHandler.xml b/xml/System.ComponentModel.Design/DesignerTransactionCloseEventHandler.xml index 96aa717a73c..8cce7cae75d 100644 --- a/xml/System.ComponentModel.Design/DesignerTransactionCloseEventHandler.xml +++ b/xml/System.ComponentModel.Design/DesignerTransactionCloseEventHandler.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerTransactionCloseEventHandlerExample/CPP/designertransactioncloseeventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerTransactionCloseEventHandler/Overview/designertransactioncloseeventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerTransactionCloseEventHandlerExample/VB/designertransactioncloseeventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerTransactionCloseEventHandler/Overview/designertransactioncloseeventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerVerb.xml b/xml/System.ComponentModel.Design/DesignerVerb.xml index 4cc613ecb8f..93aa9a4fd26 100644 --- a/xml/System.ComponentModel.Design/DesignerVerb.xml +++ b/xml/System.ComponentModel.Design/DesignerVerb.xml @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerb Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerb/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerb Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerb/Overview/component1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerVerbCollection.xml b/xml/System.ComponentModel.Design/DesignerVerbCollection.xml index eeeece2391b..a45552c610a 100644 --- a/xml/System.ComponentModel.Design/DesignerVerbCollection.xml +++ b/xml/System.ComponentModel.Design/DesignerVerbCollection.xml @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet2"::: ]]> @@ -235,7 +235,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -308,7 +308,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -365,7 +365,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -425,7 +425,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -490,7 +490,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -547,7 +547,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -605,7 +605,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -947,7 +947,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.ComponentModel.Design/DisplayMode.xml b/xml/System.ComponentModel.Design/DisplayMode.xml index 8cf3a5f0fb1..9e980007a64 100644 --- a/xml/System.ComponentModel.Design/DisplayMode.xml +++ b/xml/System.ComponentModel.Design/DisplayMode.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ByteViewerExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ByteViewer/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ByteViewerExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ByteViewer/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/HelpKeywordAttribute.xml b/xml/System.ComponentModel.Design/HelpKeywordAttribute.xml index 2b02c2f22df..9c228556f9b 100644 --- a/xml/System.ComponentModel.Design/HelpKeywordAttribute.xml +++ b/xml/System.ComponentModel.Design/HelpKeywordAttribute.xml @@ -106,7 +106,7 @@ public class DemoComponent : Component The following code example demonstrates using the class to specify a context keyword. For a complete explanation of this code example, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet20"::: ]]> diff --git a/xml/System.ComponentModel.Design/IComponentChangeService.xml b/xml/System.ComponentModel.Design/IComponentChangeService.xml index eabbe7e8132..d5d72e4a2ae 100644 --- a/xml/System.ComponentModel.Design/IComponentChangeService.xml +++ b/xml/System.ComponentModel.Design/IComponentChangeService.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IComponentChangeServiceSample2/CPP/icomponentchangeserviceexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IComponentChangeService/Overview/icomponentchangeserviceexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IComponentChangeServiceSample2/VB/icomponentchangeserviceexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IComponentChangeService/Overview/icomponentchangeserviceexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IComponentDiscoveryService.xml b/xml/System.ComponentModel.Design/IComponentDiscoveryService.xml index 1c9aa1d4e82..484bc699eb3 100644 --- a/xml/System.ComponentModel.Design/IComponentDiscoveryService.xml +++ b/xml/System.ComponentModel.Design/IComponentDiscoveryService.xml @@ -54,7 +54,7 @@ The following code example demonstrates how to use to find all the types that derive from the type. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeDescriptor/GetProperties/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerServices/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeDescriptor/GetProperties/Form1.vb" id="Snippet13"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to use the method to find all the types that derive from the type. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeDescriptor/GetProperties/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerServices/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeDescriptor/GetProperties/Form1.vb" id="Snippet13"::: ]]> diff --git a/xml/System.ComponentModel.Design/IDesigner.xml b/xml/System.ComponentModel.Design/IDesigner.xml index a40421afd7f..9212c9743e9 100644 --- a/xml/System.ComponentModel.Design/IDesigner.xml +++ b/xml/System.ComponentModel.Design/IDesigner.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerExample/CPP/testcontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IDesigner/Overview/testcontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerExample/VB/testcontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDesigner/Overview/testcontrol.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IDesignerEventService.xml b/xml/System.ComponentModel.Design/IDesignerEventService.xml index 2643e26c9ca..109cc35c5c8 100644 --- a/xml/System.ComponentModel.Design/IDesignerEventService.xml +++ b/xml/System.ComponentModel.Design/IDesignerEventService.xml @@ -53,7 +53,7 @@ This example demonstrates a designer that uses the to display event notifications on a control. To use this example, compile the code to a class library. Add a reference to the library to a new Windows Forms project, and add the control within the library to the **Toolbox**. Add an instance of the `DesignerMonitor` control to a form in design mode. Right-click the control and click the `Start monitoring` command to display notifications of events raised by the . :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerEventServiceExample/CPP/source.cpp" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerEventServiceExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDesignerEventService/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IDesignerFilter.xml b/xml/System.ComponentModel.Design/IDesignerFilter.xml index d98e9f1801e..ff49dff2825 100644 --- a/xml/System.ComponentModel.Design/IDesignerFilter.xml +++ b/xml/System.ComponentModel.Design/IDesignerFilter.xml @@ -58,7 +58,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlDesignerExample/CPP/controldesignerexample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IDesignerFilter/Overview/controldesignerexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlDesignerExample/VB/controldesignerexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDesignerFilter/Overview/controldesignerexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel.Design/IDesignerHost.xml b/xml/System.ComponentModel.Design/IDesignerHost.xml index 97f37c3bc87..f4585dc4feb 100644 --- a/xml/System.ComponentModel.Design/IDesignerHost.xml +++ b/xml/System.ComponentModel.Design/IDesignerHost.xml @@ -72,13 +72,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerHostAcquisition/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IDesignerHost/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerHostAcquisition/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDesignerHost/Overview/source.vb" id="Snippet1"::: The following example code demonstrates using the interface to list project components. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerHostExample/CPP/idesignerhostexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IDesignerHost/Overview/idesignerhostexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerHostExample/VB/idesignerhostexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDesignerHost/Overview/idesignerhostexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IDesignerOptionService.xml b/xml/System.ComponentModel.Design/IDesignerOptionService.xml index ecd7095e6af..a50df982622 100644 --- a/xml/System.ComponentModel.Design/IDesignerOptionService.xml +++ b/xml/System.ComponentModel.Design/IDesignerOptionService.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerOptionServiceExample/CPP/idesigneroptionservicecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerOptionServiceExample/VB/idesigneroptionservicecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.vb" id="Snippet1"::: ]]> @@ -149,7 +149,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerOptionServiceExample/CPP/idesigneroptionservicecontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerOptionServiceExample/VB/idesigneroptionservicecontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel.Design/IDictionaryService.xml b/xml/System.ComponentModel.Design/IDictionaryService.xml index 4180f2fa07d..aa7e4cddff2 100644 --- a/xml/System.ComponentModel.Design/IDictionaryService.xml +++ b/xml/System.ComponentModel.Design/IDictionaryService.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDictionaryServiceExample/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IDictionaryService/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDictionaryServiceExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDictionaryService/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IEventBindingService.xml b/xml/System.ComponentModel.Design/IEventBindingService.xml index f6890b38f7f..de14851f122 100644 --- a/xml/System.ComponentModel.Design/IEventBindingService.xml +++ b/xml/System.ComponentModel.Design/IEventBindingService.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IEventBindingServiceExample/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IEventBindingService/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IEventBindingServiceExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IEventBindingService/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IExtenderListService.xml b/xml/System.ComponentModel.Design/IExtenderListService.xml index af0d51a1a86..8541ef07217 100644 --- a/xml/System.ComponentModel.Design/IExtenderListService.xml +++ b/xml/System.ComponentModel.Design/IExtenderListService.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ExtenderListServiceExample/CPP/extenderlistserviceexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IExtenderListService/Overview/extenderlistserviceexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ExtenderListServiceExample/VB/extenderlistserviceexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IExtenderListService/Overview/extenderlistserviceexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IExtenderProviderService.xml b/xml/System.ComponentModel.Design/IExtenderProviderService.xml index 74b43b5d6e4..5fe88426738 100644 --- a/xml/System.ComponentModel.Design/IExtenderProviderService.xml +++ b/xml/System.ComponentModel.Design/IExtenderProviderService.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ExtenderServiceExample/CPP/extenderservicedesigner.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IExtenderProviderService/Overview/extenderservicedesigner.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ExtenderServiceExample/VB/extenderservicedesigner.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IExtenderProviderService/Overview/extenderservicedesigner.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IHelpService.xml b/xml/System.ComponentModel.Design/IHelpService.xml index 7f2629108f4..77b7497532b 100644 --- a/xml/System.ComponentModel.Design/IHelpService.xml +++ b/xml/System.ComponentModel.Design/IHelpService.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IHelpServiceExample/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IHelpService/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IHelpServiceExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IHelpService/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IMenuCommandService.xml b/xml/System.ComponentModel.Design/IMenuCommandService.xml index a8a7103b689..d86628692b5 100644 --- a/xml/System.ComponentModel.Design/IMenuCommandService.xml +++ b/xml/System.ComponentModel.Design/IMenuCommandService.xml @@ -84,7 +84,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IReferenceService.xml b/xml/System.ComponentModel.Design/IReferenceService.xml index 3731b831a55..0973db71dd1 100644 --- a/xml/System.ComponentModel.Design/IReferenceService.xml +++ b/xml/System.ComponentModel.Design/IReferenceService.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IReferenceServiceExample/CPP/ireferenceserviceexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IReferenceService/Overview/ireferenceserviceexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IReferenceServiceExample/VB/ireferenceserviceexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IReferenceService/Overview/ireferenceserviceexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IResourceService.xml b/xml/System.ComponentModel.Design/IResourceService.xml index 27cf55caef8..56c5adfd4ce 100644 --- a/xml/System.ComponentModel.Design/IResourceService.xml +++ b/xml/System.ComponentModel.Design/IResourceService.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IResourceServiceExample/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IResourceService/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IResourceServiceExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IResourceService/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IRootDesigner.xml b/xml/System.ComponentModel.Design/IRootDesigner.xml index 387b9ecaa80..a60aa8b0765 100644 --- a/xml/System.ComponentModel.Design/IRootDesigner.xml +++ b/xml/System.ComponentModel.Design/IRootDesigner.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IRootDesigner Sample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IRootDesigner/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IRootDesigner Sample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IRootDesigner/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ISelectionService.xml b/xml/System.ComponentModel.Design/ISelectionService.xml index 52c463098c5..22255198bc5 100644 --- a/xml/System.ComponentModel.Design/ISelectionService.xml +++ b/xml/System.ComponentModel.Design/ISelectionService.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ISelectionServiceSample/CPP/selectioncomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ISelectionService/Overview/selectioncomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ISelectionServiceSample/VB/selectioncomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/Overview/selectioncomponent.vb" id="Snippet1"::: ]]> @@ -266,10 +266,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ISelectionService/CPP/csiselectionserviceexample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/csiselectionserviceexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.vb" id="Snippet2"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ISelectionService/CPP/csiselectionserviceexample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/csiselectionserviceexample.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.vb" id="Snippet3"::: ]]> @@ -327,10 +327,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ISelectionService/CPP/csiselectionserviceexample.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/csiselectionserviceexample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.vb" id="Snippet4"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ISelectionService/CPP/csiselectionserviceexample.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/csiselectionserviceexample.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ComponentModel.Design/IServiceContainer.xml b/xml/System.ComponentModel.Design/IServiceContainer.xml index ee7da955d76..18896312a8e 100644 --- a/xml/System.ComponentModel.Design/IServiceContainer.xml +++ b/xml/System.ComponentModel.Design/IServiceContainer.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IServiceContainerExample/CPP/serviceform.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/Overview/serviceform.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IServiceContainerExample/VB/serviceform.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/Overview/serviceform.vb" id="Snippet1"::: ]]> @@ -137,7 +137,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet3"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet2"::: ]]> @@ -357,7 +357,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet4"::: ]]> @@ -415,7 +415,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel.Design/ITypeDescriptorFilterService.xml b/xml/System.ComponentModel.Design/ITypeDescriptorFilterService.xml index d9ad441396e..e4ed57bb2fa 100644 --- a/xml/System.ComponentModel.Design/ITypeDescriptorFilterService.xml +++ b/xml/System.ComponentModel.Design/ITypeDescriptorFilterService.xml @@ -71,7 +71,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ITypeDescriptorFilterService/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ITypeDescriptorFilterService/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ITypeDescriptorFilterService/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ITypeDescriptorFilterService/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ITypeResolutionService.xml b/xml/System.ComponentModel.Design/ITypeResolutionService.xml index 81aaa8d9ef2..247167839e2 100644 --- a/xml/System.ComponentModel.Design/ITypeResolutionService.xml +++ b/xml/System.ComponentModel.Design/ITypeResolutionService.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ITypeResolutionServiceExample/CPP/ityperesolutionservicecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ITypeResolutionService/Overview/ityperesolutionservicecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ITypeResolutionServiceExample/VB/ityperesolutionservicecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ITypeResolutionService/Overview/ityperesolutionservicecontrol.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/MenuCommand.xml b/xml/System.ComponentModel.Design/MenuCommand.xml index af204f80e67..3bce2c77a3c 100644 --- a/xml/System.ComponentModel.Design/MenuCommand.xml +++ b/xml/System.ComponentModel.Design/MenuCommand.xml @@ -84,7 +84,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet10"::: ]]> @@ -143,7 +143,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet1"::: ]]> @@ -349,7 +349,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet1"::: ]]> @@ -667,7 +667,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet1"::: ]]> @@ -762,7 +762,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ServiceContainer.xml b/xml/System.ComponentModel.Design/ServiceContainer.xml index 4a07bf8382d..a5b12f944c4 100644 --- a/xml/System.ComponentModel.Design/ServiceContainer.xml +++ b/xml/System.ComponentModel.Design/ServiceContainer.xml @@ -85,7 +85,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceArchitectureExample/CPP/serviceform.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ServiceContainer/Overview/serviceform.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceArchitectureExample/VB/serviceform.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ServiceContainer/Overview/serviceform.vb" id="Snippet1"::: ]]> @@ -272,7 +272,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet3"::: ]]> @@ -342,7 +342,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet2"::: ]]> @@ -779,7 +779,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel.Design/ServiceCreatorCallback.xml b/xml/System.ComponentModel.Design/ServiceCreatorCallback.xml index c8ad06bb092..75e9ac5525b 100644 --- a/xml/System.ComponentModel.Design/ServiceCreatorCallback.xml +++ b/xml/System.ComponentModel.Design/ServiceCreatorCallback.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ServiceCreatorCallback Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ServiceCreatorCallback/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ServiceCreatorCallback Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ServiceCreatorCallback/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/StandardCommands.xml b/xml/System.ComponentModel.Design/StandardCommands.xml index 26312b39893..c0bea93e276 100644 --- a/xml/System.ComponentModel.Design/StandardCommands.xml +++ b/xml/System.ComponentModel.Design/StandardCommands.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/StandardToolWindows.xml b/xml/System.ComponentModel.Design/StandardToolWindows.xml index 6d057ea667c..c9b66a014fc 100644 --- a/xml/System.ComponentModel.Design/StandardToolWindows.xml +++ b/xml/System.ComponentModel.Design/StandardToolWindows.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet5"::: ]]> @@ -398,7 +398,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ComponentModel.Design/ViewTechnology.xml b/xml/System.ComponentModel.Design/ViewTechnology.xml index 0c3ca4cf7b2..960c931abcb 100644 --- a/xml/System.ComponentModel.Design/ViewTechnology.xml +++ b/xml/System.ComponentModel.Design/ViewTechnology.xml @@ -68,13 +68,13 @@ The following example demonstrates how to use `ViewTechnology.Default` in a desi :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IRootDesigner Sample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IRootDesigner/Overview/class1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IRootDesigner Sample/VB/class1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IRootDesigner/Overview/class1.vb" id="Snippet1"::: The following example demonstrates how to use the `ViewTechnology> enumeration in a designer. This example is part of a larger example provided for the class. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LocalizationExtenderProviderExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/LocalizationExtenderProvider/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LocalizationExtenderProviderExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ViewTechnology/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/AddingNewEventArgs.xml b/xml/System.ComponentModel/AddingNewEventArgs.xml index b3d1aed901b..5740311f215 100644 --- a/xml/System.ComponentModel/AddingNewEventArgs.xml +++ b/xml/System.ComponentModel/AddingNewEventArgs.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AddingNewEventArgs/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb" id="Snippet8"::: ]]> @@ -254,7 +254,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AddingNewEventArgs/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ComponentModel/AddingNewEventHandler.xml b/xml/System.ComponentModel/AddingNewEventHandler.xml index 18e4cfe81cc..b05d6941a33 100644 --- a/xml/System.ComponentModel/AddingNewEventHandler.xml +++ b/xml/System.ComponentModel/AddingNewEventHandler.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AddingNewEventArgs/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ComponentModel/AmbientValueAttribute.xml b/xml/System.ComponentModel/AmbientValueAttribute.xml index 9400e87bed4..ddd80ea1b22 100644 --- a/xml/System.ComponentModel/AmbientValueAttribute.xml +++ b/xml/System.ComponentModel/AmbientValueAttribute.xml @@ -67,7 +67,7 @@ The following code example demonstrates using to enforce ambient behavior for a property called `AlertForeColor`. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet23"::: ]]> @@ -567,7 +567,7 @@ The following code example demonstrates using to enforce ambient behavior for a property called `AlertForeColor`. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet23"::: ]]> diff --git a/xml/System.ComponentModel/AsyncCompletedEventArgs.xml b/xml/System.ComponentModel/AsyncCompletedEventArgs.xml index a2831e07a0c..e9e79ab148d 100644 --- a/xml/System.ComponentModel/AsyncCompletedEventArgs.xml +++ b/xml/System.ComponentModel/AsyncCompletedEventArgs.xml @@ -68,9 +68,9 @@ The following code example demonstrates using an to track the lifetime of asynchronous operations. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet12"::: ]]> @@ -239,9 +239,9 @@ The following code example demonstrates the using an to track the lifetime of asynchronous operations. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet12"::: ]]> @@ -313,9 +313,9 @@ The following code example demonstrates using an to track the lifetime of asynchronous operations. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet12"::: ]]> @@ -374,7 +374,7 @@ :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet6"::: ]]> @@ -447,9 +447,9 @@ The following code example demonstrates using an to track the lifetime of asynchronous operations. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet12"::: ]]> diff --git a/xml/System.ComponentModel/AsyncOperation.xml b/xml/System.ComponentModel/AsyncOperation.xml index 751762cba26..1c67cb3c0fe 100644 --- a/xml/System.ComponentModel/AsyncOperation.xml +++ b/xml/System.ComponentModel/AsyncOperation.xml @@ -71,7 +71,7 @@ For a full code listing, see [How to: Implement a Component That Supports the Event-based Asynchronous Pattern](/previous-versions/dotnet/netframework-4.0/9hk12d4y(v=vs.100)). For a full code listing of a client form, see [How to: Implement a Client of the Event-based Asynchronous Pattern](/dotnet/standard/asynchronous-programming-patterns/how-to-implement-a-client-of-the-event-based-asynchronous-pattern). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet3"::: ]]> @@ -242,7 +242,7 @@ :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet5"::: ]]> @@ -329,7 +329,7 @@ Note: Console applications do not synchronize the execution of @@ -459,7 +459,7 @@ Note: Console applications do not synchronize the execution of diff --git a/xml/System.ComponentModel/AsyncOperationManager.xml b/xml/System.ComponentModel/AsyncOperationManager.xml index 0ed6fe37d40..a993d19c104 100644 --- a/xml/System.ComponentModel/AsyncOperationManager.xml +++ b/xml/System.ComponentModel/AsyncOperationManager.xml @@ -67,7 +67,7 @@ For a full code listing, see [How to: Implement a Component That Supports the Event-based Asynchronous Pattern](/previous-versions/dotnet/netframework-4.0/9hk12d4y(v=vs.100)). For a full code listing of a client form, see [How to: Implement a Client of the Event-based Asynchronous Pattern](/dotnet/standard/asynchronous-programming-patterns/how-to-implement-a-client-of-the-event-based-asynchronous-pattern). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet3"::: ]]> @@ -147,7 +147,7 @@ The following code example demonstrates using the method to create an for tracking the duration of asynchronous operations. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel/AttributeCollection.xml b/xml/System.ComponentModel/AttributeCollection.xml index 7acd8ff4b82..e24642b9b8a 100644 --- a/xml/System.ComponentModel/AttributeCollection.xml +++ b/xml/System.ComponentModel/AttributeCollection.xml @@ -82,11 +82,11 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Overview/source.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Overview/source.vb" id="Snippet2"::: ]]> @@ -210,7 +210,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.AttributeCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.AttributeCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/.ctor/source.vb" id="Snippet1"::: ]]> @@ -344,7 +344,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.Contains Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Contains/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Contains Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Contains/source.vb" id="Snippet1"::: ]]> @@ -422,7 +422,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.Contains1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Contains/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Contains1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Contains/source1.vb" id="Snippet1"::: ]]> @@ -535,7 +535,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Count/source.vb" id="Snippet1"::: ]]> @@ -765,7 +765,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.GetEnumerator Example/CPP/Source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/GetEnumerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.GetEnumerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/GetEnumerator/source.vb" id="Snippet1"::: ]]> @@ -839,7 +839,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.this Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Item/source.vb" id="Snippet1"::: ]]> @@ -918,7 +918,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.this1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Item/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.this1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Item/source1.vb" id="Snippet1"::: ]]> @@ -997,7 +997,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.Matches Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Matches/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Matches Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Matches/source.vb" id="Snippet1"::: ]]> @@ -1070,7 +1070,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.Matches1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Matches/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Matches1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Matches/source1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/AttributeProviderAttribute.xml b/xml/System.ComponentModel/AttributeProviderAttribute.xml index 4e9752e2dda..cb453a5c0f9 100644 --- a/xml/System.ComponentModel/AttributeProviderAttribute.xml +++ b/xml/System.ComponentModel/AttributeProviderAttribute.xml @@ -77,7 +77,7 @@ The following code example demonstrates using to mark a `DataSource` property with a specific type of . For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet25"::: ]]> @@ -199,7 +199,7 @@ The following code example demonstrates using to mark a `DataSource` property with a specific type of . For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet25"::: ]]> diff --git a/xml/System.ComponentModel/BackgroundWorker.xml b/xml/System.ComponentModel/BackgroundWorker.xml index 56488f51a5e..4b4466ac1a0 100644 --- a/xml/System.ComponentModel/BackgroundWorker.xml +++ b/xml/System.ComponentModel/BackgroundWorker.xml @@ -92,7 +92,7 @@ To try this code, create a Windows Forms application. Add a control named `resultLabel` and add two controls named `startAsyncButton` and `cancelAsyncButton`. Create event handlers for both buttons. From the **Components** tab of the Toolbox, add a component named `backgroundWorker1`. Create , , and event handlers for the . In the code for the form, replace the existing code with the following code. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.vb" id="Snippet1"::: The following code example demonstrates the use of the class for executing a time-consuming operation asynchronously. The following illustration shows an example of the output. @@ -102,7 +102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet1"::: ]]> @@ -213,7 +213,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet4"::: ]]> @@ -287,7 +287,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet8"::: ]]> @@ -427,7 +427,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet5"::: ]]> @@ -497,7 +497,7 @@ The following code example demonstrates how to use the property to wait for completion of a operation. This code example is part of a larger example described in [How to: Download a File in the Background](/dotnet/framework/winforms/controls/how-to-download-a-file-in-the-background). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/IsBusy/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.IsBusy/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/IsBusy/Form1.vb" id="Snippet2"::: ]]> @@ -607,7 +607,7 @@ The following code example demonstrates the use of the method to report the progress of an asynchronous operation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet24"::: ]]> @@ -731,7 +731,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet7"::: ]]> @@ -813,7 +813,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet8"::: ]]> @@ -880,7 +880,7 @@ The following code example demonstrates the use of the method to report the progress of an asynchronous operation to the user. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/ReportProgress/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb" id="Snippet10"::: ]]> @@ -957,7 +957,7 @@ The following code example demonstrates the use of the method to start an asynchronous operation. It is part of a larger example described in [How to: Download a File in the Background](/dotnet/framework/winforms/controls/how-to-download-a-file-in-the-background). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/IsBusy/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.IsBusy/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/IsBusy/Form1.vb" id="Snippet2"::: ]]> @@ -1028,7 +1028,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet3"::: ]]> @@ -1102,7 +1102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ComponentModel/BindableAttribute.xml b/xml/System.ComponentModel/BindableAttribute.xml index cbbb34dee18..f9344fa4be1 100644 --- a/xml/System.ComponentModel/BindableAttribute.xml +++ b/xml/System.ComponentModel/BindableAttribute.xml @@ -76,19 +76,19 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindableAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindableAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindableAttribute/Overview/source.vb" id="Snippet1"::: The next code example shows how to check the value of the for `MyProperty`. First, the code gets a with all the properties for the object. Next, the code indexes into the to get `MyProperty`. Finally, the code returns the attributes for this property and saves them in the attributes variable. The code example presents two different ways to check the value of the . In the second code fragment, the example calls the method. In the last code fragment, the example uses the property to check the value. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindableAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindableAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindableAttribute/Overview/source.vb" id="Snippet2"::: If you marked a class with the , use the following code example to check the value. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindableAttribute Example/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindableAttribute/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindableAttribute/Overview/source.vb" id="Snippet3"::: ]]> @@ -166,7 +166,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindableAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindableAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -230,7 +230,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindableAttribute/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindableAttribute/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -394,7 +394,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindableAttribute.Bindable Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindableAttribute/Bindable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.Bindable Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindableAttribute/Bindable/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/BindingList`1.xml b/xml/System.ComponentModel/BindingList`1.xml index e6994d5c497..52c6a98fcac 100644 --- a/xml/System.ComponentModel/BindingList`1.xml +++ b/xml/System.ComponentModel/BindingList`1.xml @@ -105,7 +105,7 @@ The following code example demonstrates binding to a component containing a business object. This is a complete example that contains a `Main` method. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -185,7 +185,7 @@ The following code example demonstrates how to construct a new . For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -305,7 +305,7 @@ The following code example demonstrates how to handle the event. For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -380,7 +380,7 @@ The following code example demonstrates how to use the method. . For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -511,7 +511,7 @@ The following code example demonstrates how to set the property. For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -571,7 +571,7 @@ The following code example demonstrates how to set the property. For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -638,7 +638,7 @@ The following code example demonstrates how to set the property. For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -765,7 +765,7 @@ The following code example demonstrates how use the method. For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -945,7 +945,7 @@ The following code example demonstrates how to use the member. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet3"::: ]]> @@ -1301,7 +1301,7 @@ The following code example demonstrates how use the method. For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -1784,7 +1784,7 @@ The following code example demonstrates how to use the member. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel/BooleanConverter.xml b/xml/System.ComponentModel/BooleanConverter.xml index c7c7bfb599b..a1ff3b50bf1 100644 --- a/xml/System.ComponentModel/BooleanConverter.xml +++ b/xml/System.ComponentModel/BooleanConverter.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel/BrowsableAttribute.xml b/xml/System.ComponentModel/BrowsableAttribute.xml index a2573224f2b..e55295d0dbf 100644 --- a/xml/System.ComponentModel/BrowsableAttribute.xml +++ b/xml/System.ComponentModel/BrowsableAttribute.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BrowsableAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BrowsableAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Overview/source.vb" id="Snippet1"::: The next example shows how to check the value of the for `MyProperty`. First, the code gets a with all the properties for the object. Next, the code indexes into the to get `MyProperty`. Then it returns the attributes for this property and saves them in the attributes variable. @@ -80,13 +80,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BrowsableAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BrowsableAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Overview/source.vb" id="Snippet2"::: If you marked a class with the , use the following code to check the value. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BrowsableAttribute Example/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BrowsableAttribute/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Overview/source.vb" id="Snippet3"::: ]]> @@ -150,7 +150,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BrowsableAttribute.BrowsableAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BrowsableAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute.BrowsableAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BrowsableAttribute.Browsable Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BrowsableAttribute/Browsable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute.Browsable Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Browsable/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ByteConverter.xml b/xml/System.ComponentModel/ByteConverter.xml index a1cd350e7c4..2d0f1c98f5e 100644 --- a/xml/System.ComponentModel/ByteConverter.xml +++ b/xml/System.ComponentModel/ByteConverter.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel/CancelEventArgs.xml b/xml/System.ComponentModel/CancelEventArgs.xml index 25cad16d139..3784462ab49 100644 --- a/xml/System.ComponentModel/CancelEventArgs.xml +++ b/xml/System.ComponentModel/CancelEventArgs.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CancelEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CancelEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CancelEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CancelEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -229,7 +229,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CancelEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CancelEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CancelEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CancelEventArgs/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/CategoryAttribute.xml b/xml/System.ComponentModel/CategoryAttribute.xml index a066eabf51a..d13a25d7421 100644 --- a/xml/System.ComponentModel/CategoryAttribute.xml +++ b/xml/System.ComponentModel/CategoryAttribute.xml @@ -69,7 +69,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CategoryAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CategoryAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CategoryAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CategoryAttribute/Overview/source.vb" id="Snippet1"::: The next example gets the category for `MyImage`. First, the code gets a with all the properties for the object. Next, the code indexes into the to get `MyImage`. Then it returns the attributes for this property and saves them in the variable `attributes`. @@ -77,7 +77,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CategoryAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CategoryAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CategoryAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CategoryAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/CharConverter.xml b/xml/System.ComponentModel/CharConverter.xml index 86292007c1d..bef781c5a89 100644 --- a/xml/System.ComponentModel/CharConverter.xml +++ b/xml/System.ComponentModel/CharConverter.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ComponentModel/CollectionChangeEventArgs.xml b/xml/System.ComponentModel/CollectionChangeEventArgs.xml index c22daaddae9..725e2ce8f68 100644 --- a/xml/System.ComponentModel/CollectionChangeEventArgs.xml +++ b/xml/System.ComponentModel/CollectionChangeEventArgs.xml @@ -66,7 +66,7 @@ To run the example code, paste it into a project that contains an instance of type named `AutoCompleteStringCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet76"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet76"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet76"::: ]]> @@ -193,7 +193,7 @@ To run the example code, paste it into a project that contains an instance of type named `AutoCompleteStringCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet76"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet76"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet76"::: ]]> @@ -256,7 +256,7 @@ To run the example code, paste it into a project that contains an instance of type named `AutoCompleteStringCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet76"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet76"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet76"::: ]]> diff --git a/xml/System.ComponentModel/ComplexBindingPropertiesAttribute.xml b/xml/System.ComponentModel/ComplexBindingPropertiesAttribute.xml index 1bf6c2219a5..5eeb503723c 100644 --- a/xml/System.ComponentModel/ComplexBindingPropertiesAttribute.xml +++ b/xml/System.ComponentModel/ComplexBindingPropertiesAttribute.xml @@ -70,7 +70,7 @@ The following code example demonstrates using to identify a control's `DataSource` and `DataMember` properties for data binding. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet20"::: ]]> diff --git a/xml/System.ComponentModel/ComponentCollection.xml b/xml/System.ComponentModel/ComponentCollection.xml index e2b8f3c53c9..7f6675d1a32 100644 --- a/xml/System.ComponentModel/ComponentCollection.xml +++ b/xml/System.ComponentModel/ComponentCollection.xml @@ -74,7 +74,7 @@ The following code example demonstrates how to use a to enumerate a collection of custom `BookComponent` objects. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentCollection/Overview/librarycontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb" id="Snippet2"::: ]]> @@ -131,7 +131,7 @@ The following code example demonstrates how to create a from an array of `BookComponent` objects. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentCollection/Overview/librarycontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/ComponentResourceManager.xml b/xml/System.ComponentModel/ComponentResourceManager.xml index cca239b08bd..59e23c3584c 100644 --- a/xml/System.ComponentModel/ComponentResourceManager.xml +++ b/xml/System.ComponentModel/ComponentResourceManager.xml @@ -56,7 +56,7 @@ The following code example demonstrates how to use to assign image resources to the property of controls. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentResourceManager/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStrip/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentResourceManager/Overview/form1.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ The following code example demonstrates how to use to assign image resources to the property of controls. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentResourceManager/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStrip/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentResourceManager/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/CultureInfoConverter.xml b/xml/System.ComponentModel/CultureInfoConverter.xml index 8a102128ccd..0a7147754e3 100644 --- a/xml/System.ComponentModel/CultureInfoConverter.xml +++ b/xml/System.ComponentModel/CultureInfoConverter.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ComponentModel/DateTimeConverter.xml b/xml/System.ComponentModel/DateTimeConverter.xml index e840655c283..70be35a6a61 100644 --- a/xml/System.ComponentModel/DateTimeConverter.xml +++ b/xml/System.ComponentModel/DateTimeConverter.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet9"::: ]]> diff --git a/xml/System.ComponentModel/DecimalConverter.xml b/xml/System.ComponentModel/DecimalConverter.xml index 1f4e9349bbf..c509a98a8ba 100644 --- a/xml/System.ComponentModel/DecimalConverter.xml +++ b/xml/System.ComponentModel/DecimalConverter.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet10"::: ]]> diff --git a/xml/System.ComponentModel/DefaultBindingPropertyAttribute.xml b/xml/System.ComponentModel/DefaultBindingPropertyAttribute.xml index 182fccd0a4b..dff78e45761 100644 --- a/xml/System.ComponentModel/DefaultBindingPropertyAttribute.xml +++ b/xml/System.ComponentModel/DefaultBindingPropertyAttribute.xml @@ -66,7 +66,7 @@ The following code example demonstrates using the class to specify the default property for data binding. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet20"::: ]]> diff --git a/xml/System.ComponentModel/DefaultEventAttribute.xml b/xml/System.ComponentModel/DefaultEventAttribute.xml index d87280b8856..025b7c571ee 100644 --- a/xml/System.ComponentModel/DefaultEventAttribute.xml +++ b/xml/System.ComponentModel/DefaultEventAttribute.xml @@ -71,13 +71,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DefaultEventAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DefaultEventAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultEventAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DefaultEventAttribute/Overview/source.vb" id="Snippet1"::: The next example creates an instance of `MyCollection`. Then it gets the attributes for the class, extracts the , and prints the name of the default event. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DefaultEventAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DefaultEventAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultEventAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DefaultEventAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DefaultPropertyAttribute.xml b/xml/System.ComponentModel/DefaultPropertyAttribute.xml index ee34fd3928c..49fb58a1738 100644 --- a/xml/System.ComponentModel/DefaultPropertyAttribute.xml +++ b/xml/System.ComponentModel/DefaultPropertyAttribute.xml @@ -71,13 +71,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DefaultPropertyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DefaultPropertyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultPropertyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DefaultPropertyAttribute/Overview/source.vb" id="Snippet1"::: The next example creates an instance of `MyControl`. Then it gets the attributes for the class, extracts the , and prints the name of the default property. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DefaultPropertyAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DefaultPropertyAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultPropertyAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DefaultPropertyAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DefaultValueAttribute.xml b/xml/System.ComponentModel/DefaultValueAttribute.xml index 232217a3d33..b3eaea5fb25 100644 --- a/xml/System.ComponentModel/DefaultValueAttribute.xml +++ b/xml/System.ComponentModel/DefaultValueAttribute.xml @@ -80,7 +80,7 @@ For more information, see [Attributes](/dotnet/standard/attributes/). :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DefaultValueAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DefaultValueAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultValueAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DefaultValueAttribute/Overview/source.vb" id="Snippet1"::: The next example checks the default value of `MyProperty`. First the code gets a with all the properties for the object. Next it indexes into the to get `MyProperty`. Then it returns the attributes for this property and saves them in the attributes variable. @@ -88,7 +88,7 @@ For more information, see [Attributes](/dotnet/standard/attributes/). :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DefaultValueAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DefaultValueAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultValueAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DefaultValueAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DescriptionAttribute.xml b/xml/System.ComponentModel/DescriptionAttribute.xml index 445c399ad16..3e9fcce42a0 100644 --- a/xml/System.ComponentModel/DescriptionAttribute.xml +++ b/xml/System.ComponentModel/DescriptionAttribute.xml @@ -69,7 +69,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DescriptionAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DescriptionAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DescriptionAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DescriptionAttribute/Overview/source.vb" id="Snippet1"::: The next example gets the description of `MyImage`. First the code gets a with all the properties for the object. Next it indexes into the to get `MyImage`. Then it returns the attributes for this property and saves them in the attributes variable. @@ -77,7 +77,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DescriptionAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DescriptionAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DescriptionAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DescriptionAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DesignOnlyAttribute.xml b/xml/System.ComponentModel/DesignOnlyAttribute.xml index 6b6ed99e907..ec0482d6781 100644 --- a/xml/System.ComponentModel/DesignOnlyAttribute.xml +++ b/xml/System.ComponentModel/DesignOnlyAttribute.xml @@ -73,7 +73,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignOnlyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignOnlyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignOnlyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignOnlyAttribute/Overview/source.vb" id="Snippet1"::: The next example gets the value of the . First the code gets a with all the properties for the object. Next it indexes into the to find the `GetLanguage` property. Then it returns the attributes for this property and saves them in the attributes variable. @@ -81,7 +81,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignOnlyAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignOnlyAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignOnlyAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignOnlyAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DesignerAttribute.xml b/xml/System.ComponentModel/DesignerAttribute.xml index cb8337d2b23..2d7b4161724 100644 --- a/xml/System.ComponentModel/DesignerAttribute.xml +++ b/xml/System.ComponentModel/DesignerAttribute.xml @@ -80,13 +80,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerAttribute/Overview/source.vb" id="Snippet1"::: The next example creates an instance of `MyForm`. Then it gets the attributes for the class, extracts the , and prints the name of the designer. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DesignerCategoryAttribute.xml b/xml/System.ComponentModel/DesignerCategoryAttribute.xml index c830f19b2ce..b8bc0cefe95 100644 --- a/xml/System.ComponentModel/DesignerCategoryAttribute.xml +++ b/xml/System.ComponentModel/DesignerCategoryAttribute.xml @@ -80,13 +80,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerCategoryAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerCategoryAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerCategoryAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerCategoryAttribute/Overview/source.vb" id="Snippet1"::: The next example creates an instance of `MyForm`. Then it gets the attributes for the class, extracts the , and prints the name of the designer. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerCategoryAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerCategoryAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerCategoryAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerCategoryAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DesignerSerializationVisibilityAttribute.xml b/xml/System.ComponentModel/DesignerSerializationVisibilityAttribute.xml index ab716012b9a..9bcf3917969 100644 --- a/xml/System.ComponentModel/DesignerSerializationVisibilityAttribute.xml +++ b/xml/System.ComponentModel/DesignerSerializationVisibilityAttribute.xml @@ -79,7 +79,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerSerializationVisibilityAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -143,7 +143,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.DesignerSerializationVisibilityAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerSerializationVisibilityAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.DesignerSerializationVisibilityAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -500,7 +500,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.Visibility Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerSerializationVisibilityAttribute/Visibility/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.Visibility Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/Visibility/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/DisplayNameAttribute.xml b/xml/System.ComponentModel/DisplayNameAttribute.xml index 43bb274ce19..d8374414826 100644 --- a/xml/System.ComponentModel/DisplayNameAttribute.xml +++ b/xml/System.ComponentModel/DisplayNameAttribute.xml @@ -65,7 +65,7 @@ The following code example demonstrates using the class to change the name of a property called `MisnamedProperty` to `RenamedProperty` in a control. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet30"::: ]]> diff --git a/xml/System.ComponentModel/DoWorkEventArgs.xml b/xml/System.ComponentModel/DoWorkEventArgs.xml index 662ebee63d7..ab2781e8d34 100644 --- a/xml/System.ComponentModel/DoWorkEventArgs.xml +++ b/xml/System.ComponentModel/DoWorkEventArgs.xml @@ -62,7 +62,7 @@ The following code example demonstrates how to use the class to handle the event. For a full code listing, see [How to: Run an Operation in the Background](/dotnet/framework/winforms/controls/how-to-run-an-operation-in-the-background). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DoWorkEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.Example/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DoWorkEventArgs/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -172,7 +172,7 @@ The following code example demonstrates how to use the class to handle the event. For a full code listing, see [How to: Run an Operation in the Background](/dotnet/framework/winforms/controls/how-to-run-an-operation-in-the-background). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DoWorkEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.Example/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DoWorkEventArgs/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -260,7 +260,7 @@ The following code example demonstrates how to use the class to handle the event. For a full code listing, see [How to: Run an Operation in the Background](/dotnet/framework/winforms/controls/how-to-run-an-operation-in-the-background). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DoWorkEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.Example/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DoWorkEventArgs/Overview/Form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DoWorkEventHandler.xml b/xml/System.ComponentModel/DoWorkEventHandler.xml index fb4cf5576ee..31621ecbbe4 100644 --- a/xml/System.ComponentModel/DoWorkEventHandler.xml +++ b/xml/System.ComponentModel/DoWorkEventHandler.xml @@ -71,7 +71,7 @@ The following code example demonstrates how to use the delegate to handle the event. For a full code listing, see [How to: Run an Operation in the Background](/dotnet/framework/winforms/controls/how-to-run-an-operation-in-the-background). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DoWorkEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.Example/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DoWorkEventArgs/Overview/Form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DoubleConverter.xml b/xml/System.ComponentModel/DoubleConverter.xml index f9a7a9aa5bf..b796b81fcc9 100644 --- a/xml/System.ComponentModel/DoubleConverter.xml +++ b/xml/System.ComponentModel/DoubleConverter.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet11"::: ]]> diff --git a/xml/System.ComponentModel/EditorAttribute.xml b/xml/System.ComponentModel/EditorAttribute.xml index ac2355a3305..7cfaabdac89 100644 --- a/xml/System.ComponentModel/EditorAttribute.xml +++ b/xml/System.ComponentModel/EditorAttribute.xml @@ -82,13 +82,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EditorAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EditorAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EditorAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EditorAttribute/Overview/source.vb" id="Snippet1"::: The following code example creates an instance of the `MyImage` class, gets the attributes for the class, and then prints the name of the editor used by `myNewImage`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EditorAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EditorAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EditorAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EditorAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/EditorBrowsableAttribute.xml b/xml/System.ComponentModel/EditorBrowsableAttribute.xml index b8e60f7aa2c..8b6d9f38274 100644 --- a/xml/System.ComponentModel/EditorBrowsableAttribute.xml +++ b/xml/System.ComponentModel/EditorBrowsableAttribute.xml @@ -75,7 +75,7 @@ Build `Class1` in its own assembly. Then, in Visual Studio, create a new project :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorBrowsableAttribute/CPP/ctleditorbrowsable.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EditorBrowsableAttribute/Overview/ctleditorbrowsable.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorBrowsableAttribute/VB/ctleditorbrowsable.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EditorBrowsableAttribute/Overview/ctleditorbrowsable.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/EnumConverter.xml b/xml/System.ComponentModel/EnumConverter.xml index 0afcebe3b7c..ace5b7b2a38 100644 --- a/xml/System.ComponentModel/EnumConverter.xml +++ b/xml/System.ComponentModel/EnumConverter.xml @@ -72,7 +72,7 @@ Windows=1, Exchange=2, BizTalk=3 :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet12"::: ]]> diff --git a/xml/System.ComponentModel/EventDescriptor.xml b/xml/System.ComponentModel/EventDescriptor.xml index fea53f69cd0..26ac4a88281 100644 --- a/xml/System.ComponentModel/EventDescriptor.xml +++ b/xml/System.ComponentModel/EventDescriptor.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EventDescriptor/CPP/eventdescriptor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptor/Overview/eventdescriptor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EventDescriptor/VB/eventdescriptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptor/Overview/eventdescriptor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/EventDescriptorCollection.xml b/xml/System.ComponentModel/EventDescriptorCollection.xml index 02b9d390796..7cb37d242c3 100644 --- a/xml/System.ComponentModel/EventDescriptorCollection.xml +++ b/xml/System.ComponentModel/EventDescriptorCollection.xml @@ -84,7 +84,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -164,7 +164,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.EventDescriptorCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.EventDescriptorCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/.ctor/source.vb" id="Snippet1"::: ]]> @@ -243,7 +243,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.EventDescriptorCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.EventDescriptorCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/.ctor/source.vb" id="Snippet1"::: ]]> @@ -487,7 +487,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Count/source.vb" id="Snippet1"::: ]]> @@ -610,7 +610,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Find Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Find/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Find Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Find/source.vb" id="Snippet1"::: ]]> @@ -679,7 +679,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.GetEnumerator Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/GetEnumerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.GetEnumerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/GetEnumerator/source.vb" id="Snippet1"::: ]]> @@ -934,7 +934,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.InternalSort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/InternalSort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.InternalSort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/InternalSort/source.vb" id="Snippet1"::: ]]> @@ -1008,7 +1008,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.this Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Item/source.vb" id="Snippet1"::: ]]> @@ -1083,7 +1083,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.this1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Item/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.this1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Item/source1.vb" id="Snippet1"::: ]]> @@ -1273,7 +1273,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb" id="Snippet1"::: ]]> @@ -1338,7 +1338,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb" id="Snippet1"::: ]]> @@ -1404,7 +1404,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb" id="Snippet1"::: ]]> @@ -1472,7 +1472,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ExpandableObjectConverter.xml b/xml/System.ComponentModel/ExpandableObjectConverter.xml index b9deb64fd81..45fe7388dde 100644 --- a/xml/System.ComponentModel/ExpandableObjectConverter.xml +++ b/xml/System.ComponentModel/ExpandableObjectConverter.xml @@ -61,12 +61,12 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet26"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet26"::: The following code example demonstrates how to use the and the class to create an expandable property on a custom control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ExpandableObjectConverter/VB/DemoControl.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel/GuidConverter.xml b/xml/System.ComponentModel/GuidConverter.xml index 1afb2b7477f..4a8effc1a07 100644 --- a/xml/System.ComponentModel/GuidConverter.xml +++ b/xml/System.ComponentModel/GuidConverter.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet13"::: ]]> diff --git a/xml/System.ComponentModel/IBindingList.xml b/xml/System.ComponentModel/IBindingList.xml index 96961d33a49..0a666ce8e31 100644 --- a/xml/System.ComponentModel/IBindingList.xml +++ b/xml/System.ComponentModel/IBindingList.xml @@ -71,7 +71,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Binding_Editable/CPP/binding_editable.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IBindingList/Overview/binding_editable.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Binding_Editable/VB/binding_editable.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IBindingList/Overview/binding_editable.vb" id="Snippet2"::: ]]> @@ -448,7 +448,7 @@ The following code example demonstrates how to implement the method. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet3"::: ]]> @@ -861,7 +861,7 @@ The following code example demonstrates how to implement the property. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel/IComponent.xml b/xml/System.ComponentModel/IComponent.xml index 931b4b71f11..8eb5e1a04cf 100644 --- a/xml/System.ComponentModel/IComponent.xml +++ b/xml/System.ComponentModel/IComponent.xml @@ -126,7 +126,7 @@ The following code example demonstrates how to implement the , , and interfaces. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentCollection/Overview/librarycontainer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/IContainer.xml b/xml/System.ComponentModel/IContainer.xml index dc71ce87b4f..da1afe9cf25 100644 --- a/xml/System.ComponentModel/IContainer.xml +++ b/xml/System.ComponentModel/IContainer.xml @@ -64,7 +64,7 @@ The following code example demonstrates how to implement the interface. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentCollection/Overview/librarycontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/IEditableObject.xml b/xml/System.ComponentModel/IEditableObject.xml index dd4545b56ae..c82f4b54530 100644 --- a/xml/System.ComponentModel/IEditableObject.xml +++ b/xml/System.ComponentModel/IEditableObject.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Binding_Editable/CPP/binding_editable.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IBindingList/Overview/binding_editable.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Binding_Editable/VB/binding_editable.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IBindingList/Overview/binding_editable.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/IExtenderProvider.xml b/xml/System.ComponentModel/IExtenderProvider.xml index c42bcd4cafd..000ad8d047a 100644 --- a/xml/System.ComponentModel/IExtenderProvider.xml +++ b/xml/System.ComponentModel/IExtenderProvider.xml @@ -60,7 +60,7 @@ The following code example demonstrates how to implement the interface. This example is part of a larger example discussed in [How to: Implement a HelpLabel Extender Provider](/previous-versions/visualstudio/visual-studio-2013/ms229066(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IExtenderProvider/Overview/HelpLabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpLabel/VB/HelpLabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IExtenderProvider/Overview/HelpLabel.vb" id="Snippet1"::: ]]> @@ -122,7 +122,7 @@ The following code example demonstrates how to implement the property. This example is part of a larger example discussed in [How to: Implement a HelpLabel Extender Provider](/previous-versions/visualstudio/visual-studio-2013/ms229066(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IExtenderProvider/Overview/HelpLabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpLabel/VB/HelpLabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IExtenderProvider/Overview/HelpLabel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/IListSource.xml b/xml/System.ComponentModel/IListSource.xml index f24f4a5a922..86b3e393e63 100644 --- a/xml/System.ComponentModel/IListSource.xml +++ b/xml/System.ComponentModel/IListSource.xml @@ -91,7 +91,7 @@ The following code example demonstrates how to implement the interface. A component named `EmployeeListSource` exposes an for data binding by implementing the method. For a full code listing, see [How to: Implement the IListSource Interface](/dotnet/framework/winforms/how-to-implement-the-ilistsource-interface). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IListSource/Overview/EmployeeListSource.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/EmployeeListSource.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IListSource/Overview/EmployeeListSource.vb" id="Snippet1"::: ]]> @@ -155,7 +155,7 @@ The following code example demonstrates how to implement the interface. A component named `EmployeeListSource` indicates that it does not contain an for data binding by returning `false` from the method. For a full code listing, see [How to: Implement the IListSource Interface](/dotnet/framework/winforms/how-to-implement-the-ilistsource-interface). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IListSource/Overview/EmployeeListSource.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/EmployeeListSource.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IListSource/Overview/EmployeeListSource.vb" id="Snippet3"::: ]]> @@ -213,7 +213,7 @@ The following code example demonstrates how to implement the interface. A component named `EmployeeListSource` exposes an for data binding by implementing the method. For a full code listing, see [How to: Implement the IListSource Interface](/dotnet/framework/winforms/how-to-implement-the-ilistsource-interface). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IListSource/Overview/EmployeeListSource.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/EmployeeListSource.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IListSource/Overview/EmployeeListSource.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel/INotifyPropertyChanged.xml b/xml/System.ComponentModel/INotifyPropertyChanged.xml index a9abd652d8e..6864f63695a 100644 --- a/xml/System.ComponentModel/INotifyPropertyChanged.xml +++ b/xml/System.ComponentModel/INotifyPropertyChanged.xml @@ -421,7 +421,7 @@ End Class The following code example demonstrates how to implement the event of the interface. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/INotifyPropertyChanged/PropertyChanged/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IPropertyChangeExample/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/INotifyPropertyChanged/PropertyChanged/Form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.ComponentModel/ISite.xml b/xml/System.ComponentModel/ISite.xml index c8083df9376..1ae00bb322f 100644 --- a/xml/System.ComponentModel/ISite.xml +++ b/xml/System.ComponentModel/ISite.xml @@ -66,7 +66,7 @@ The following example demonstrates the implementation of , , and for use in a library container. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentCollection/Overview/librarycontainer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ISupportInitialize.xml b/xml/System.ComponentModel/ISupportInitialize.xml index 4faa5a14d65..370738fff6b 100644 --- a/xml/System.ComponentModel/ISupportInitialize.xml +++ b/xml/System.ComponentModel/ISupportInitialize.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Trackbar/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ISupportInitialize/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb" id="Snippet4"::: ]]> @@ -124,7 +124,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Trackbar/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ISupportInitialize/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb" id="Snippet4"::: ]]> @@ -180,7 +180,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Trackbar/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ISupportInitialize/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel/ITypeDescriptorContext.xml b/xml/System.ComponentModel/ITypeDescriptorContext.xml index b0fd898170b..45691b2067c 100644 --- a/xml/System.ComponentModel/ITypeDescriptorContext.xml +++ b/xml/System.ComponentModel/ITypeDescriptorContext.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/InstanceDescriptorSample/CPP/instancedescriptor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ITypeDescriptorContext/Overview/instancedescriptor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/InstanceDescriptorSample/VB/instancedescriptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ITypeDescriptorContext/Overview/instancedescriptor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ITypedList.xml b/xml/System.ComponentModel/ITypedList.xml index fcda7532424..f5649e74dc2 100644 --- a/xml/System.ComponentModel/ITypedList.xml +++ b/xml/System.ComponentModel/ITypedList.xml @@ -70,7 +70,7 @@ The following code example demonstrates how to implement the interface. A generic type named `SortableBindingList` derives from the class and implements the interface. For a full code listing, see [How to: Implement the ITypedList Interface](/dotnet/framework/winforms/how-to-implement-the-itypedlist-interface). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ITypedList/Overview/SortableBindingList.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/SortableBindingList.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ITypedList/Overview/SortableBindingList.vb" id="Snippet1"::: ]]> @@ -142,7 +142,7 @@ The following code example demonstrates how to implement the method. For a full code listing, see [How to: Implement the ITypedList Interface](/dotnet/framework/winforms/how-to-implement-the-itypedlist-interface). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ITypedList/Overview/SortableBindingList.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/SortableBindingList.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ITypedList/Overview/SortableBindingList.vb" id="Snippet3"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to implement the method. For a full code listing, see [How to: Implement the ITypedList Interface](/dotnet/framework/winforms/how-to-implement-the-itypedlist-interface). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ITypedList/Overview/SortableBindingList.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/SortableBindingList.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ITypedList/Overview/SortableBindingList.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel/Int16Converter.xml b/xml/System.ComponentModel/Int16Converter.xml index 393bfcf4a35..2abab8fc73d 100644 --- a/xml/System.ComponentModel/Int16Converter.xml +++ b/xml/System.ComponentModel/Int16Converter.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet14"::: ]]> diff --git a/xml/System.ComponentModel/Int32Converter.xml b/xml/System.ComponentModel/Int32Converter.xml index 94a90d5585c..5bbe728cc64 100644 --- a/xml/System.ComponentModel/Int32Converter.xml +++ b/xml/System.ComponentModel/Int32Converter.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet15"::: ]]> diff --git a/xml/System.ComponentModel/Int64Converter.xml b/xml/System.ComponentModel/Int64Converter.xml index 59e2a8d3543..b211631c480 100644 --- a/xml/System.ComponentModel/Int64Converter.xml +++ b/xml/System.ComponentModel/Int64Converter.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet16"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet16"::: ]]> diff --git a/xml/System.ComponentModel/InvalidEnumArgumentException.xml b/xml/System.ComponentModel/InvalidEnumArgumentException.xml index 174b4f8f683..f887be1bf51 100644 --- a/xml/System.ComponentModel/InvalidEnumArgumentException.xml +++ b/xml/System.ComponentModel/InvalidEnumArgumentException.xml @@ -77,7 +77,7 @@ This exception is thrown if you pass an invalid enumeration value to a method or :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/enumException/CPP/enumexception.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/InvalidEnumArgumentException/Overview/enumexception.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/enumException/VB/enumexception.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/InvalidEnumArgumentException/Overview/enumexception.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/LicFileLicenseProvider.xml b/xml/System.ComponentModel/LicFileLicenseProvider.xml index fe3ca604d5b..b67e2f5890a 100644 --- a/xml/System.ComponentModel/LicFileLicenseProvider.xml +++ b/xml/System.ComponentModel/LicFileLicenseProvider.xml @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LicenseManager Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LicenseManager/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseManager Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LicenseManager/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/LicenseException.xml b/xml/System.ComponentModel/LicenseException.xml index 8bbeff00f07..23e86c64060 100644 --- a/xml/System.ComponentModel/LicenseException.xml +++ b/xml/System.ComponentModel/LicenseException.xml @@ -71,7 +71,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LicenseException/CPP/licenseex.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LicenseException/Overview/licenseex.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LicenseException/VB/licenseex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LicenseException/Overview/licenseex.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/LicenseManager.xml b/xml/System.ComponentModel/LicenseManager.xml index 72306b82f2b..2f38316bab8 100644 --- a/xml/System.ComponentModel/LicenseManager.xml +++ b/xml/System.ComponentModel/LicenseManager.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LicenseManager Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LicenseManager/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseManager Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LicenseManager/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/LicenseProvider.xml b/xml/System.ComponentModel/LicenseProvider.xml index 91100a60e47..57a9d9c57a5 100644 --- a/xml/System.ComponentModel/LicenseProvider.xml +++ b/xml/System.ComponentModel/LicenseProvider.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LicenseManager Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LicenseManager/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseManager Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LicenseManager/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/LicenseProviderAttribute.xml b/xml/System.ComponentModel/LicenseProviderAttribute.xml index ca5d8695027..78322e1ff8d 100644 --- a/xml/System.ComponentModel/LicenseProviderAttribute.xml +++ b/xml/System.ComponentModel/LicenseProviderAttribute.xml @@ -73,13 +73,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LicenseProviderAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LicenseProviderAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseProviderAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LicenseProviderAttribute/Overview/source.vb" id="Snippet1"::: The next code example creates an instance of the `MyControl` class. Then, it gets the attributes for the class, and prints the name of the license provider used by `myNewControl`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LicenseProviderAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LicenseProviderAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseProviderAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LicenseProviderAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/ListChangedEventArgs.xml b/xml/System.ComponentModel/ListChangedEventArgs.xml index 47eecd62267..1474dda5b5e 100644 --- a/xml/System.ComponentModel/ListChangedEventArgs.xml +++ b/xml/System.ComponentModel/ListChangedEventArgs.xml @@ -67,7 +67,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingSource1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet134"::: ]]> @@ -361,7 +361,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingSource1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet134"::: ]]> @@ -427,7 +427,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingSource1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet134"::: ]]> @@ -488,7 +488,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingSource1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet134"::: ]]> @@ -549,7 +549,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingSource1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet134"::: ]]> diff --git a/xml/System.ComponentModel/LocalizableAttribute.xml b/xml/System.ComponentModel/LocalizableAttribute.xml index b0b8720afc5..32b19267648 100644 --- a/xml/System.ComponentModel/LocalizableAttribute.xml +++ b/xml/System.ComponentModel/LocalizableAttribute.xml @@ -79,7 +79,7 @@ The following example marks a property as needing to be localized. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LocalizableAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LocalizableAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/Overview/source.vb" id="Snippet1"::: The next example shows how to check the value of the for `MyProperty`. First, the code gets a with all the properties for the object. Then, the code gets `MyProperty` from the . Next, it returns the attributes for this property and saves them in the attributes variable. @@ -87,7 +87,7 @@ The following example marks a property as needing to be localized. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LocalizableAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LocalizableAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/Overview/source.vb" id="Snippet2"::: ]]> @@ -151,7 +151,7 @@ The following example marks a property as needing to be localized. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LocalizableAttribute.LocalizableAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LocalizableAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute.LocalizableAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -406,7 +406,7 @@ The following example marks a property as needing to be localized. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LocalizableAttribute.IsLocalizable Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LocalizableAttribute/IsLocalizable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute.IsLocalizable Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/IsLocalizable/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/LookupBindingPropertiesAttribute.xml b/xml/System.ComponentModel/LookupBindingPropertiesAttribute.xml index 0ed650eb3d3..f719a1b0651 100644 --- a/xml/System.ComponentModel/LookupBindingPropertiesAttribute.xml +++ b/xml/System.ComponentModel/LookupBindingPropertiesAttribute.xml @@ -66,22 +66,22 @@ The following code example shows properties used with lookup-based binding. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.LookupBindingPropertiesAttribute/VB/DemoControl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.vb" id="Snippet2"::: The attribute must include all four members, except when unsetting values. The following code example shows the control. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.LookupBindingPropertiesAttribute/VB/DemoControl.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.vb" id="Snippet3"::: The following code example shows that a control can support both simple binding as well as list binding. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.LookupBindingPropertiesAttribute/VB/DemoControl.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.vb" id="Snippet4"::: The following code example shows that the attribute can be unset by specifying no arguments. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.LookupBindingPropertiesAttribute/VB/DemoControl.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ComponentModel/MergablePropertyAttribute.xml b/xml/System.ComponentModel/MergablePropertyAttribute.xml index 2c1d452efba..35b50ae4ba2 100644 --- a/xml/System.ComponentModel/MergablePropertyAttribute.xml +++ b/xml/System.ComponentModel/MergablePropertyAttribute.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/Overview/source.vb" id="Snippet1"::: The next example shows how to check the value of the for `MyProperty`. First the code gets a with all the properties for the object. Next it indexes into the to get `MyProperty`. Then it returns the attributes for this property and saves them in the attributes variable. @@ -80,13 +80,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/Overview/source.vb" id="Snippet2"::: If you marked a class with the , use the following code to check the value. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/Overview/source.vb" id="Snippet3"::: ]]> @@ -150,7 +150,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MergablePropertyAttribute.MergablePropertyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute.MergablePropertyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MergablePropertyAttribute.AllowMerge Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/AllowMerge/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute.AllowMerge Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/AllowMerge/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/NotifyParentPropertyAttribute.xml b/xml/System.ComponentModel/NotifyParentPropertyAttribute.xml index 8099f4c2eba..01f37fba4af 100644 --- a/xml/System.ComponentModel/NotifyParentPropertyAttribute.xml +++ b/xml/System.ComponentModel/NotifyParentPropertyAttribute.xml @@ -68,7 +68,7 @@ The following code example demonstrates how to use the and the class to create an expandable property on a custom control. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ExpandableObjectConverter/VB/DemoControl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.vb" id="Snippet1"::: ]]> @@ -129,7 +129,7 @@ The following code example demonstrates how to use the and the class to create an expandable property on a custom control. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ExpandableObjectConverter/VB/DemoControl.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel/PasswordPropertyTextAttribute.xml b/xml/System.ComponentModel/PasswordPropertyTextAttribute.xml index cca97779158..4bcd1a9c6c0 100644 --- a/xml/System.ComponentModel/PasswordPropertyTextAttribute.xml +++ b/xml/System.ComponentModel/PasswordPropertyTextAttribute.xml @@ -67,7 +67,7 @@ The following code example demonstrates using the to obscure the value of a string property in a control. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet29"::: ]]> diff --git a/xml/System.ComponentModel/ProgressChangedEventArgs.xml b/xml/System.ComponentModel/ProgressChangedEventArgs.xml index 755a5b42327..3fceb4f3394 100644 --- a/xml/System.ComponentModel/ProgressChangedEventArgs.xml +++ b/xml/System.ComponentModel/ProgressChangedEventArgs.xml @@ -58,7 +58,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet7"::: ]]> @@ -182,7 +182,7 @@ To run the example code, paste it into a project that contains an instance of type named `PictureBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet517"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet517"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet517"::: ]]> @@ -247,7 +247,7 @@ To run the example code, paste it into a project that contains an instance of type named `PictureBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet517"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet517"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet517"::: ]]> diff --git a/xml/System.ComponentModel/ProgressChangedEventHandler.xml b/xml/System.ComponentModel/ProgressChangedEventHandler.xml index 50cca905338..baf2895be89 100644 --- a/xml/System.ComponentModel/ProgressChangedEventHandler.xml +++ b/xml/System.ComponentModel/ProgressChangedEventHandler.xml @@ -73,7 +73,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel/PropertyDescriptor.xml b/xml/System.ComponentModel/PropertyDescriptor.xml index 17d6c4b1bc4..17293ce3e3a 100644 --- a/xml/System.ComponentModel/PropertyDescriptor.xml +++ b/xml/System.ComponentModel/PropertyDescriptor.xml @@ -97,19 +97,19 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PropertyDescriptor/CPP/propertydescriptor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptor/Overview/propertydescriptor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PropertyDescriptor/VB/propertydescriptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/propertydescriptor.vb" id="Snippet1"::: The following code example shows how to implement a custom property descriptor that provides a read-only wrapper around a property. The `SerializeReadOnlyPropertyDescriptor` is used in a custom designer to provide a read-only property descriptor for the control's property. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptor/Overview/SerializeReadOnlyPropertyDescriptor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/SerializeReadOnlyPropertyDescriptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/SerializeReadOnlyPropertyDescriptor.vb" id="Snippet1"::: The following code examples show how to use the `SerializeReadOnlyPropertyDescriptor` in a custom designer. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptor/Overview/DemoControlDesigner.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControlDesigner.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControlDesigner.vb" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptor/Overview/DemoControl.cs" id="Snippet100"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControl.vb" id="Snippet100"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControl.vb" id="Snippet100"::: ]]> diff --git a/xml/System.ComponentModel/PropertyDescriptorCollection.xml b/xml/System.ComponentModel/PropertyDescriptorCollection.xml index fe8a64e2d1e..84e31afeec3 100644 --- a/xml/System.ComponentModel/PropertyDescriptorCollection.xml +++ b/xml/System.ComponentModel/PropertyDescriptorCollection.xml @@ -84,13 +84,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Overview/source.vb" id="Snippet1"::: The next example prints all the properties on a button in a text box. It requires that `button1` and `textBox1` have been instantiated on a form. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Overview/source.vb" id="Snippet2"::: ]]> @@ -476,7 +476,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Count/source.vb" id="Snippet1"::: ]]> @@ -586,7 +586,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Find Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Find/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Find Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Find/source.vb" id="Snippet1"::: ]]> @@ -645,7 +645,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.GetEnumerator Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.GetEnumerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/source.vb" id="Snippet1"::: ]]> @@ -864,7 +864,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.InternalSort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/InternalSort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.InternalSort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/InternalSort/source.vb" id="Snippet1"::: ]]> @@ -937,7 +937,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Item/source.vb" id="Snippet1"::: ]]> @@ -1013,7 +1013,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Item/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Item/source1.vb" id="Snippet1"::: ]]> @@ -1287,7 +1287,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb" id="Snippet1"::: ]]> @@ -1362,7 +1362,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb" id="Snippet1"::: ]]> @@ -1735,7 +1735,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.GetEnumerator Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.GetEnumerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ProvidePropertyAttribute.xml b/xml/System.ComponentModel/ProvidePropertyAttribute.xml index eab28ecddec..8633017afe4 100644 --- a/xml/System.ComponentModel/ProvidePropertyAttribute.xml +++ b/xml/System.ComponentModel/ProvidePropertyAttribute.xml @@ -73,7 +73,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ProvidePropertyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ProvidePropertyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ProvidePropertyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ProvidePropertyAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ReadOnlyAttribute.xml b/xml/System.ComponentModel/ReadOnlyAttribute.xml index 36892c37e64..89637489713 100644 --- a/xml/System.ComponentModel/ReadOnlyAttribute.xml +++ b/xml/System.ComponentModel/ReadOnlyAttribute.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/Overview/source.vb" id="Snippet1"::: The next code example shows how to check the value of the for `MyProperty`. First, the code gets a with all the properties for the object. Next, it indexes into the to get `MyProperty`. Then it returns the attributes for this property and saves them in the attributes variable. @@ -80,13 +80,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/Overview/source.vb" id="Snippet2"::: If you marked a class with the , use the following code example to check the value. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/Overview/source.vb" id="Snippet3"::: ]]> @@ -158,7 +158,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ReadOnlyAttribute.ReadOnlyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute.ReadOnlyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -419,7 +419,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ReadOnlyAttribute.IsReadOnly Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/IsReadOnly/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute.IsReadOnly Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/IsReadOnly/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/RefreshEventHandler.xml b/xml/System.ComponentModel/RefreshEventHandler.xml index 50d1f3ca449..5beaca87bf5 100644 --- a/xml/System.ComponentModel/RefreshEventHandler.xml +++ b/xml/System.ComponentModel/RefreshEventHandler.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RefreshEventHandler/CPP/refreshevent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/RefreshEventHandler/Overview/refreshevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RefreshEventHandler/VB/refreshevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/RefreshEventHandler/Overview/refreshevent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/RefreshProperties.xml b/xml/System.ComponentModel/RefreshProperties.xml index ceb74f88122..a60d66ef56b 100644 --- a/xml/System.ComponentModel/RefreshProperties.xml +++ b/xml/System.ComponentModel/RefreshProperties.xml @@ -55,7 +55,7 @@ The following example uses the class to specify the refresh mode for a `DataSource` property. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet25"::: ]]> diff --git a/xml/System.ComponentModel/RefreshPropertiesAttribute.xml b/xml/System.ComponentModel/RefreshPropertiesAttribute.xml index 9bba91bf9bf..207f4da6722 100644 --- a/xml/System.ComponentModel/RefreshPropertiesAttribute.xml +++ b/xml/System.ComponentModel/RefreshPropertiesAttribute.xml @@ -66,7 +66,7 @@ The following code example demonstrates using the class to specify the refresh mode for a `DataSource` property. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet25"::: ]]> diff --git a/xml/System.ComponentModel/RunInstallerAttribute.xml b/xml/System.ComponentModel/RunInstallerAttribute.xml index 922b24b137a..301a43797d0 100644 --- a/xml/System.ComponentModel/RunInstallerAttribute.xml +++ b/xml/System.ComponentModel/RunInstallerAttribute.xml @@ -71,13 +71,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RunInstallerAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/RunInstallerAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RunInstallerAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/RunInstallerAttribute/Overview/source.vb" id="Snippet1"::: The next example creates an instance of `MyProjectInstaller`. Then it gets the attributes for the class, extracts the , and prints whether to run the installer. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RunInstallerAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/RunInstallerAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RunInstallerAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/RunInstallerAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/RunWorkerCompletedEventArgs.xml b/xml/System.ComponentModel/RunWorkerCompletedEventArgs.xml index d5b9da9769f..12e9ea1daae 100644 --- a/xml/System.ComponentModel/RunWorkerCompletedEventArgs.xml +++ b/xml/System.ComponentModel/RunWorkerCompletedEventArgs.xml @@ -64,7 +64,7 @@ When using the [event-based asynchronous pattern](/dotnet/standard/asynchronous- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet6"::: ]]> @@ -174,7 +174,7 @@ When using the [event-based asynchronous pattern](/dotnet/standard/asynchronous- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ComponentModel/RunWorkerCompletedEventHandler.xml b/xml/System.ComponentModel/RunWorkerCompletedEventHandler.xml index f03ba2e3183..f603d3730f9 100644 --- a/xml/System.ComponentModel/RunWorkerCompletedEventHandler.xml +++ b/xml/System.ComponentModel/RunWorkerCompletedEventHandler.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ComponentModel/SByteConverter.xml b/xml/System.ComponentModel/SByteConverter.xml index e1483dd1b0a..dbb08c72780 100644 --- a/xml/System.ComponentModel/SByteConverter.xml +++ b/xml/System.ComponentModel/SByteConverter.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet18"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet18"::: ]]> diff --git a/xml/System.ComponentModel/SingleConverter.xml b/xml/System.ComponentModel/SingleConverter.xml index 1c469e34faa..743f68becb1 100644 --- a/xml/System.ComponentModel/SingleConverter.xml +++ b/xml/System.ComponentModel/SingleConverter.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet19"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet19"::: ]]> diff --git a/xml/System.ComponentModel/TimeSpanConverter.xml b/xml/System.ComponentModel/TimeSpanConverter.xml index 17bdf5b29a6..7f04b351d8a 100644 --- a/xml/System.ComponentModel/TimeSpanConverter.xml +++ b/xml/System.ComponentModel/TimeSpanConverter.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet21"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet21"::: ]]> diff --git a/xml/System.ComponentModel/ToolboxItemAttribute.xml b/xml/System.ComponentModel/ToolboxItemAttribute.xml index 0adbb54e0c8..25af09f761c 100644 --- a/xml/System.ComponentModel/ToolboxItemAttribute.xml +++ b/xml/System.ComponentModel/ToolboxItemAttribute.xml @@ -65,7 +65,7 @@ The following code example demonstrates the use of with the class as a base class for a custom toolbox item implementation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/ToolboxItemFilterAttribute.xml b/xml/System.ComponentModel/ToolboxItemFilterAttribute.xml index 673ccad173b..44b0d808f7c 100644 --- a/xml/System.ComponentModel/ToolboxItemFilterAttribute.xml +++ b/xml/System.ComponentModel/ToolboxItemFilterAttribute.xml @@ -73,7 +73,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxUserExample/CPP/samplecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb" id="Snippet1"::: ]]> @@ -185,7 +185,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxUserExample/CPP/samplecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ToolboxItemFilterType.xml b/xml/System.ComponentModel/ToolboxItemFilterType.xml index 36b22f01298..4d360f15630 100644 --- a/xml/System.ComponentModel/ToolboxItemFilterType.xml +++ b/xml/System.ComponentModel/ToolboxItemFilterType.xml @@ -50,7 +50,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxUserExample/CPP/samplecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/TypeConverter.xml b/xml/System.ComponentModel/TypeConverter.xml index 6f3d818081c..289004c0b7b 100644 --- a/xml/System.ComponentModel/TypeConverter.xml +++ b/xml/System.ComponentModel/TypeConverter.xml @@ -76,31 +76,31 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverter Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverter/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb" id="Snippet1"::: When you have a property that has an enumeration, check to see whether an enumeration value is valid before setting the property. The next code example requires that an enumeration called `MyPropertyEnum` has been declared. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverter Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverter/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb" id="Snippet2"::: Another common type converter usage is to convert an object to a string. The following code example prints out the name of the stored in the variable `c`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverter Example/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverter/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb" id="Snippet3"::: You can also use a type converter to convert a value from its name, as shown in the next code example. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverter Example/CPP/source.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverter/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb" id="Snippet4"::: In the following code example, you can use a type converter to print out the set of standard values that the object supports. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverter Example/CPP/source.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverter/Overview/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ComponentModel/TypeConverterAttribute.xml b/xml/System.ComponentModel/TypeConverterAttribute.xml index e88d3b00a0b..f16b98ef27e 100644 --- a/xml/System.ComponentModel/TypeConverterAttribute.xml +++ b/xml/System.ComponentModel/TypeConverterAttribute.xml @@ -91,13 +91,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverterAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverterAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverterAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverterAttribute/Overview/source.vb" id="Snippet1"::: The next example creates an instance of `MyClass`. Then it gets the attributes for the class, and prints the name of the type converter used by `MyClass`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverterAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverterAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverterAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverterAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/TypeDescriptor.xml b/xml/System.ComponentModel/TypeDescriptor.xml index fb9430c2ff2..c66ac512de3 100644 --- a/xml/System.ComponentModel/TypeDescriptor.xml +++ b/xml/System.ComponentModel/TypeDescriptor.xml @@ -3788,7 +3788,7 @@ The following code example demonstrates the use of the method to access the properties of a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeDescriptor/GetProperties/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerServices/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeDescriptor/GetProperties/Form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ComponentModel/UInt16Converter.xml b/xml/System.ComponentModel/UInt16Converter.xml index dce60b79dd7..6ccc687bffa 100644 --- a/xml/System.ComponentModel/UInt16Converter.xml +++ b/xml/System.ComponentModel/UInt16Converter.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet23"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet23"::: ]]> diff --git a/xml/System.ComponentModel/UInt32Converter.xml b/xml/System.ComponentModel/UInt32Converter.xml index d9e75b3475e..b5499dcdcca 100644 --- a/xml/System.ComponentModel/UInt32Converter.xml +++ b/xml/System.ComponentModel/UInt32Converter.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet24"::: ]]> diff --git a/xml/System.ComponentModel/UInt64Converter.xml b/xml/System.ComponentModel/UInt64Converter.xml index 8a4998e620b..5a7eb0f9854 100644 --- a/xml/System.ComponentModel/UInt64Converter.xml +++ b/xml/System.ComponentModel/UInt64Converter.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet25"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet25"::: ]]> diff --git a/xml/System.ComponentModel/WarningException.xml b/xml/System.ComponentModel/WarningException.xml index 1983a404613..09860e152f7 100644 --- a/xml/System.ComponentModel/WarningException.xml +++ b/xml/System.ComponentModel/WarningException.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/WarningException/CPP/warningex_doc.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/WarningException/Overview/warningex_doc.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WarningException/VB/warningex_doc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/WarningException/Overview/warningex_doc.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/Win32Exception.xml b/xml/System.ComponentModel/Win32Exception.xml index 43b1d4231e5..f53e7774971 100644 --- a/xml/System.ComponentModel/Win32Exception.xml +++ b/xml/System.ComponentModel/Win32Exception.xml @@ -85,7 +85,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Win32Exception/CPP/win32exception.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/Win32Exception/Overview/win32exception.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Win32Exception/VB/win32exception.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/Win32Exception/Overview/win32exception.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Configuration/ApplicationSettingsBase.xml b/xml/System.Configuration/ApplicationSettingsBase.xml index 1767ce068e3..7e785da0914 100644 --- a/xml/System.Configuration/ApplicationSettingsBase.xml +++ b/xml/System.Configuration/ApplicationSettingsBase.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -913,7 +913,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -975,7 +975,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -1037,7 +1037,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -1094,7 +1094,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -1253,7 +1253,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Configuration/DefaultSettingValueAttribute.xml b/xml/System.Configuration/DefaultSettingValueAttribute.xml index d1f85638afb..5fa29ff5827 100644 --- a/xml/System.Configuration/DefaultSettingValueAttribute.xml +++ b/xml/System.Configuration/DefaultSettingValueAttribute.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Configuration/UserScopedSettingAttribute.xml b/xml/System.Configuration/UserScopedSettingAttribute.xml index 4b88fdf7eb2..e43fab5ebe7 100644 --- a/xml/System.Configuration/UserScopedSettingAttribute.xml +++ b/xml/System.Configuration/UserScopedSettingAttribute.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Drawing.Design/BitmapEditor.xml b/xml/System.Drawing.Design/BitmapEditor.xml index 87730cb8f22..51ec2d0382d 100644 --- a/xml/System.Drawing.Design/BitmapEditor.xml +++ b/xml/System.Drawing.Design/BitmapEditor.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BitmapEditorExample/CPP/usercontrol1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/BitmapEditor/Overview/usercontrol1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BitmapEditorExample/VB/usercontrol1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/BitmapEditor/Overview/usercontrol1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Design/CategoryNameCollection.xml b/xml/System.Drawing.Design/CategoryNameCollection.xml index 5e2291dd528..cdeed294115 100644 --- a/xml/System.Drawing.Design/CategoryNameCollection.xml +++ b/xml/System.Drawing.Design/CategoryNameCollection.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CategoryNameCollectionExample/CPP/toolboxcategorynamescontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/CategoryNameCollection/Overview/toolboxcategorynamescontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CategoryNameCollectionExample/VB/toolboxcategorynamescontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/CategoryNameCollection/Overview/toolboxcategorynamescontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Design/FontEditor.xml b/xml/System.Drawing.Design/FontEditor.xml index 90ced605616..f62de5b64c6 100644 --- a/xml/System.Drawing.Design/FontEditor.xml +++ b/xml/System.Drawing.Design/FontEditor.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorAttributesExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CollectionEditor/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Design/IToolboxService.xml b/xml/System.Drawing.Design/IToolboxService.xml index 8f9433883b6..a9ffd76f580 100644 --- a/xml/System.Drawing.Design/IToolboxService.xml +++ b/xml/System.Drawing.Design/IToolboxService.xml @@ -90,13 +90,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxServiceExample1/CPP/itoolboxservicecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/IToolboxService/Overview/itoolboxservicecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxServiceExample1/VB/itoolboxservicecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/itoolboxservicecontrol.vb" id="Snippet1"::: The following code example provides a component that uses the to add a "Text" data format handler, or , to the toolbox. The data creator callback delegate passes any text data pasted to the toolbox and dragged onto a form to a custom that creates a containing the text. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/CPP/textdatatextboxcomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/VB/textdatatextboxcomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Design/IToolboxUser.xml b/xml/System.Drawing.Design/IToolboxUser.xml index d49269fcd8e..cd672a97e40 100644 --- a/xml/System.Drawing.Design/IToolboxUser.xml +++ b/xml/System.Drawing.Design/IToolboxUser.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxUserExample/CPP/samplecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb" id="Snippet1"::: ]]> @@ -93,7 +93,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxUserExample/CPP/samplecontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Design/ImageEditor.xml b/xml/System.Drawing.Design/ImageEditor.xml index d2a3bf278c7..6876aa63408 100644 --- a/xml/System.Drawing.Design/ImageEditor.xml +++ b/xml/System.Drawing.Design/ImageEditor.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorAttributesExample/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CollectionEditor/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing.Design/PaintValueEventArgs.xml b/xml/System.Drawing.Design/PaintValueEventArgs.xml index cbdada5c13d..406735e4e5b 100644 --- a/xml/System.Drawing.Design/PaintValueEventArgs.xml +++ b/xml/System.Drawing.Design/PaintValueEventArgs.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventArgsExamples/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventArgsExamples/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxComponentsCreatedEventArgs.xml b/xml/System.Drawing.Design/ToolboxComponentsCreatedEventArgs.xml index 236a0f5f56b..bf29ccf5b85 100644 --- a/xml/System.Drawing.Design/ToolboxComponentsCreatedEventArgs.xml +++ b/xml/System.Drawing.Design/ToolboxComponentsCreatedEventArgs.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventArgsExamples/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventArgsExamples/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxComponentsCreatedEventHandler.xml b/xml/System.Drawing.Design/ToolboxComponentsCreatedEventHandler.xml index df574928ae8..c12c8a15555 100644 --- a/xml/System.Drawing.Design/ToolboxComponentsCreatedEventHandler.xml +++ b/xml/System.Drawing.Design/ToolboxComponentsCreatedEventHandler.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventHandlerExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventHandlerExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxComponentsCreatingEventArgs.xml b/xml/System.Drawing.Design/ToolboxComponentsCreatingEventArgs.xml index bbc131d902d..67f58cf5a01 100644 --- a/xml/System.Drawing.Design/ToolboxComponentsCreatingEventArgs.xml +++ b/xml/System.Drawing.Design/ToolboxComponentsCreatingEventArgs.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventArgsExamples/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventArgsExamples/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxComponentsCreatingEventHandler.xml b/xml/System.Drawing.Design/ToolboxComponentsCreatingEventHandler.xml index 1ee0f98d140..21b3686dc7a 100644 --- a/xml/System.Drawing.Design/ToolboxComponentsCreatingEventHandler.xml +++ b/xml/System.Drawing.Design/ToolboxComponentsCreatingEventHandler.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventHandlerExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventHandlerExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxItem.xml b/xml/System.Drawing.Design/ToolboxItem.xml index 35eab18831c..f228ae1587b 100644 --- a/xml/System.Drawing.Design/ToolboxItem.xml +++ b/xml/System.Drawing.Design/ToolboxItem.xml @@ -83,12 +83,12 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/CPP/textdatatextboxcomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/VB/textdatatextboxcomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.vb" id="Snippet1"::: The following code example demonstrates the use of the class as a base class for a custom toolbox item implementation. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -114,7 +114,7 @@ The following code example demonstrates the use of the constructor in a class derived from for a custom toolbox item implementation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -159,7 +159,7 @@ The following code example demonstrates the use of the constructor in a class derived from for a custom toolbox item implementation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -203,7 +203,7 @@ The following code example demonstrates the use of the constructor in a class derived from for a custom toolbox item implementation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -744,7 +744,7 @@ The following code example demonstrates the use of the method in a class derived from for a custom toolbox item implementation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -871,7 +871,7 @@ The following code example demonstrates loading the state of the toolbox item from the specified serialization information object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxItemCollection.xml b/xml/System.Drawing.Design/ToolboxItemCollection.xml index 8ff6b8f414b..cedf741e53f 100644 --- a/xml/System.Drawing.Design/ToolboxItemCollection.xml +++ b/xml/System.Drawing.Design/ToolboxItemCollection.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxItemCollectionExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb" id="Snippet1"::: ]]> @@ -127,7 +127,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxItemCollectionExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb" id="Snippet2"::: ]]> @@ -176,7 +176,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxItemCollectionExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb" id="Snippet5"::: ]]> @@ -225,7 +225,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxItemCollectionExample/CPP/class1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb" id="Snippet6"::: ]]> @@ -310,7 +310,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxItemCollectionExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxItemCreatorCallback.xml b/xml/System.Drawing.Design/ToolboxItemCreatorCallback.xml index 68f33945929..4655dabf6e5 100644 --- a/xml/System.Drawing.Design/ToolboxItemCreatorCallback.xml +++ b/xml/System.Drawing.Design/ToolboxItemCreatorCallback.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/CPP/textdatatextboxcomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/VB/textdatatextboxcomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Design/UITypeEditor.xml b/xml/System.Drawing.Design/UITypeEditor.xml index 15bc1214498..67291354673 100644 --- a/xml/System.Drawing.Design/UITypeEditor.xml +++ b/xml/System.Drawing.Design/UITypeEditor.xml @@ -69,7 +69,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AngleEditor/CPP/angleeditor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/UITypeEditor/Overview/angleeditor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AngleEditor/VB/angleeditor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/UITypeEditor/Overview/angleeditor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Design/UITypeEditorEditStyle.xml b/xml/System.Drawing.Design/UITypeEditorEditStyle.xml index c9d5d0f68d1..48cdc5ca2a3 100644 --- a/xml/System.Drawing.Design/UITypeEditorEditStyle.xml +++ b/xml/System.Drawing.Design/UITypeEditorEditStyle.xml @@ -33,7 +33,7 @@ The following code example demonstrates how to use to specify the style of a custom . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/UITypeEditorEditStyle/Overview/marqueeborder.cs" id="Snippet93"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.DocumentDesigner/VB/marqueeborder.vb" id="Snippet93"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/UITypeEditorEditStyle/Overview/marqueeborder.vb" id="Snippet93"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/AdjustableArrowCap.xml b/xml/System.Drawing.Drawing2D/AdjustableArrowCap.xml index 7e941408da7..076682e672f 100644 --- a/xml/System.Drawing.Drawing2D/AdjustableArrowCap.xml +++ b/xml/System.Drawing.Drawing2D/AdjustableArrowCap.xml @@ -106,7 +106,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb" id="Snippet1"::: ]]> @@ -162,7 +162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/Blend.xml b/xml/System.Drawing.Drawing2D/Blend.xml index 784c0893919..ba3d5af81e7 100644 --- a/xml/System.Drawing.Drawing2D/Blend.xml +++ b/xml/System.Drawing.Drawing2D/Blend.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb" id="Snippet3"::: ]]> @@ -104,7 +104,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb" id="Snippet3"::: ]]> @@ -205,7 +205,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet5"::: ]]> @@ -265,7 +265,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/ColorBlend.xml b/xml/System.Drawing.Drawing2D/ColorBlend.xml index cd6ab1027da..3aef7967b50 100644 --- a/xml/System.Drawing.Drawing2D/ColorBlend.xml +++ b/xml/System.Drawing.Drawing2D/ColorBlend.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/CustomLineCap.xml b/xml/System.Drawing.Drawing2D/CustomLineCap.xml index 38e45ce59be..30e51665324 100644 --- a/xml/System.Drawing.Drawing2D/CustomLineCap.xml +++ b/xml/System.Drawing.Drawing2D/CustomLineCap.xml @@ -58,7 +58,7 @@ The following example demonstrates how to use the class. To run this example paste, the code into a Windows Form. Handle the form's event and call `DrawCaps` from the form's event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet1"::: ]]> @@ -127,7 +127,7 @@ The following example demonstrates how to use the constructor. To run this example, paste the code into a Windows Form. Handle the form's event and call `DrawCaps` from the form's event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet1"::: ]]> @@ -593,7 +593,7 @@ private void CloneExample(PaintEventArgs e) The following example demonstrates how to use the method. To run this example, paste the code into a Windows Form. Handle the form's event and call `DrawCaps` from the form's event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet1"::: ]]> @@ -642,7 +642,7 @@ private void CloneExample(PaintEventArgs e) The following example demonstrates how to use the method. To run this example, paste the code into a Windows Form. Handle the form's event and call `DrawCaps` from the form's event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/DashStyle.xml b/xml/System.Drawing.Drawing2D/DashStyle.xml index 5318d1ac09c..0682da04f12 100644 --- a/xml/System.Drawing.Drawing2D/DashStyle.xml +++ b/xml/System.Drawing.Drawing2D/DashStyle.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/FillMode.xml b/xml/System.Drawing.Drawing2D/FillMode.xml index a43c5d4259e..802d5392b23 100644 --- a/xml/System.Drawing.Drawing2D/FillMode.xml +++ b/xml/System.Drawing.Drawing2D/FillMode.xml @@ -54,7 +54,7 @@ The following example is designed for use with Windows Forms, and it requires `e`, which is a parameter of the event handler. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/FillMode/Overview/Class1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ConstructingDrawingPaths/VB/Class1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/FillMode/Overview/Class1.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/GraphicsPath.xml b/xml/System.Drawing.Drawing2D/GraphicsPath.xml index 9b7eec0ad46..522cafe6f5f 100644 --- a/xml/System.Drawing.Drawing2D/GraphicsPath.xml +++ b/xml/System.Drawing.Drawing2D/GraphicsPath.xml @@ -444,7 +444,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet1"::: ]]> @@ -821,7 +821,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet2"::: ]]> @@ -966,7 +966,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet3"::: ]]> @@ -1382,7 +1382,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet4"::: ]]> @@ -1930,7 +1930,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet5"::: ]]> @@ -2051,7 +2051,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet6"::: ]]> @@ -2365,7 +2365,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet7"::: ]]> @@ -2500,7 +2500,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet8"::: ]]> @@ -2697,7 +2697,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet9"::: ]]> @@ -2822,7 +2822,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet10"::: ]]> @@ -2959,7 +2959,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet11"::: ]]> @@ -3162,7 +3162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet12"::: ]]> @@ -3279,7 +3279,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet13"::: ]]> @@ -3560,7 +3560,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet14"::: ]]> @@ -3808,7 +3808,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet15"::: ]]> @@ -3869,7 +3869,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet16"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet16"::: ]]> @@ -3922,7 +3922,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet17"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet17"::: ]]> @@ -3967,7 +3967,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet18"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet18"::: ]]> @@ -4249,7 +4249,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet19"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet19"::: ]]> @@ -4335,7 +4335,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet20"::: ]]> @@ -4491,7 +4491,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet21"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet21"::: ]]> @@ -4984,7 +4984,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet22"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet22"::: ]]> @@ -5424,7 +5424,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet23"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet23"::: ]]> @@ -5696,7 +5696,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet24"::: ]]> @@ -5749,7 +5749,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet25"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet25"::: ]]> @@ -5801,7 +5801,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet26"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet26"::: ]]> @@ -5861,7 +5861,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet27"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet27"::: ]]> @@ -5924,7 +5924,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet28"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet28"::: ]]> @@ -6186,7 +6186,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet29"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet29"::: ]]> @@ -6434,7 +6434,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet30"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/GraphicsPathIterator.xml b/xml/System.Drawing.Drawing2D/GraphicsPathIterator.xml index cf967822f7a..f638db7ffce 100644 --- a/xml/System.Drawing.Drawing2D/GraphicsPathIterator.xml +++ b/xml/System.Drawing.Drawing2D/GraphicsPathIterator.xml @@ -157,7 +157,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet1"::: ]]> @@ -336,7 +336,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet2"::: ]]> @@ -468,7 +468,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet3"::: ]]> @@ -547,7 +547,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet4"::: ]]> @@ -617,7 +617,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet5"::: ]]> @@ -686,7 +686,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet6"::: ]]> @@ -760,7 +760,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet7"::: ]]> @@ -827,7 +827,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/HatchBrush.xml b/xml/System.Drawing.Drawing2D/HatchBrush.xml index 3a29d3dccad..43676850066 100644 --- a/xml/System.Drawing.Drawing2D/HatchBrush.xml +++ b/xml/System.Drawing.Drawing2D/HatchBrush.xml @@ -49,7 +49,7 @@ The following example shows how to create the shown in the previous illustration. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/HatchBrush/Overview/Class1.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingABrush/VB/Class1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/HatchBrush/Overview/Class1.vb" id="Snippet41"::: ]]> @@ -156,7 +156,7 @@ The following example shows how to use the to create the shown in the previous illustration. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/HatchBrush/Overview/Class1.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingABrush/VB/Class1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/HatchBrush/Overview/Class1.vb" id="Snippet41"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/LineCap.xml b/xml/System.Drawing.Drawing2D/LineCap.xml index 25de29980b1..7f541fee54b 100644 --- a/xml/System.Drawing.Drawing2D/LineCap.xml +++ b/xml/System.Drawing.Drawing2D/LineCap.xml @@ -46,7 +46,7 @@ The following example draws a line with an arrowhead at one end and a round cap at the other end. To run this example, Create a Windows Form and handle the form's event. Paste the example code into the event handler passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Rectangle/Overview/Class1.cs" id="Snippet71"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingAPen/VB/Class1.vb" id="Snippet71"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Rectangle/Overview/Class1.vb" id="Snippet71"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/LinearGradientBrush.xml b/xml/System.Drawing.Drawing2D/LinearGradientBrush.xml index 12f50a70e0d..1343ad82f6f 100644 --- a/xml/System.Drawing.Drawing2D/LinearGradientBrush.xml +++ b/xml/System.Drawing.Drawing2D/LinearGradientBrush.xml @@ -59,7 +59,7 @@ The following example creates a horizontal ; the color components change linearly as you move from a horizontal coordinate of 0 to a horizontal coordinate of 200. For example, a point whose first coordinate is halfway between 0 and 200 will have a blue component that is halfway between 0 and 255. This example is designed for use with Windows Forms. The following code example is designed for use with Windows Forms, and it requires the `e`, which is a parameter of . :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Overview/Class1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingaGradientBrush/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Overview/Class1.vb" id="Snippet21"::: ]]> @@ -559,7 +559,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet1"::: ]]> @@ -805,7 +805,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet2"::: ]]> @@ -911,7 +911,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet3"::: ]]> @@ -1030,7 +1030,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet4"::: ]]> @@ -1153,7 +1153,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet5"::: ]]> @@ -1282,7 +1282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet6"::: ]]> @@ -1411,7 +1411,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet7"::: ]]> @@ -1589,7 +1589,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/Matrix.xml b/xml/System.Drawing.Drawing2D/Matrix.xml index 052193f062d..1a1b3d4d7f5 100644 --- a/xml/System.Drawing.Drawing2D/Matrix.xml +++ b/xml/System.Drawing.Drawing2D/Matrix.xml @@ -775,7 +775,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet1"::: ]]> @@ -913,7 +913,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet2"::: ]]> @@ -1032,7 +1032,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet3"::: ]]> @@ -1097,7 +1097,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet5"::: ]]> @@ -1159,7 +1159,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet4"::: ]]> @@ -1282,7 +1282,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet5"::: ]]> @@ -1356,7 +1356,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet6"::: ]]> @@ -1488,7 +1488,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet7"::: ]]> @@ -1704,7 +1704,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet8"::: ]]> @@ -1962,7 +1962,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/PathGradientBrush.xml b/xml/System.Drawing.Drawing2D/PathGradientBrush.xml index 9e1833adbd3..a01f31c30fa 100644 --- a/xml/System.Drawing.Drawing2D/PathGradientBrush.xml +++ b/xml/System.Drawing.Drawing2D/PathGradientBrush.xml @@ -53,7 +53,7 @@ The following code example shows how to create a . This example is designed for use with Windows Forms, and it requires the e, which is a parameter of . :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Overview/Class1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingaGradientBrush/VB/Class1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Overview/Class1.vb" id="Snippet11"::: ]]> @@ -785,7 +785,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb" id="Snippet1"::: ]]> @@ -994,7 +994,7 @@ PathGradientBrush pgBrush = new PathGradientBrush(myPath); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb" id="Snippet2"::: ]]> @@ -1123,7 +1123,7 @@ PathGradientBrush pgBrush = new PathGradientBrush(myPath); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb" id="Snippet3"::: ]]> @@ -1260,7 +1260,7 @@ PathGradientBrush pgBrush = new PathGradientBrush(myPath); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb" id="Snippet4"::: ]]> @@ -1399,7 +1399,7 @@ PathGradientBrush pgBrush = new PathGradientBrush(myPath); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/RegionData.xml b/xml/System.Drawing.Drawing2D/RegionData.xml index cc38702afaf..53844a3a08b 100644 --- a/xml/System.Drawing.Drawing2D/RegionData.xml +++ b/xml/System.Drawing.Drawing2D/RegionData.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet6"::: ]]> @@ -111,7 +111,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/WrapMode.xml b/xml/System.Drawing.Drawing2D/WrapMode.xml index 64097263ba4..70d768f1559 100644 --- a/xml/System.Drawing.Drawing2D/WrapMode.xml +++ b/xml/System.Drawing.Drawing2D/WrapMode.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Imaging/BitmapData.xml b/xml/System.Drawing.Imaging/BitmapData.xml index 18b05b3c711..375375d2a9a 100644 --- a/xml/System.Drawing.Imaging/BitmapData.xml +++ b/xml/System.Drawing.Imaging/BitmapData.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet5"::: ]]> @@ -271,7 +271,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing.Imaging/ColorMatrix.xml b/xml/System.Drawing.Imaging/ColorMatrix.xml index e7a7e977112..a9452d649a7 100644 --- a/xml/System.Drawing.Imaging/ColorMatrix.xml +++ b/xml/System.Drawing.Imaging/ColorMatrix.xml @@ -84,7 +84,7 @@ The preceding example is designed for use with Windows Forms, and it requires `e`, which is a parameter of the event handler :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ColorMatrix/Overview/Class1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RecoloringImages/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/Overview/Class1.vb" id="Snippet21"::: ]]> @@ -212,7 +212,7 @@ The following code example demonstrates how to construct and use a . To run this example, paste the code into a Windows Form and call `RotateColors` from the form's event-handling method passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ColorMatrix/.ctor/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RotateColors/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/.ctor/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Imaging/Encoder.xml b/xml/System.Drawing.Imaging/Encoder.xml index b00b7ad7d3b..427fedac4c5 100644 --- a/xml/System.Drawing.Imaging/Encoder.xml +++ b/xml/System.Drawing.Imaging/Encoder.xml @@ -293,7 +293,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicEncoderExample1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/Encoder/ColorDepth/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicEncoderExample1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/Encoder/ColorDepth/form1.vb" id="Snippet1"::: ]]> @@ -403,7 +403,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoder2/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/Encoder/Compression/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoder2/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/Encoder/Compression/form1.vb" id="Snippet2"::: ]]> @@ -668,7 +668,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImagingEndcoder3/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Image/Save/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEndcoder3/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Image/Save/form1.vb" id="Snippet3"::: ]]> @@ -851,7 +851,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassingImagingEncoder4/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/Encoder/SaveFlag/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassingImagingEncoder4/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/Encoder/SaveFlag/form1.vb" id="Snippet4"::: ]]> @@ -1006,7 +1006,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoderExample5/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/Encoder/Transformation/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoderExample5/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/Encoder/Transformation/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing.Imaging/EncoderParameter.xml b/xml/System.Drawing.Imaging/EncoderParameter.xml index 93aec20889b..ed6c6d10973 100644 --- a/xml/System.Drawing.Imaging/EncoderParameter.xml +++ b/xml/System.Drawing.Imaging/EncoderParameter.xml @@ -56,9 +56,9 @@ The following code example demonstrates how to create a using the constructor. To run this example, paste the code into a Windows Form and call the `VaryQualityLevel` method from the form's constructor. This example requires an image file named `TestPhoto.jpg` located at **c:\\**. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/EncoderParameter/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/EncoderParameter/Overview/Form1.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -258,9 +258,9 @@ The following code example demonstrates how to create a using the constructor. To run this example, paste the code into a Windows Form and call the `VaryQualityLevel` method from the form's constructor. This example requires an image file named `TestPhoto.jpg` located at **c:\\**. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/EncoderParameter/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/EncoderParameter/Overview/Form1.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing.Imaging/EncoderParameters.xml b/xml/System.Drawing.Imaging/EncoderParameters.xml index dcf6d5b2fa1..1fbc2591f65 100644 --- a/xml/System.Drawing.Imaging/EncoderParameters.xml +++ b/xml/System.Drawing.Imaging/EncoderParameters.xml @@ -103,9 +103,9 @@ The following code example demonstrates how to create and use a object. To run this example, paste the code into a Windows Form and call the `VaryQualityLevel` method from the form's constructor. This example requires an image file named `TestPhoto.jpg` located at **c:\\**. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/EncoderParameter/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/EncoderParameter/Overview/Form1.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing.Imaging/ImageAttributes.xml b/xml/System.Drawing.Imaging/ImageAttributes.xml index 1d55bff7349..ec602ac0020 100644 --- a/xml/System.Drawing.Imaging/ImageAttributes.xml +++ b/xml/System.Drawing.Imaging/ImageAttributes.xml @@ -71,7 +71,7 @@ 3. Pass the object to the method of a object. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ColorMatrix/Overview/Class1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RecoloringImages/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/Overview/Class1.vb" id="Snippet21"::: ]]> @@ -1248,7 +1248,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet1"::: ]]> @@ -1475,7 +1475,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet2"::: ]]> @@ -1756,7 +1756,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet3"::: ]]> @@ -1877,7 +1877,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RotateColors` from the form's event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ColorMatrix/.ctor/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RotateColors/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/.ctor/Form1.vb" id="Snippet1"::: ]]> @@ -1957,7 +1957,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet4"::: ]]> @@ -2095,7 +2095,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet5"::: ]]> @@ -2215,7 +2215,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form. Handle the form's event and call `ShowOutputChannels`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet4"::: ]]> @@ -2275,7 +2275,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form. Handle the form's event and call `ShowOutputChannels`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet4"::: ]]> @@ -2502,7 +2502,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet6"::: ]]> @@ -2824,7 +2824,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet7"::: ]]> @@ -2951,7 +2951,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Drawing.Imaging/ImageCodecInfo.xml b/xml/System.Drawing.Imaging/ImageCodecInfo.xml index f4e1880fd18..f746ed3b6db 100644 --- a/xml/System.Drawing.Imaging/ImageCodecInfo.xml +++ b/xml/System.Drawing.Imaging/ImageCodecInfo.xml @@ -441,7 +441,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicImageCodecExample/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageCodecInfo/GetImageEncoders/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicImageCodecExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageCodecInfo/GetImageEncoders/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Imaging/ImageLockMode.xml b/xml/System.Drawing.Imaging/ImageLockMode.xml index 554239c119e..8d922eeb271 100644 --- a/xml/System.Drawing.Imaging/ImageLockMode.xml +++ b/xml/System.Drawing.Imaging/ImageLockMode.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing.Imaging/Metafile.xml b/xml/System.Drawing.Imaging/Metafile.xml index 10d25218aad..c085a270460 100644 --- a/xml/System.Drawing.Imaging/Metafile.xml +++ b/xml/System.Drawing.Imaging/Metafile.xml @@ -80,7 +80,7 @@ The following code example demonstrates how to create a and use the method. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/EnumerateMetafile/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.EnumerateMetafile/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/EnumerateMetafile/Form1.vb" id="Snippet1"::: ]]> @@ -169,7 +169,7 @@ The following code example demonstrates how to create and use a . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/EnumerateMetafile/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.EnumerateMetafile/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/EnumerateMetafile/Form1.vb" id="Snippet1"::: ]]> @@ -2144,7 +2144,7 @@ The following code example demonstrates how to use the method. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/EnumerateMetafile/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.EnumerateMetafile/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/EnumerateMetafile/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Imaging/PropertyItem.xml b/xml/System.Drawing.Imaging/PropertyItem.xml index a4f9a1d23ff..d3773f21601 100644 --- a/xml/System.Drawing.Imaging/PropertyItem.xml +++ b/xml/System.Drawing.Imaging/PropertyItem.xml @@ -58,7 +58,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing.Printing/Margins.xml b/xml/System.Drawing.Printing/Margins.xml index c918bc5c9d4..179893ba337 100644 --- a/xml/System.Drawing.Printing/Margins.xml +++ b/xml/System.Drawing.Printing/Margins.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Margins Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/Margins/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/Margins/Overview/source.vb" id="Snippet1"::: ]]> @@ -177,7 +177,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Margins Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/Margins/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/Margins/Overview/source.vb" id="Snippet1"::: ]]> @@ -248,7 +248,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Margins.Left Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/Margins/Bottom/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins.Left Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/Margins/Bottom/source.vb" id="Snippet1"::: ]]> @@ -432,7 +432,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Margins.Left Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/Margins/Bottom/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins.Left Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/Margins/Bottom/source.vb" id="Snippet1"::: ]]> @@ -580,7 +580,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Margins.Left Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/Margins/Bottom/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins.Left Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/Margins/Bottom/source.vb" id="Snippet1"::: ]]> @@ -642,7 +642,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Margins.Left Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/Margins/Bottom/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins.Left Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/Margins/Bottom/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Printing/PageSettings.xml b/xml/System.Drawing.Printing/PageSettings.xml index d82bd7cb077..caf2a60a340 100644 --- a/xml/System.Drawing.Printing/PageSettings.xml +++ b/xml/System.Drawing.Printing/PageSettings.xml @@ -66,7 +66,7 @@ The following example demonstrates handling the event and checking the argument of . To use this code, add a component named `PrintDocument1` to a Windows Form and associate its event with the `printDocument1_PrintPage` method in the example. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet3"::: ]]> @@ -292,7 +292,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet6"::: ]]> @@ -481,7 +481,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PageSettings Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Landscape/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PageSettings Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Landscape/source.vb" id="Snippet1"::: ]]> @@ -553,7 +553,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PageSettings.Margins Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Margins/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PageSettings.Margins Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Margins/source.vb" id="Snippet1"::: ]]> @@ -615,16 +615,16 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet4"::: ]]> @@ -687,16 +687,16 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet4"::: ]]> @@ -801,7 +801,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing.Printing/PaperSize.xml b/xml/System.Drawing.Printing/PaperSize.xml index 5d79341d476..c4a83a76c37 100644 --- a/xml/System.Drawing.Printing/PaperSize.xml +++ b/xml/System.Drawing.Printing/PaperSize.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> @@ -171,7 +171,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> @@ -319,7 +319,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Printing/PaperSource.xml b/xml/System.Drawing.Printing/PaperSource.xml index f7d24b1dc5e..05e5fcd2c93 100644 --- a/xml/System.Drawing.Printing/PaperSource.xml +++ b/xml/System.Drawing.Printing/PaperSource.xml @@ -59,7 +59,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: ]]> @@ -271,7 +271,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Printing/PrintDocument.xml b/xml/System.Drawing.Printing/PrintDocument.xml index 5159c7280cf..cc24f227ea2 100644 --- a/xml/System.Drawing.Printing/PrintDocument.xml +++ b/xml/System.Drawing.Printing/PrintDocument.xml @@ -69,7 +69,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/Overview/source.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/Overview/source.vb" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument.PrintDocument Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/DefaultPageSettings/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintDocument Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/DefaultPageSettings/source.vb" id="Snippet1"::: ]]> @@ -307,7 +307,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet6"::: ]]> @@ -701,7 +701,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument.PrintPage Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/Print/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintPage Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/Print/source.vb" id="Snippet1"::: ]]> @@ -768,7 +768,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument.PrintController Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/PrintController/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintController Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/PrintController/source.vb" id="Snippet1"::: ]]> @@ -845,7 +845,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument.PrinterSettings Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/PrinterSettings/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrinterSettings Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/PrinterSettings/source.vb" id="Snippet1"::: ]]> @@ -904,7 +904,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/Overview/source.vb" id="Snippet1"::: ]]> @@ -965,7 +965,7 @@ If you use the ev :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing.Printing/PrintPageEventArgs.xml b/xml/System.Drawing.Printing/PrintPageEventArgs.xml index 7aeee5744f6..a00edf6d9b8 100644 --- a/xml/System.Drawing.Printing/PrintPageEventArgs.xml +++ b/xml/System.Drawing.Printing/PrintPageEventArgs.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintPageEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintPageEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintPageEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintPageEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -278,7 +278,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintPageEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintPageEventArgs/Overview/source.vb" id="Snippet1"::: For another example that shows how to use , see [How to: Print a Multi-Page Text File in Windows Forms](/dotnet/framework/winforms/advanced/how-to-print-a-multi-page-text-file-in-windows-forms). diff --git a/xml/System.Drawing.Printing/PrinterResolution.xml b/xml/System.Drawing.Printing/PrinterResolution.xml index 4f87af6114f..faa14bc55e2 100644 --- a/xml/System.Drawing.Printing/PrinterResolution.xml +++ b/xml/System.Drawing.Printing/PrinterResolution.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing.Printing/PrinterSettings+PaperSizeCollection.xml b/xml/System.Drawing.Printing/PrinterSettings+PaperSizeCollection.xml index ecc8ffb3d79..97a4997017d 100644 --- a/xml/System.Drawing.Printing/PrinterSettings+PaperSizeCollection.xml +++ b/xml/System.Drawing.Printing/PrinterSettings+PaperSizeCollection.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> @@ -239,7 +239,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> @@ -335,7 +335,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Printing/PrinterSettings+PaperSourceCollection.xml b/xml/System.Drawing.Printing/PrinterSettings+PaperSourceCollection.xml index 4cf9cd9b7de..7d226790aeb 100644 --- a/xml/System.Drawing.Printing/PrinterSettings+PaperSourceCollection.xml +++ b/xml/System.Drawing.Printing/PrinterSettings+PaperSourceCollection.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: ]]> @@ -237,7 +237,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: ]]> @@ -333,7 +333,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Printing/PrinterSettings+PrinterResolutionCollection.xml b/xml/System.Drawing.Printing/PrinterSettings+PrinterResolutionCollection.xml index 02446432924..6927742ca51 100644 --- a/xml/System.Drawing.Printing/PrinterSettings+PrinterResolutionCollection.xml +++ b/xml/System.Drawing.Printing/PrinterSettings+PrinterResolutionCollection.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: ]]> @@ -238,7 +238,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: ]]> @@ -334,7 +334,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing.Printing/PrinterSettings.xml b/xml/System.Drawing.Printing/PrinterSettings.xml index 700d6c86f60..e3cf67ce907 100644 --- a/xml/System.Drawing.Printing/PrinterSettings.xml +++ b/xml/System.Drawing.Printing/PrinterSettings.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrinterSettings Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrinterSettings/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrinterSettings Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrinterSettings/Overview/source.vb" id="Snippet1"::: ]]> @@ -845,7 +845,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet5"::: ]]> @@ -897,7 +897,7 @@ The following example demonstrates how to use the property. To run this example, paste the following code into a form and call `PopulateInstalledPrintersCombo` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrinterSettings/IsDefaultPrinter/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Printing.PrinterSettingsEx/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrinterSettings/IsDefaultPrinter/Form1.vb" id="Snippet1"::: ]]> @@ -1085,7 +1085,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrinterSettings Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrinterSettings/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrinterSettings Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrinterSettings/Overview/source.vb" id="Snippet1"::: ]]> @@ -1329,7 +1329,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> @@ -1387,7 +1387,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: ]]> @@ -1453,7 +1453,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrinterSettings Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrinterSettings/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrinterSettings Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrinterSettings/Overview/source.vb" id="Snippet1"::: ]]> @@ -1511,7 +1511,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: ]]> @@ -1798,7 +1798,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing.Printing/QueryPageSettingsEventArgs.xml b/xml/System.Drawing.Printing/QueryPageSettingsEventArgs.xml index 904129998ac..2813257f404 100644 --- a/xml/System.Drawing.Printing/QueryPageSettingsEventArgs.xml +++ b/xml/System.Drawing.Printing/QueryPageSettingsEventArgs.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet6"::: ]]> @@ -156,7 +156,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing.Text/InstalledFontCollection.xml b/xml/System.Drawing.Text/InstalledFontCollection.xml index 02b26978fd7..ceea64cc6cf 100644 --- a/xml/System.Drawing.Text/InstalledFontCollection.xml +++ b/xml/System.Drawing.Text/InstalledFontCollection.xml @@ -55,7 +55,7 @@ The following code example is designed for use with Windows Forms, and it requires `e`, which is a parameter of the event handler. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippetinstalledfonts"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippetinstalledfonts"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippetinstalledfonts"::: ]]> diff --git a/xml/System.Drawing.Text/TextRenderingHint.xml b/xml/System.Drawing.Text/TextRenderingHint.xml index 5c380a15e20..9b929720972 100644 --- a/xml/System.Drawing.Text/TextRenderingHint.xml +++ b/xml/System.Drawing.Text/TextRenderingHint.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing/Bitmap.xml b/xml/System.Drawing/Bitmap.xml index 6630c869f8a..a032bccf22d 100644 --- a/xml/System.Drawing/Bitmap.xml +++ b/xml/System.Drawing/Bitmap.xml @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet1"::: ]]> @@ -190,7 +190,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet2"::: ]]> @@ -435,7 +435,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet1"::: ]]> @@ -488,7 +488,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BmpCtorAndSave/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BmpCtorAndSave/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form11.vb" id="Snippet1"::: ]]> @@ -671,7 +671,7 @@ The following code example shows how to use the constructor. This example is designed to be used with Windows Forms and requires a parameter, which is a parameter of the event. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippetconstructor"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippetconstructor"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippetconstructor"::: ]]> @@ -767,7 +767,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet1"::: ]]> @@ -831,7 +831,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet2"::: ]]> @@ -981,7 +981,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet3"::: ]]> @@ -1094,7 +1094,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet4"::: ]]> @@ -1156,7 +1156,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet5"::: ]]> @@ -1223,7 +1223,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet6"::: ]]> @@ -1275,7 +1275,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet7"::: ]]> @@ -1353,7 +1353,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet5"::: ]]> @@ -1481,7 +1481,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet8"::: ]]> @@ -1542,7 +1542,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet9"::: ]]> @@ -1607,7 +1607,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet10"::: ]]> @@ -1662,7 +1662,7 @@ The following example code shows how to use the method. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippetsetresolution"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippetsetresolution"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippetsetresolution"::: ]]> @@ -1716,7 +1716,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing/Brushes.xml b/xml/System.Drawing/Brushes.xml index 130e9ca5f42..18db13db016 100644 --- a/xml/System.Drawing/Brushes.xml +++ b/xml/System.Drawing/Brushes.xml @@ -58,7 +58,7 @@ The following code example demonstrates the how to use a member of the diff --git a/xml/System.Drawing/BufferedGraphics.xml b/xml/System.Drawing/BufferedGraphics.xml index 006e46b5672..a73d90f2b5e 100644 --- a/xml/System.Drawing/BufferedGraphics.xml +++ b/xml/System.Drawing/BufferedGraphics.xml @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferedGraphicsExample/CPP/bufferingtest.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Overview/bufferingtest.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferedGraphicsExample/VB/bufferingtest.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Overview/bufferingtest.vb" id="Snippet1"::: ]]> @@ -312,7 +312,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet5"::: ]]> @@ -366,7 +366,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing/BufferedGraphicsContext.xml b/xml/System.Drawing/BufferedGraphicsContext.xml index a8a8033ab69..a499d840f17 100644 --- a/xml/System.Drawing/BufferedGraphicsContext.xml +++ b/xml/System.Drawing/BufferedGraphicsContext.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet3"::: ]]> @@ -234,7 +234,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet4"::: ]]> @@ -414,7 +414,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing/BufferedGraphicsManager.xml b/xml/System.Drawing/BufferedGraphicsManager.xml index 833c1a58063..e18da441dcd 100644 --- a/xml/System.Drawing/BufferedGraphicsManager.xml +++ b/xml/System.Drawing/BufferedGraphicsManager.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/CharacterRange.xml b/xml/System.Drawing/CharacterRange.xml index 4764a157a33..0544fe9c665 100644 --- a/xml/System.Drawing/CharacterRange.xml +++ b/xml/System.Drawing/CharacterRange.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet1"::: ]]> @@ -102,7 +102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet1"::: ]]> @@ -212,7 +212,7 @@ The following example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `CharacterRangeEquality2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet2"::: ]]> @@ -405,7 +405,7 @@ The following example demonstrates how to use the operator. To run this example, paste it into a Windows Form. Handle the form's event and call the `CharacterRangeEquality1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet1"::: ]]> @@ -460,7 +460,7 @@ The following example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `CharacterRangeInequality` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing/Color.xml b/xml/System.Drawing/Color.xml index a66c10a2207..5d7b7344eee 100644 --- a/xml/System.Drawing/Color.xml +++ b/xml/System.Drawing/Color.xml @@ -126,7 +126,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -194,7 +194,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -476,7 +476,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -2429,7 +2429,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet1"::: ]]> @@ -2504,7 +2504,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet2"::: ]]> @@ -2584,7 +2584,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet3"::: ]]> @@ -2661,7 +2661,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet4"::: ]]> @@ -2735,7 +2735,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet5"::: ]]> @@ -2800,7 +2800,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -2910,7 +2910,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -3018,7 +3018,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet6"::: ]]> @@ -3127,7 +3127,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet7"::: ]]> @@ -3192,7 +3192,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet8"::: ]]> @@ -5472,7 +5472,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet4"::: ]]> @@ -5753,7 +5753,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet2"::: ]]> @@ -5825,7 +5825,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet3"::: ]]> @@ -6496,7 +6496,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -7420,7 +7420,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet9"::: ]]> @@ -7581,7 +7581,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet10"::: ]]> @@ -7635,7 +7635,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing/ColorConverter.xml b/xml/System.Drawing/ColorConverter.xml index 125876ac55a..c6b706f09ef 100644 --- a/xml/System.Drawing/ColorConverter.xml +++ b/xml/System.Drawing/ColorConverter.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Converters/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorConverter/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Converters/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorConverter/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing/ColorTranslator.xml b/xml/System.Drawing/ColorTranslator.xml index 5fb23953bff..24c893de6e5 100644 --- a/xml/System.Drawing/ColorTranslator.xml +++ b/xml/System.Drawing/ColorTranslator.xml @@ -117,7 +117,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorTranslator/FromHtml/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorTranslator/FromHtml/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb" id="Snippet2"::: ]]> @@ -237,7 +237,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorTranslator/FromHtml/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb" id="Snippet3"::: ]]> @@ -298,7 +298,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorTranslator/FromHtml/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb" id="Snippet4"::: ]]> @@ -354,7 +354,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorTranslator/FromHtml/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb" id="Snippet5"::: ]]> @@ -416,7 +416,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorTranslator/FromHtml/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing/ContentAlignment.xml b/xml/System.Drawing/ContentAlignment.xml index a48d68a670d..5e904232966 100644 --- a/xml/System.Drawing/ContentAlignment.xml +++ b/xml/System.Drawing/ContentAlignment.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Drawing/Font.xml b/xml/System.Drawing/Font.xml index f03aa79079f..6a0c3f82e78 100644 --- a/xml/System.Drawing/Font.xml +++ b/xml/System.Drawing/Font.xml @@ -100,7 +100,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.FontsExample/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb" id="Snippet1"::: ]]> @@ -157,7 +157,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet3"::: ]]> @@ -253,7 +253,7 @@ The following code example demonstrates how to use the constructor. This example is designed to be used with a Windows Form and requires a `e`, which is a parameter of the event. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippetconstructfontwithstring"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippetconstructfontwithstring"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippetconstructfontwithstring"::: ]]> @@ -309,7 +309,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet11"::: ]]> @@ -556,7 +556,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.FontsExample/cpp/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb" id="Snippet3"::: ]]> @@ -832,7 +832,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet3"::: ]]> @@ -881,7 +881,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet1"::: ]]> @@ -988,7 +988,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet2"::: ]]> @@ -1174,7 +1174,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet3"::: ]]> @@ -1550,7 +1550,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet4"::: ]]> @@ -1675,7 +1675,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet5"::: ]]> @@ -1952,7 +1952,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.FontsExample/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2058,7 +2058,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.FontsExample/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2109,7 +2109,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.FontsExample/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2209,7 +2209,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet11"::: ]]> @@ -2352,7 +2352,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet6"::: ]]> @@ -2579,7 +2579,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet7"::: ]]> @@ -2679,7 +2679,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.FontsExample/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/FontConverter.xml b/xml/System.Drawing/FontConverter.xml index 1276fdfde81..3cf9edce0bd 100644 --- a/xml/System.Drawing/FontConverter.xml +++ b/xml/System.Drawing/FontConverter.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Converters/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorConverter/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Converters/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorConverter/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing/FontFamily.xml b/xml/System.Drawing/FontFamily.xml index 7411da954bb..063ecbeff2c 100644 --- a/xml/System.Drawing/FontFamily.xml +++ b/xml/System.Drawing/FontFamily.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet1"::: ]]> @@ -317,7 +317,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet1"::: ]]> @@ -362,7 +362,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet1"::: ]]> @@ -553,7 +553,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet2"::: ]]> @@ -609,7 +609,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet3"::: ]]> @@ -670,7 +670,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet4"::: ]]> @@ -773,7 +773,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet6"::: ]]> @@ -828,7 +828,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet7"::: ]]> @@ -889,7 +889,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet8"::: ]]> @@ -945,7 +945,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet9"::: ]]> @@ -990,7 +990,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet1"::: ]]> @@ -1036,7 +1036,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Drawing/FontStyle.xml b/xml/System.Drawing/FontStyle.xml index 8e74420c548..e222bdfa17e 100644 --- a/xml/System.Drawing/FontStyle.xml +++ b/xml/System.Drawing/FontStyle.xml @@ -50,7 +50,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Drawing/Graphics.xml b/xml/System.Drawing/Graphics.xml index 6362363675c..6e54108b189 100644 --- a/xml/System.Drawing/Graphics.xml +++ b/xml/System.Drawing/Graphics.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet40"::: ]]> @@ -163,7 +163,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet1"::: ]]> @@ -245,7 +245,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet2"::: ]]> @@ -329,7 +329,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet3"::: ]]> @@ -413,7 +413,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet4"::: ]]> @@ -468,7 +468,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet5"::: ]]> @@ -524,7 +524,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet4"::: ]]> @@ -716,7 +716,7 @@ The following code example is designed for use with Windows Forms, and it requir The following example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `CopyPixels1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet4"::: ]]> @@ -776,7 +776,7 @@ The following code example is designed for use with Windows Forms, and it requir The following example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `CopyPixels2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet5"::: ]]> @@ -846,7 +846,7 @@ The following code example is designed for use with Windows Forms, and it requir The following code example demonstrates how to use the for printing a copy of the current form. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/CopyFromScreen/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.CopyFromScreen/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/CopyFromScreen/Form1.vb" id="Snippet1"::: ]]> @@ -910,7 +910,7 @@ The following code example is designed for use with Windows Forms, and it requir The following example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `CopyPixels4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet7"::: ]]> @@ -978,7 +978,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet6"::: ]]> @@ -1030,7 +1030,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet4"::: ]]> @@ -1083,7 +1083,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet4"::: ]]> @@ -1164,7 +1164,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet7"::: ]]> @@ -1237,7 +1237,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet8"::: ]]> @@ -1315,7 +1315,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet9"::: ]]> @@ -1393,7 +1393,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet10"::: ]]> @@ -1475,7 +1475,7 @@ The Bézier curve is drawn from the first point to the fourth point. The second :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet11"::: ]]> @@ -1548,7 +1548,7 @@ The Bézier spline is drawn from the first point to the fourth point. The second :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet12"::: ]]> @@ -1625,7 +1625,7 @@ The Bézier spline is drawn from the first point to the fourth point. The second :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet13"::: ]]> @@ -1707,7 +1707,7 @@ The number of points in the array should be a multiple of 3 plus 1 because the f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet14"::: ]]> @@ -1784,7 +1784,7 @@ The number of points in the array should be a multiple of 3 plus 1 because the f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet15"::: ]]> @@ -2021,7 +2021,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet16"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet16"::: ]]> @@ -2108,7 +2108,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet18"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet18"::: ]]> @@ -2289,7 +2289,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet17"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet17"::: ]]> @@ -2372,7 +2372,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet19"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet19"::: ]]> @@ -2551,7 +2551,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet20"::: ]]> @@ -2638,7 +2638,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet23"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet23"::: ]]> @@ -2817,7 +2817,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet22"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet22"::: ]]> @@ -2898,7 +2898,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet26"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet26"::: ]]> @@ -3071,7 +3071,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet24"::: ]]> @@ -3204,7 +3204,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet21"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet21"::: ]]> @@ -3294,7 +3294,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet25"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet25"::: ]]> @@ -3461,7 +3461,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet27"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet27"::: ]]> @@ -3526,7 +3526,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet28"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet28"::: ]]> @@ -3596,7 +3596,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet29"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet29"::: ]]> @@ -3666,7 +3666,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet30"::: ]]> @@ -3737,7 +3737,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet31"::: ]]> @@ -3800,7 +3800,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet32"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet32"::: ]]> @@ -3862,7 +3862,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet33"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet33"::: ]]> @@ -3969,7 +3969,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet34"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet34"::: ]]> @@ -4038,7 +4038,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet35"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet35"::: ]]> @@ -4106,7 +4106,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet40"::: ]]> @@ -4175,7 +4175,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet41"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet41"::: ]]> @@ -4243,7 +4243,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet46"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet46"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet46"::: ]]> @@ -4311,7 +4311,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet56"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet56"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet56"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet56"::: ]]> @@ -4380,7 +4380,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet58"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet58"::: ]]> @@ -4449,7 +4449,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet61"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet61"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet61"::: ]]> @@ -4533,7 +4533,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet36"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet36"::: ]]> @@ -4611,7 +4611,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet42"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet42"::: ]]> @@ -4688,7 +4688,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet47"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet47"::: ]]> @@ -4765,7 +4765,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet57"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet57"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet57"::: ]]> @@ -4866,7 +4866,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet37"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet37"::: ]]> @@ -4967,7 +4967,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet43"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet43"::: ]]> @@ -5047,7 +5047,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet59"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet59"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet59"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet59"::: ]]> @@ -5120,7 +5120,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet60"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet60"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet60"::: ]]> @@ -5200,7 +5200,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet62"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet62"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet62"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet62"::: ]]> @@ -5273,7 +5273,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet63"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet63"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet63"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet63"::: ]]> @@ -5442,7 +5442,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet38"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet38"::: ]]> @@ -5559,7 +5559,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet44"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet44"::: ]]> @@ -5672,7 +5672,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet39"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet39"::: ]]> @@ -5783,7 +5783,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet45"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet45"::: ]]> @@ -5871,7 +5871,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet48"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet48"::: ]]> @@ -5959,7 +5959,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet52"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet52"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet52"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet52"::: ]]> @@ -6064,7 +6064,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet49"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet49"::: ]]> @@ -6169,7 +6169,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet53"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet53"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet53"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet53"::: ]]> @@ -6277,7 +6277,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet50"::: ]]> @@ -6385,7 +6385,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet54"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet54"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet54"::: ]]> @@ -6495,7 +6495,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet51"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet51"::: ]]> @@ -6605,7 +6605,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet55"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet55"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet55"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet55"::: ]]> @@ -6682,7 +6682,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet64"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet64"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet64"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet64"::: ]]> @@ -6808,7 +6808,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet65"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet65"::: ]]> @@ -6921,7 +6921,7 @@ The object has a transform applied othe The following example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawImageUnscaled` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet8"::: ]]> @@ -6993,7 +6993,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet66"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet66"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet66"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet66"::: ]]> @@ -7062,7 +7062,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet67"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet67"::: ]]> @@ -7133,7 +7133,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet68"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet68"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet68"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet68"::: ]]> @@ -7204,7 +7204,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet69"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet69"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet69"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet69"::: ]]> @@ -7288,7 +7288,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet70"::: ]]> @@ -7366,7 +7366,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet71"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet71"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet71"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet71"::: ]]> @@ -7534,7 +7534,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet72"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet72"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet72"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet72"::: ]]> @@ -7620,7 +7620,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet73"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet73"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet73"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet73"::: ]]> @@ -7693,7 +7693,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet74"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet74"::: ]]> @@ -7771,7 +7771,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet75"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet75"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet75"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet75"::: ]]> @@ -7849,7 +7849,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet76"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet76"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet76"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet76"::: ]]> @@ -7932,7 +7932,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet78"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet78"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet78"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet78"::: ]]> @@ -8006,7 +8006,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet77"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet77"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet77"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet77"::: ]]> @@ -8181,7 +8181,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet79"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet79"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet79"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet79"::: ]]> @@ -8283,7 +8283,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet80"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet80"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet80"::: ]]> @@ -8352,7 +8352,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet81"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet81"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet81"::: ]]> @@ -8430,7 +8430,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet82"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet82"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet82"::: ]]> @@ -8505,7 +8505,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet83"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet83"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet83"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet83"::: ]]> @@ -8851,7 +8851,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet84"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet84"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet84"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet84"::: ]]> @@ -8947,7 +8947,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet86"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet86"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet86"::: ]]> @@ -9191,7 +9191,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet85"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet85"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet85"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet85"::: ]]> @@ -9293,7 +9293,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet87"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet87"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet87"::: ]]> @@ -9377,7 +9377,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet88"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet88"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet88"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet88"::: ]]> @@ -9527,7 +9527,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet89"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet89"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet89"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet89"::: ]]> @@ -9609,7 +9609,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet90"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet90"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet90"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet90"::: ]]> @@ -9679,7 +9679,7 @@ The object has a transform applied othe The following code example creates a form that has a as one of its private members. The method calls , which calls the form's `MetafileCallback` method for each record in the metafile. The `MetafileCallback` method calls the method. Notice that the `MetafileCallback` method receives the record data as an , but the method expects the record data to be a byte array. The call to copies the record data to a byte array so that it can be passed to . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/EnumerateMetafile/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.EnumerateMetafile/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/EnumerateMetafile/Form1.vb" id="Snippet1"::: ]]> @@ -12206,7 +12206,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet92"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet92"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet92"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet92"::: ]]> @@ -12268,7 +12268,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet91"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet91"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet91"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet91"::: ]]> @@ -12355,7 +12355,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet93"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet93"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet93"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet93"::: ]]> @@ -12440,7 +12440,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet96"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet96"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet96"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet96"::: ]]> @@ -12623,7 +12623,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet94"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet94"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet94"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet94"::: ]]> @@ -12708,7 +12708,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet97"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet97"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet97"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet97"::: ]]> @@ -12869,7 +12869,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet95"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet95"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet95"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet95"::: ]]> @@ -12949,7 +12949,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet98"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet98"::: ]]> @@ -13111,7 +13111,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet99"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet99"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet99"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet99"::: ]]> @@ -13176,7 +13176,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet100"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet100"::: ]]> @@ -13246,7 +13246,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet101"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet101"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet101"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet101"::: ]]> @@ -13316,7 +13316,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet102"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet102"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet102"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet102"::: ]]> @@ -13383,7 +13383,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet103"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet103"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet103"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet103"::: ]]> @@ -13469,7 +13469,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet104"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet104"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet104"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet104"::: ]]> @@ -13583,7 +13583,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet105"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet105"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet105"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet105"::: ]]> @@ -13661,7 +13661,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet106"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet106"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet106"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet106"::: ]]> @@ -13740,7 +13740,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet107"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet107"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet107"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet107"::: ]]> @@ -13825,7 +13825,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet109"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet109"::: ]]> @@ -13996,7 +13996,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet108"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet108"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet108"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet108"::: ]]> @@ -14068,7 +14068,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet110"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet110"::: ]]> @@ -14227,7 +14227,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet111"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet111"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet111"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet111"::: ]]> @@ -14292,7 +14292,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet112"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet112"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet112"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet112"::: ]]> @@ -14362,7 +14362,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet113"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet113"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet113"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet113"::: ]]> @@ -14432,7 +14432,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet114"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet114"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet114"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet114"::: ]]> @@ -14510,7 +14510,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet115"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet115"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet115"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet115"::: ]]> @@ -14584,7 +14584,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet116"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet116"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet116"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet116"::: ]]> @@ -14755,7 +14755,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet117"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet117"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet117"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet117"::: ]]> @@ -15041,7 +15041,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet118"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet118"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet118"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet118"::: ]]> @@ -15219,7 +15219,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet119"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet119"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet119"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet119"::: ]]> @@ -15355,7 +15355,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet120"::: ]]> @@ -15570,7 +15570,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet121"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet121"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet121"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet121"::: ]]> @@ -15649,7 +15649,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet122"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet122"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet122"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet122"::: ]]> @@ -15711,7 +15711,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet123"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet123"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet123"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet123"::: ]]> @@ -15827,7 +15827,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet124"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet124"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet124"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet124"::: ]]> @@ -15893,7 +15893,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet125"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet125"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet125"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet125"::: ]]> @@ -15963,7 +15963,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet126"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet126"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet126"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet126"::: ]]> @@ -16066,7 +16066,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet127"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet127"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet127"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet127"::: ]]> @@ -16125,7 +16125,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet128"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet128"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet128"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet128"::: ]]> @@ -16184,7 +16184,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet129"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet129"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet129"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet129"::: ]]> @@ -16243,7 +16243,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet130"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet130"::: ]]> @@ -16303,7 +16303,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet131"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet131"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet131"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet131"::: ]]> @@ -16363,7 +16363,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet133"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet133"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet133"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet133"::: ]]> @@ -16427,7 +16427,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet132"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet132"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet132"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet132"::: ]]> @@ -16491,7 +16491,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet134"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet134"::: ]]> @@ -16678,7 +16678,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet135"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet135"::: ]]> @@ -16806,7 +16806,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet136"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet136"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet136"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet136"::: ]]> @@ -16981,7 +16981,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet138"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet138"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet138"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet138"::: ]]> @@ -17066,7 +17066,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet141"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet141"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet141"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet141"::: ]]> @@ -17312,7 +17312,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet137"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet137"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet137"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet137"::: ]]> @@ -17403,7 +17403,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet139"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet139"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet139"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet139"::: ]]> @@ -17495,7 +17495,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet142"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet142"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet142"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet142"::: ]]> @@ -17649,7 +17649,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet140"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet140"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet140"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet140"::: ]]> @@ -17786,7 +17786,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet143"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet143"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet143"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet143"::: ]]> @@ -17852,7 +17852,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet144"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet144"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet144"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet144"::: ]]> @@ -17900,7 +17900,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet2"::: ]]> @@ -17953,7 +17953,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet3"::: ]]> @@ -18123,7 +18123,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet145"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet145"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet145"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet145"::: ]]> @@ -18266,7 +18266,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet146"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet146"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet146"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet146"::: ]]> @@ -18326,7 +18326,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet147"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet147"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet147"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet147"::: ]]> @@ -18396,7 +18396,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet148"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet148"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet148"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet148"::: ]]> @@ -18470,7 +18470,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet149"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet149"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet149"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet149"::: ]]> @@ -18531,7 +18531,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet150"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet150"::: ]]> @@ -18598,7 +18598,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet151"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet151"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet151"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet151"::: ]]> @@ -18676,7 +18676,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet152"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet152"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet152"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet152"::: ]]> @@ -18741,7 +18741,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet153"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet153"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet153"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet153"::: ]]> @@ -18818,7 +18818,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet154"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet154"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet154"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet154"::: ]]> @@ -18883,7 +18883,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet156"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet156"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet156"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet156"::: ]]> @@ -18946,7 +18946,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet158"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet158"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet158"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet158"::: ]]> @@ -19009,7 +19009,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet160"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet160"::: ]]> @@ -19073,7 +19073,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet155"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet155"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet155"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet155"::: ]]> @@ -19134,7 +19134,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet157"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet157"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet157"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet157"::: ]]> @@ -19193,7 +19193,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet159"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet159"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet159"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet159"::: ]]> @@ -19252,7 +19252,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet161"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet161"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet161"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet161"::: ]]> @@ -19311,7 +19311,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet162"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet162"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet162"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet162"::: ]]> @@ -19365,7 +19365,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet3"::: ]]> @@ -19417,7 +19417,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet5"::: ]]> @@ -19472,7 +19472,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet5"::: ]]> @@ -19635,7 +19635,7 @@ This is a more performant alternative to @@ -19708,7 +19708,7 @@ This is a more performant alternative to @@ -19865,7 +19865,7 @@ This is a more performant alternative to @@ -19925,7 +19925,7 @@ This is a more performant alternative to @@ -20001,7 +20001,7 @@ This is a more performant alternative to diff --git a/xml/System.Drawing/GraphicsUnit.xml b/xml/System.Drawing/GraphicsUnit.xml index 5f6c6e3c12a..fd1895958da 100644 --- a/xml/System.Drawing/GraphicsUnit.xml +++ b/xml/System.Drawing/GraphicsUnit.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/Icon.xml b/xml/System.Drawing/Icon.xml index 5cc629790ee..344fffcbbe5 100644 --- a/xml/System.Drawing/Icon.xml +++ b/xml/System.Drawing/Icon.xml @@ -108,7 +108,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet9"::: ]]> @@ -407,7 +407,7 @@ The following code example demonstrates how to use the constructor. To run this example, paste the code into a Windows Form and handle the form's event. Call the `ConstructAnIconFromAType` method from the event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet3"::: ]]> @@ -462,7 +462,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet9"::: ]]> @@ -698,7 +698,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `ExtractAssociatedIconEx` from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet2"::: ]]> @@ -893,7 +893,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet6"::: ]]> @@ -946,7 +946,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet1"::: ]]> @@ -1157,7 +1157,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Drawing/Image.xml b/xml/System.Drawing/Image.xml index 187fa78fc30..a6a87ab1b30 100644 --- a/xml/System.Drawing/Image.xml +++ b/xml/System.Drawing/Image.xml @@ -111,7 +111,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet55"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet55"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet55"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet55"::: ]]> @@ -503,7 +503,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet7"::: ]]> @@ -589,7 +589,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet2"::: ]]> @@ -944,7 +944,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet1"::: ]]> @@ -1127,7 +1127,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet7"::: ]]> @@ -1199,7 +1199,7 @@ The following code example creates and displays a thumbnail image. This delegate is never called. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippetgetthumbnail"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippetgetthumbnail"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippetgetthumbnail"::: ]]> @@ -1268,7 +1268,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1581,7 +1581,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1687,7 +1687,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet6"::: ]]> @@ -1828,7 +1828,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet3"::: ]]> @@ -1892,7 +1892,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet5"::: ]]> @@ -2000,7 +2000,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BmpCtorAndSave/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BmpCtorAndSave/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form11.vb" id="Snippet1"::: ]]> @@ -2133,7 +2133,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImagingEndcoder3/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Image/Save/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEndcoder3/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Image/Save/form1.vb" id="Snippet3"::: ]]> @@ -2341,7 +2341,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet7"::: ]]> @@ -2598,7 +2598,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/ImageAnimator.xml b/xml/System.Drawing/ImageAnimator.xml index 22b76e9138c..2b9297cf684 100644 --- a/xml/System.Drawing/ImageAnimator.xml +++ b/xml/System.Drawing/ImageAnimator.xml @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImageAnimator/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ImageAnimator/Animate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImageAnimator/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ImageAnimator/Animate/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/KnownColor.xml b/xml/System.Drawing/KnownColor.xml index 9f2998b7568..98def827575 100644 --- a/xml/System.Drawing/KnownColor.xml +++ b/xml/System.Drawing/KnownColor.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing/Pen.xml b/xml/System.Drawing/Pen.xml index ed227c2587d..3ca48f769ab 100644 --- a/xml/System.Drawing/Pen.xml +++ b/xml/System.Drawing/Pen.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet1"::: ]]> @@ -130,7 +130,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet1"::: ]]> @@ -237,7 +237,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet3"::: ]]> @@ -293,7 +293,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet3"::: ]]> @@ -435,7 +435,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet1"::: ]]> @@ -638,7 +638,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet3"::: ]]> @@ -731,7 +731,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet3"::: ]]> @@ -834,7 +834,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet1"::: ]]> @@ -881,7 +881,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet2"::: ]]> @@ -971,7 +971,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet1"::: ]]> @@ -1092,7 +1092,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet2"::: ]]> @@ -1155,7 +1155,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet3"::: ]]> @@ -1251,7 +1251,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet4"::: ]]> @@ -1329,7 +1329,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet5"::: ]]> @@ -1394,7 +1394,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet6"::: ]]> @@ -1467,7 +1467,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet7"::: ]]> @@ -1527,7 +1527,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet8"::: ]]> @@ -1579,7 +1579,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet9"::: ]]> @@ -1626,7 +1626,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet2"::: ]]> @@ -1817,7 +1817,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/Pens.xml b/xml/System.Drawing/Pens.xml index d6d70722fd6..eca6c58baf5 100644 --- a/xml/System.Drawing/Pens.xml +++ b/xml/System.Drawing/Pens.xml @@ -58,7 +58,7 @@ The following method demonstrates how to use the clas :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing/Point.xml b/xml/System.Drawing/Point.xml index 1d31ebbb233..5df0294669c 100644 --- a/xml/System.Drawing/Point.xml +++ b/xml/System.Drawing/Point.xml @@ -93,7 +93,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet1"::: ]]> @@ -158,7 +158,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet3"::: ]]> @@ -218,7 +218,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet7"::: ]]> @@ -281,7 +281,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet3"::: ]]> @@ -345,7 +345,7 @@ The following example shows how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `AddPoint` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet9"::: ]]> @@ -735,7 +735,7 @@ The following example shows how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `OffsetPoint` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet10"::: ]]> @@ -859,7 +859,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet1"::: ]]> @@ -921,7 +921,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet3"::: ]]> @@ -982,7 +982,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1043,7 +1043,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet3"::: ]]> @@ -1167,7 +1167,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Converters/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorConverter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Converters/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorConverter/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1441,7 +1441,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet3"::: ]]> @@ -1510,7 +1510,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing/PointConverter.xml b/xml/System.Drawing/PointConverter.xml index 14af5e80ce3..8b8fd330be9 100644 --- a/xml/System.Drawing/PointConverter.xml +++ b/xml/System.Drawing/PointConverter.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Converters/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorConverter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Converters/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorConverter/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/PointF.xml b/xml/System.Drawing/PointF.xml index 17b19d2090c..e45203be1c7 100644 --- a/xml/System.Drawing/PointF.xml +++ b/xml/System.Drawing/PointF.xml @@ -288,7 +288,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form. Handle the form's event and call `AddExample`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet6"::: ]]> @@ -630,7 +630,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet3"::: ]]> @@ -700,7 +700,7 @@ The following code example demonstrates how to use the operator. To run this example, paste the following code into a Windows Form. Handle the form's event and call `opAdditionExample`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet5"::: ]]> @@ -761,7 +761,7 @@ The following code example demonstrates how to use the operator. To run this example, paste the following code into a Windows Form. Handle the form's event and call `opAdditionExample`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet5"::: ]]> @@ -892,7 +892,7 @@ The following code example demonstrates how to use the operator. To run this example, paste the following code into a Windows Form. Handle the form's event and call `AddExample`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet6"::: ]]> @@ -1028,7 +1028,7 @@ The following code example demonstrates how to use the operator. To run this example, paste the following code into a Windows Form. Handle the form's event and call `opSubtractionExample`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet8"::: ]]> @@ -1159,7 +1159,7 @@ The following code example demonstrates how to use the operator. To run this example, paste the following code into a Windows Form. Handle the form's event and call `SubtractExample`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Drawing/Rectangle.xml b/xml/System.Drawing/Rectangle.xml index 70d77c0f973..ee5882e0839 100644 --- a/xml/System.Drawing/Rectangle.xml +++ b/xml/System.Drawing/Rectangle.xml @@ -104,7 +104,7 @@ The example is designed for use with Windows Forms, and it requires `e`, which is a parameter of the event handler. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Rectangle/Overview/Class1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingAPen/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Rectangle/Overview/Class1.vb" id="Snippet21"::: ]]> @@ -227,7 +227,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet2"::: ]]> @@ -483,7 +483,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet3"::: ]]> @@ -786,7 +786,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet7"::: ]]> @@ -976,7 +976,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Rectangle/Inflate/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Rectangle/Inflate/form1.vb" id="Snippet2"::: ]]> @@ -1049,7 +1049,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Rectangle/Inflate/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Rectangle/Inflate/form1.vb" id="Snippet3"::: ]]> @@ -1117,7 +1117,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Rectangle/Inflate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Rectangle/Inflate/form1.vb" id="Snippet1"::: ]]> @@ -1185,7 +1185,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1246,7 +1246,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1312,7 +1312,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1377,7 +1377,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1570,7 +1570,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet3"::: ]]> @@ -1855,7 +1855,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet5"::: ]]> @@ -2086,7 +2086,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet5"::: ]]> @@ -2152,7 +2152,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing/RectangleF.xml b/xml/System.Drawing/RectangleF.xml index 1f34668790b..32c08e691ac 100644 --- a/xml/System.Drawing/RectangleF.xml +++ b/xml/System.Drawing/RectangleF.xml @@ -168,7 +168,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet6"::: ]]> @@ -235,7 +235,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet5"::: ]]> @@ -894,7 +894,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/RectangleF/Inflate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/RectangleF/Inflate/form1.vb" id="Snippet1"::: ]]> @@ -1130,7 +1130,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/RectangleF/Inflate/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/RectangleF/Inflate/form1.vb" id="Snippet2"::: ]]> @@ -1525,7 +1525,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet6"::: ]]> @@ -2034,7 +2034,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/RectangleF/Inflate/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/RectangleF/Inflate/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing/Region.xml b/xml/System.Drawing/Region.xml index abcfafbd2cd..e9aa58b331f 100644 --- a/xml/System.Drawing/Region.xml +++ b/xml/System.Drawing/Region.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet13"::: ]]> @@ -249,7 +249,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet7"::: ]]> @@ -396,7 +396,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet1"::: ]]> @@ -502,7 +502,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet2"::: ]]> @@ -562,7 +562,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet3"::: ]]> @@ -624,7 +624,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet1"::: ]]> @@ -733,7 +733,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet1"::: ]]> @@ -839,7 +839,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet4"::: ]]> @@ -1028,7 +1028,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet5"::: ]]> @@ -1129,7 +1129,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet13"::: ]]> @@ -1326,7 +1326,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet7"::: ]]> @@ -1698,7 +1698,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet8"::: ]]> @@ -2343,7 +2343,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet7"::: ]]> @@ -2388,7 +2388,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet8"::: ]]> @@ -2486,7 +2486,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet9"::: ]]> @@ -2557,7 +2557,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet10"::: ]]> @@ -2762,7 +2762,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet11"::: ]]> @@ -2967,7 +2967,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Drawing/RotateFlipType.xml b/xml/System.Drawing/RotateFlipType.xml index a4b54d450c0..b4dcf119253 100644 --- a/xml/System.Drawing/RotateFlipType.xml +++ b/xml/System.Drawing/RotateFlipType.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing/Size.xml b/xml/System.Drawing/Size.xml index 1f35a234897..48b789c4fd5 100644 --- a/xml/System.Drawing/Size.xml +++ b/xml/System.Drawing/Size.xml @@ -200,7 +200,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet7"::: ]]> @@ -259,7 +259,7 @@ The structure is used to specify a height and width t The following code example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `AddSizes` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet11"::: ]]> @@ -714,7 +714,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet4"::: ]]> @@ -860,7 +860,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet1"::: ]]> @@ -969,7 +969,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -1257,7 +1257,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1316,7 +1316,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet5"::: ]]> @@ -1375,7 +1375,7 @@ The structure is used to specify a height and width t The following code example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `SubtractSizes` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet12"::: ]]> @@ -1487,7 +1487,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing/SizeF.xml b/xml/System.Drawing/SizeF.xml index 0ea532adfb5..28308bd6729 100644 --- a/xml/System.Drawing/SizeF.xml +++ b/xml/System.Drawing/SizeF.xml @@ -99,7 +99,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet3"::: ]]> @@ -299,7 +299,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet3"::: ]]> @@ -757,7 +757,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing/SolidBrush.xml b/xml/System.Drawing/SolidBrush.xml index 636d1a0591d..454bdc77ea6 100644 --- a/xml/System.Drawing/SolidBrush.xml +++ b/xml/System.Drawing/SolidBrush.xml @@ -49,7 +49,7 @@ The following code example adds a shadow to a @@ -97,7 +97,7 @@ The following code example adds a shadow to a diff --git a/xml/System.Drawing/StringAlignment.xml b/xml/System.Drawing/StringAlignment.xml index 5a8a3af1707..886a054cc7b 100644 --- a/xml/System.Drawing/StringAlignment.xml +++ b/xml/System.Drawing/StringAlignment.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/StringFormat.xml b/xml/System.Drawing/StringFormat.xml index a12dcd98bae..a8ec0eda7a1 100644 --- a/xml/System.Drawing/StringFormat.xml +++ b/xml/System.Drawing/StringFormat.xml @@ -171,7 +171,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet1"::: ]]> @@ -240,7 +240,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet1"::: ]]> @@ -326,7 +326,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet1"::: ]]> @@ -703,7 +703,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/StringFormat/GetTabStops/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb" id="Snippet1"::: ]]> @@ -753,7 +753,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet2"::: ]]> @@ -803,7 +803,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet1"::: ]]> @@ -861,7 +861,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/StringFormat/GetTabStops/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb" id="Snippet2"::: ]]> @@ -928,7 +928,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/StringFormat/GetTabStops/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb" id="Snippet3"::: ]]> @@ -990,7 +990,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/StringFormat/GetTabStops/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb" id="Snippet4"::: ]]> @@ -1049,7 +1049,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/StringFormat/GetTabStops/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb" id="Snippet5"::: ]]> @@ -1094,7 +1094,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing/StringFormatFlags.xml b/xml/System.Drawing/StringFormatFlags.xml index cbfca9a7bcd..fe58a74284e 100644 --- a/xml/System.Drawing/StringFormatFlags.xml +++ b/xml/System.Drawing/StringFormatFlags.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/StringTrimming.xml b/xml/System.Drawing/StringTrimming.xml index db85b4038b8..7a7c7653c50 100644 --- a/xml/System.Drawing/StringTrimming.xml +++ b/xml/System.Drawing/StringTrimming.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing/SystemBrushes.xml b/xml/System.Drawing/SystemBrushes.xml index a42d9a25356..3396ad656f7 100644 --- a/xml/System.Drawing/SystemBrushes.xml +++ b/xml/System.Drawing/SystemBrushes.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing/SystemColors.xml b/xml/System.Drawing/SystemColors.xml index fc6fb9d4233..e3c03385f83 100644 --- a/xml/System.Drawing/SystemColors.xml +++ b/xml/System.Drawing/SystemColors.xml @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing/SystemIcons.xml b/xml/System.Drawing/SystemIcons.xml index 1e38abafc1e..e3a30c00293 100644 --- a/xml/System.Drawing/SystemIcons.xml +++ b/xml/System.Drawing/SystemIcons.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/SystemPens.xml b/xml/System.Drawing/SystemPens.xml index 9b5f047db90..89f64949154 100644 --- a/xml/System.Drawing/SystemPens.xml +++ b/xml/System.Drawing/SystemPens.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet1"::: ]]> @@ -100,7 +100,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithActiveBorderPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet13"::: ]]> @@ -143,7 +143,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithActiveCaptionPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet14"::: ]]> @@ -225,7 +225,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithActiveAppWorkspacePen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet14"::: ]]> @@ -268,7 +268,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithButtonSpacePen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet16"::: ]]> @@ -316,7 +316,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithButtonHighlightPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet17"::: ]]> @@ -364,7 +364,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithButtonShadowPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet18"::: ]]> @@ -408,7 +408,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet19"::: ]]> @@ -457,7 +457,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlDarkPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet20"::: ]]> @@ -506,7 +506,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlDarkDarkPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet21"::: ]]> @@ -555,7 +555,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlLightPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet22"::: ]]> @@ -604,7 +604,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlLightLightPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet23"::: ]]> @@ -648,7 +648,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlTextPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet24"::: ]]> @@ -691,7 +691,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlDesktopPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet25"::: ]]> @@ -772,7 +772,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithGradientActiveCaptionPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet26"::: ]]> @@ -815,7 +815,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithGradientInactiveCaptionPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet27"::: ]]> @@ -864,7 +864,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithGrayTextPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet28"::: ]]> @@ -916,7 +916,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet1"::: ]]> @@ -965,7 +965,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithHighlightTextPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet30"::: ]]> @@ -1008,7 +1008,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithHotTrackPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet31"::: ]]> @@ -1051,7 +1051,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithInactiveBorderPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet32"::: ]]> @@ -1094,7 +1094,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithInactiveCaptionPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet33"::: ]]> @@ -1138,7 +1138,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithInactiveCaptionTextPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet34"::: ]]> @@ -1181,7 +1181,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithInfoPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet35"::: ]]> @@ -1225,7 +1225,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithInfoTextPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet36"::: ]]> @@ -1268,7 +1268,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithMenuPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet37"::: ]]> @@ -1311,7 +1311,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithMenuBarPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet38"::: ]]> @@ -1354,7 +1354,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithMenuHighlightPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet39"::: ]]> @@ -1398,7 +1398,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithMenuTextPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet40"::: ]]> @@ -1441,7 +1441,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithScrollBarPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet41"::: ]]> @@ -1484,7 +1484,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithWindowPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet42"::: ]]> @@ -1528,7 +1528,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithWindowFramePen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet44"::: ]]> @@ -1572,7 +1572,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithWindowText` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet45"::: ]]> diff --git a/xml/System.Drawing/TextureBrush.xml b/xml/System.Drawing/TextureBrush.xml index ca8ed998ed4..17e8b060a00 100644 --- a/xml/System.Drawing/TextureBrush.xml +++ b/xml/System.Drawing/TextureBrush.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet2"::: ]]> @@ -115,7 +115,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet2"::: ]]> @@ -449,7 +449,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet1"::: ]]> @@ -559,7 +559,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet2"::: ]]> @@ -622,7 +622,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet3"::: ]]> @@ -677,7 +677,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet4"::: ]]> @@ -746,7 +746,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet5"::: ]]> @@ -802,7 +802,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet6"::: ]]> @@ -873,7 +873,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet7"::: ]]> @@ -931,7 +931,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet8"::: ]]> @@ -1049,7 +1049,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet9"::: ]]> @@ -1107,7 +1107,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet10"::: ]]> @@ -1160,7 +1160,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing/ToolboxBitmapAttribute.xml b/xml/System.Drawing/ToolboxBitmapAttribute.xml index ebae1e750c6..9edf9b2de3f 100644 --- a/xml/System.Drawing/ToolboxBitmapAttribute.xml +++ b/xml/System.Drawing/ToolboxBitmapAttribute.xml @@ -59,7 +59,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/cpp/usercontrol1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb" id="Snippet1"::: ]]> @@ -113,7 +113,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/cpp/usercontrol1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb" id="Snippet1"::: ]]> @@ -163,7 +163,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/cpp/usercontrol1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb" id="Snippet3"::: ]]> @@ -215,7 +215,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/cpp/usercontrol1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb" id="Snippet2"::: ]]> @@ -405,7 +405,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/cpp/usercontrol1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Media/SoundPlayer.xml b/xml/System.Media/SoundPlayer.xml index 0e916ee0c77..780647161dc 100644 --- a/xml/System.Media/SoundPlayer.xml +++ b/xml/System.Media/SoundPlayer.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet1"::: ]]> @@ -346,7 +346,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet2"::: ]]> @@ -406,7 +406,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet3"::: ]]> @@ -463,7 +463,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet8"::: ]]> @@ -725,7 +725,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet5"::: ]]> @@ -790,7 +790,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet6"::: ]]> @@ -853,7 +853,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PlaySync/CPP/system.windows.forms.sound.playasync.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/PlaySync/system.windows.forms.sound.playasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PlaySync/VB/system.windows.forms.sound.playasync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/PlaySync/system.windows.forms.sound.playasync.vb" id="Snippet1"::: ]]> @@ -914,7 +914,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet2"::: ]]> @@ -966,7 +966,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet9"::: ]]> @@ -1011,7 +1011,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Media/SystemSound.xml b/xml/System.Media/SystemSound.xml index cc123412e32..fdb35441ad2 100644 --- a/xml/System.Media/SystemSound.xml +++ b/xml/System.Media/SystemSound.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemSoundsExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SystemSound/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemSoundsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SystemSound/Overview/form1.vb" id="Snippet1"::: ]]> @@ -87,7 +87,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemSoundsExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SystemSound/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemSoundsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SystemSound/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Media/SystemSounds.xml b/xml/System.Media/SystemSounds.xml index 147a827a423..9b1377fe081 100644 --- a/xml/System.Media/SystemSounds.xml +++ b/xml/System.Media/SystemSounds.xml @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemSoundsExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SystemSound/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemSoundsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SystemSound/Overview/form1.vb" id="Snippet1"::: ]]> @@ -140,7 +140,7 @@ The following code example demonstrates the use of the @@ -187,7 +187,7 @@ The following code example demonstrates the use of the @@ -234,7 +234,7 @@ The following code example demonstrates the use of the @@ -281,7 +281,7 @@ The following code example demonstrates the use of the diff --git a/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationCredentials.xml b/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationCredentials.xml index b37a4741b78..2b4e2dfbc08 100644 --- a/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationCredentials.xml +++ b/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationCredentials.xml @@ -28,7 +28,7 @@ The following example code demonstrates how to implement the method, which returns an instance of this class. In this example, the method is part of a login dialog box class. The method displays the dialog box, and then returns a instance initialized with the user-specified values. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Login.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.vb" id="Snippet210"::: ]]> @@ -78,7 +78,7 @@ The following example code demonstrates how to implement the method, which returns an instance of this class. In this example, the method is part of a login dialog box class. The method displays the dialog box, and then returns a instance initialized with the user-specified values. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Login.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.vb" id="Snippet210"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationMembershipProvider.xml b/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationMembershipProvider.xml index 77f36a936fd..7b87d95c461 100644 --- a/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationMembershipProvider.xml +++ b/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationMembershipProvider.xml @@ -38,7 +38,7 @@ The following example code demonstrates how to use this method to validate the user by using an implementation. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet306"::: ]]> @@ -668,7 +668,7 @@ The following example code demonstrates how to use this method to log out the user. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Form1.cs" id="Snippet070"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Form1.vb" id="Snippet070"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Form1.vb" id="Snippet070"::: ]]> @@ -994,7 +994,7 @@ The following example code demonstrates how to use this property to programmatically set the authentication service location. When you set the service location programmatically, you must specify the complete service URI, which will always end with "Authentication_JSON_AppService.axd". :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet301"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet301"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet301"::: ]]> @@ -1105,7 +1105,7 @@ The following example code demonstrates how to use this event to display the user name in the title bar of a form. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet305"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet305"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet305"::: ]]> @@ -1170,7 +1170,7 @@ The following example code demonstrates how to use this method to validate the user by using an implementation. This example requires that you to configure your application to use a credentials provider. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet306"::: ]]> @@ -1223,7 +1223,7 @@ The following example code demonstrates how to use this method to validate the user by using login controls in your application code. This example requires a control named `usernameTextBox`, a control named `passwordTextBox`, and a control named `rememberMeCheckBox`. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet307"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet307"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet307"::: ]]> @@ -1274,7 +1274,7 @@ The following example code demonstrates how to use this method to validate the user through an authentication service at a specified location. The user credentials are retrieved from login controls in your application code. This example requires a control named `usernameTextBox` and a control named `passwordTextBox`. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet308"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet308"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet308"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/ClientRoleProvider.xml b/xml/System.Web.ClientServices.Providers/ClientRoleProvider.xml index 739dc53dbce..996e4859358 100644 --- a/xml/System.Web.ClientServices.Providers/ClientRoleProvider.xml +++ b/xml/System.Web.ClientServices.Providers/ClientRoleProvider.xml @@ -38,7 +38,7 @@ The following example code demonstrates how to use this property to programmatically set the roles service location. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet302"::: ]]> @@ -280,7 +280,7 @@ The following example code demonstrates how to use this method to determine whether the user login has expired before testing role membership. This code assumes that all valid users are associated with one or more roles. In this case, the method will not return any roles for a previously-authenticated user whose login has expired. If the user login has expired, this code displays the login dialog box. Otherwise, it calls the method to determine whether the user is in the "manager" role. The restricted code is in a `PerformManagerTask` method, which is not provided. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet321"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet321"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet321"::: ]]> @@ -424,7 +424,7 @@ The following example code demonstrates how to access this method directly to determine whether the user is in a particular role. This code first tests whether the user login has expired. An explicit reference is required to call the method, so the same reference is used to call the method. If the user is in the "manager" role, this code calls a `PerformManagerTask` method, which is not provided. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet321"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet321"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet321"::: ]]> @@ -506,7 +506,7 @@ The following example code demonstrates how to use this method to reset the local roles cache. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet314"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet314"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet314"::: ]]> @@ -581,7 +581,7 @@ The following example code demonstrates how to use this property to programmatically set the roles service location. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet302"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/ClientSettingsProvider.xml b/xml/System.Web.ClientServices.Providers/ClientSettingsProvider.xml index 48257a30ffc..12f6cef9512 100644 --- a/xml/System.Web.ClientServices.Providers/ClientSettingsProvider.xml +++ b/xml/System.Web.ClientServices.Providers/ClientSettingsProvider.xml @@ -46,7 +46,7 @@ The following example code demonstrates how to use this event to display a list of settings that were not successfully saved. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet304"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet304"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet304"::: ]]> @@ -379,7 +379,7 @@ The following example code demonstrates how to use this property to programmatically set the Web settings service location. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet303"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet303"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet303"::: ]]> @@ -453,7 +453,7 @@ The following example code demonstrates how to use this event to display a list of settings that were not successfully saved. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet304"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet304"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet304"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/ClientWindowsAuthenticationMembershipProvider.xml b/xml/System.Web.ClientServices.Providers/ClientWindowsAuthenticationMembershipProvider.xml index e5acc9f55cb..8a9bae95594 100644 --- a/xml/System.Web.ClientServices.Providers/ClientWindowsAuthenticationMembershipProvider.xml +++ b/xml/System.Web.ClientServices.Providers/ClientWindowsAuthenticationMembershipProvider.xml @@ -34,7 +34,7 @@ The following example code demonstrates how to use this method to authenticate a user by using Windows authentication. In this example, the value of the `static` property is cast to a instance. This makes sure that a will be thrown if you accidentally test this code by using another membership provider. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet309"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet309"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet309"::: ]]> @@ -587,7 +587,7 @@ The following example code demonstrates how to use this method to log out the user. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet310"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet310"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet310"::: ]]> @@ -957,7 +957,7 @@ The following example code demonstrates how to use this method to authenticate a user by using Windows authentication. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet309"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet309"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet309"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/IClientFormsAuthenticationCredentialsProvider.xml b/xml/System.Web.ClientServices.Providers/IClientFormsAuthenticationCredentialsProvider.xml index a29b48c2eff..9868ebf64b5 100644 --- a/xml/System.Web.ClientServices.Providers/IClientFormsAuthenticationCredentialsProvider.xml +++ b/xml/System.Web.ClientServices.Providers/IClientFormsAuthenticationCredentialsProvider.xml @@ -23,7 +23,7 @@ The following example code demonstrates how to implement the method, which is the only member in this interface. In this example, the method is part of a login dialog box class. This method displays the dialog box, and then returns a instance initialized with the user-specified values. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Login.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.vb" id="Snippet210"::: ]]> @@ -65,7 +65,7 @@ The following example code demonstrates how to implement the method. In this example, the method is part of a login dialog box class. This method displays the dialog box, and then returns a instance initialized with the user-specified values. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Login.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.vb" id="Snippet210"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/SettingsSavedEventArgs.xml b/xml/System.Web.ClientServices.Providers/SettingsSavedEventArgs.xml index f358154594d..621c0fb9ddb 100644 --- a/xml/System.Web.ClientServices.Providers/SettingsSavedEventArgs.xml +++ b/xml/System.Web.ClientServices.Providers/SettingsSavedEventArgs.xml @@ -32,7 +32,7 @@ The following example code demonstrates how to use this class to display a list of settings that were not successfully saved. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet304"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet304"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet304"::: ]]> @@ -107,7 +107,7 @@ The following example code demonstrates how to use this property to display a list of settings that were not successfully saved. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet304"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet304"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet304"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/UserValidatedEventArgs.xml b/xml/System.Web.ClientServices.Providers/UserValidatedEventArgs.xml index 00c4b865a58..ba677bb7dc4 100644 --- a/xml/System.Web.ClientServices.Providers/UserValidatedEventArgs.xml +++ b/xml/System.Web.ClientServices.Providers/UserValidatedEventArgs.xml @@ -30,7 +30,7 @@ The following example code demonstrates how to use this class to display the user name in the title bar of a form. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet305"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet305"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet305"::: ]]> @@ -103,7 +103,7 @@ The following example code demonstrates how to use this property to display the user name in the title bar of a form. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet305"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet305"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet305"::: ]]> diff --git a/xml/System.Web.ClientServices/ClientFormsIdentity.xml b/xml/System.Web.ClientServices/ClientFormsIdentity.xml index 64576659841..2ea77909c2c 100644 --- a/xml/System.Web.ClientServices/ClientFormsIdentity.xml +++ b/xml/System.Web.ClientServices/ClientFormsIdentity.xml @@ -42,7 +42,7 @@ > The method is for convenience only. Because it does not have a return value, it cannot indicate whether revalidation has failed. Revalidation can fail, for example, if the user credentials have changed on the server. In this case, you might want to include code that explicitly validates users after a service call fails. For more information, see the Accessing Web Settings section in [Walkthrough: Using Client Application Services](/dotnet/framework/common-client-technologies/walkthrough-using-client-application-services). :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet315"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet315"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet315"::: ]]> @@ -168,7 +168,7 @@ The following example code demonstrates how to use this property through an reference to determine whether a user is currently authenticated for client application services. This example assumes that the application is in the default configuration where users are not required to log in again when the authentication cookie expires. Otherwise, the might indicate that the user login has expired. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet312"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet312"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet312"::: ]]> @@ -307,7 +307,7 @@ The following example code demonstrates how to use this property through an reference to determine whether a user is currently authenticated for client application services. This example assumes that the application is in the default configuration where users are not required to log in again when the authentication cookie expires. Otherwise, the might indicate that the user login has expired. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet312"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet312"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet312"::: ]]> @@ -415,7 +415,7 @@ The following example code demonstrates how to use this method to silently revalidate a user when the application leaves the offline state. In this example, a event handler updates the offline status to match the check box value. If the user sets the application to the online state, the event handler attempts to revalidate the user. However, if the authentication server is unavailable, the event handler returns the application to the offline state. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet315"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet315"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet315"::: ]]> diff --git a/xml/System.Web.ClientServices/ClientRolePrincipal.xml b/xml/System.Web.ClientServices/ClientRolePrincipal.xml index f0fa809f10d..c522a6d6c98 100644 --- a/xml/System.Web.ClientServices/ClientRolePrincipal.xml +++ b/xml/System.Web.ClientServices/ClientRolePrincipal.xml @@ -34,7 +34,7 @@ The following example code demonstrates how to use this class to display a button only when the user is in the "manager" role. This example requires a named `managerOnlyButton` with an initial property value of `false`. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet313"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet313"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet313"::: ]]> @@ -178,7 +178,7 @@ The following example code demonstrates how to use this method to display a button only when the user is in the "manager" role. This example requires a named `managerOnlyButton` with an initial property value of `false`. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet313"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet313"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet313"::: ]]> diff --git a/xml/System.Web.ClientServices/ConnectivityStatus.xml b/xml/System.Web.ClientServices/ConnectivityStatus.xml index df921b563cf..c9f98162ebd 100644 --- a/xml/System.Web.ClientServices/ConnectivityStatus.xml +++ b/xml/System.Web.ClientServices/ConnectivityStatus.xml @@ -28,7 +28,7 @@ The following example code demonstrates how to use this class to update the offline status depending on a check box value. In this example, a event handler updates the offline status. If the user sets the application to the online state, the event handler attempts to revalidate the user. However, if the authentication server is unavailable, the event handler returns the application to the offline state. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet315"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet315"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet315"::: ]]> @@ -68,7 +68,7 @@ The following example code demonstrates how to use this property to update the offline status depending on a check box value. In this example, a event handler updates the offline status. If the user sets the application to the online state, the event handler attempts to revalidate the user. However, if the authentication server is unavailable, the event handler returns the application to the offline state. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet315"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet315"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet315"::: ]]> diff --git a/xml/System.Windows.Forms.Design.Behavior/Adorner.xml b/xml/System.Windows.Forms.Design.Behavior/Adorner.xml index de1aab66ac3..f51528eeae0 100644 --- a/xml/System.Windows.Forms.Design.Behavior/Adorner.xml +++ b/xml/System.Windows.Forms.Design.Behavior/Adorner.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -106,7 +106,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -220,7 +220,7 @@ The following code example demonstrates how to enable and disable an . For a full code listing, see [How to: Extend the Appearance and Behavior of Controls in Design Mode](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171820(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.Glyph.MarginBorderAnchorGlyphs/VB/DesignerDemoControl.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.vb" id="Snippet12"::: ]]> @@ -272,7 +272,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -295,7 +295,7 @@ The following example demonstrates how to force an window to repaint. For a full code listing, see [How to: Extend the Appearance and Behavior of Controls in Design Mode](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171820(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.Glyph.MarginBorderAnchorGlyphs/VB/DesignerDemoControl.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.vb" id="Snippet13"::: ]]> @@ -340,7 +340,7 @@ The following code example demonstrates how to force an window to repaint. For a full code listing, see [How to: Extend the Appearance and Behavior of Controls in Design Mode](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171820(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.Glyph.MarginBorderAnchorGlyphs/VB/DesignerDemoControl.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Windows.Forms.Design.Behavior/Behavior.xml b/xml/System.Windows.Forms.Design.Behavior/Behavior.xml index f650bee8603..b07040892a2 100644 --- a/xml/System.Windows.Forms.Design.Behavior/Behavior.xml +++ b/xml/System.Windows.Forms.Design.Behavior/Behavior.xml @@ -59,7 +59,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -118,7 +118,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -693,7 +693,7 @@ The following code example demonstrates how to handle a double-click message. For a full code listing, see [How to: Extend the Appearance and Behavior of Controls in Design Mode](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171820(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.Glyph.MarginBorderAnchorGlyphs/VB/DesignerDemoControl.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms.Design.Behavior/BehaviorService.xml b/xml/System.Windows.Forms.Design.Behavior/BehaviorService.xml index 8607b62f3ec..82259fe7d1e 100644 --- a/xml/System.Windows.Forms.Design.Behavior/BehaviorService.xml +++ b/xml/System.Windows.Forms.Design.Behavior/BehaviorService.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -121,7 +121,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -384,7 +384,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Windows.Forms.Design.Behavior/Glyph.xml b/xml/System.Windows.Forms.Design.Behavior/Glyph.xml index bde402fa4f6..b16932cd15f 100644 --- a/xml/System.Windows.Forms.Design.Behavior/Glyph.xml +++ b/xml/System.Windows.Forms.Design.Behavior/Glyph.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -111,7 +111,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -207,7 +207,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -264,7 +264,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -320,7 +320,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms.Design/AnchorEditor.xml b/xml/System.Windows.Forms.Design/AnchorEditor.xml index e820dee6c62..10a81322adb 100644 --- a/xml/System.Windows.Forms.Design/AnchorEditor.xml +++ b/xml/System.Windows.Forms.Design/AnchorEditor.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorAttributesExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CollectionEditor/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms.Design/ControlDesigner.xml b/xml/System.Windows.Forms.Design/ControlDesigner.xml index dcbdfd3f867..677d60bff75 100644 --- a/xml/System.Windows.Forms.Design/ControlDesigner.xml +++ b/xml/System.Windows.Forms.Design/ControlDesigner.xml @@ -59,7 +59,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlDesignerExample/CPP/controldesignerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IDesignerFilter/Overview/controldesignerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlDesignerExample/VB/controldesignerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDesignerFilter/Overview/controldesignerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.Design/FileNameEditor.xml b/xml/System.Windows.Forms.Design/FileNameEditor.xml index 0814628a24c..ed99a1093ef 100644 --- a/xml/System.Windows.Forms.Design/FileNameEditor.xml +++ b/xml/System.Windows.Forms.Design/FileNameEditor.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorAttributesExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CollectionEditor/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms.Design/IUIService.xml b/xml/System.Windows.Forms.Design/IUIService.xml index fec13936634..5cfb7e66312 100644 --- a/xml/System.Windows.Forms.Design/IUIService.xml +++ b/xml/System.Windows.Forms.Design/IUIService.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet1"::: ]]> @@ -248,7 +248,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet4"::: ]]> @@ -386,7 +386,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet3"::: ]]> @@ -443,7 +443,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet2"::: ]]> @@ -493,7 +493,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet2"::: ]]> @@ -546,7 +546,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet2"::: ]]> @@ -593,7 +593,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet5"::: ]]> @@ -641,7 +641,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic IUIService.Styles Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design/IUIService/Styles/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic IUIService.Styles Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design/IUIService/Styles/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.Design/IWindowsFormsEditorService.xml b/xml/System.Windows.Forms.Design/IWindowsFormsEditorService.xml index 7389d1af546..b57fcf8005f 100644 --- a/xml/System.Windows.Forms.Design/IWindowsFormsEditorService.xml +++ b/xml/System.Windows.Forms.Design/IWindowsFormsEditorService.xml @@ -36,13 +36,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/WinFormsEditorServiceDialogExample/CPP/winformsedserviceeditordialogexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordialogexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WinFormsEditorServiceDialogExample/VB/winformsedserviceeditordialogexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordialogexample.vb" id="Snippet1"::: The following example provides an example that uses an to display a drop-down for user input. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/WinFormsEditorServiceDropDownExample/CPP/winformsedserviceeditordropdownexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordropdownexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WinFormsEditorServiceDropDownExample/VB/winformsedserviceeditordropdownexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordropdownexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.Design/ParentControlDesigner.xml b/xml/System.Windows.Forms.Design/ParentControlDesigner.xml index 108d2b2c693..fdbbb78920c 100644 --- a/xml/System.Windows.Forms.Design/ParentControlDesigner.xml +++ b/xml/System.Windows.Forms.Design/ParentControlDesigner.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxUserExample/CPP/samplecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.Layout/LayoutEngine.xml b/xml/System.Windows.Forms.Layout/LayoutEngine.xml index 4ed1d73e14b..98a5832d04c 100644 --- a/xml/System.Windows.Forms.Layout/LayoutEngine.xml +++ b/xml/System.Windows.Forms.Layout/LayoutEngine.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Layout.LayoutEngine/cpp/DemoFlowLayout.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Layout/LayoutEngine/Overview/DemoFlowLayout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Layout.LayoutEngine/VB/DemoFlowLayout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Layout/LayoutEngine/Overview/DemoFlowLayout.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Layout.LayoutEngine/cpp/DemoFlowLayout.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Layout/LayoutEngine/Overview/DemoFlowLayout.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Layout.LayoutEngine/VB/DemoFlowLayout.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Layout/LayoutEngine/Overview/DemoFlowLayout.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox.xml index c6ebb800f14..25a1c32639e 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet14"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox8` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet21"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet19"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet18"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox7` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet20"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox12` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet25"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox10` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet23"::: ]]> @@ -343,7 +343,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox9` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet22"::: ]]> @@ -386,7 +386,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox11` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet24"::: ]]> @@ -429,7 +429,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet17"::: ]]> @@ -472,7 +472,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet15"::: ]]> @@ -515,7 +515,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet14"::: ]]> @@ -558,7 +558,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet16"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+GroupBox.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+GroupBox.xml index 960aa7da396..3b509d1ffcf 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+GroupBox.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+GroupBox.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_GroupBox1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet26"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_GroupBox2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet27"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_GroupBox1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet26"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+PushButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+PushButton.xml index 83eb6e11ac8..8afa555b255 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+PushButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+PushButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+RadioButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+RadioButton.xml index 1e287ac6d1b..5e3a6668fc0 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+RadioButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+RadioButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton8` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton7` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -378,7 +378,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+UserButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+UserButton.xml index 82fa5285d38..7d92a77a75f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+UserButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+UserButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_UserButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet28"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet28"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ComboBox+DropDownButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ComboBox+DropDownButton.xml index 63718ce7b95..57f6bf7d2c5 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ComboBox+DropDownButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ComboBox+DropDownButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_DropDownButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet30"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_DropDownButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet32"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_DropDownButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet30"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_DropDownButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet29"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_DropDownButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet31"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderBackground.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderBackground.xml index a410251bb31..605881c251b 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderBackground.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderBackground.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet137"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet137"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet137"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet137"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet137"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet137"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderClose.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderClose.xml index 66157b3c84e..dadf8b870c2 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderClose.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderClose.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderClose1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet138"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet138"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet138"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderClose2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet139"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet139"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet139"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderClose1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet138"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet138"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet138"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderClose3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet140"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet140"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet140"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderPin.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderPin.xml index f58086d0c9f..0a21f53adc9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderPin.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderPin.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet141"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet141"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet141"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet142"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet142"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet142"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet141"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet141"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet141"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet143"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet143"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet143"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet145"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet145"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet145"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet144"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet144"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet144"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet146"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet146"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet146"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+IEBarMenu.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+IEBarMenu.xml index cabe01bd015..aa709498a31 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+IEBarMenu.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+IEBarMenu.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarIEBarMenu1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet147"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet147"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet147"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarIEBarMenu2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet148"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet148"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet148"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarIEBarMenu1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet147"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet147"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet147"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarIEBarMenu3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet149"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet149"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet149"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupBackground.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupBackground.xml index f0f25756442..3bfcce7703f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupBackground.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupBackground.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet150"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet150"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupCollapse.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupCollapse.xml index ab5a67bb382..d34d1cf999d 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupCollapse.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupCollapse.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupCollapse1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet151"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet151"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet151"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupCollapse2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet152"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet152"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet152"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupCollapse1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet151"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet151"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet151"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupCollapse3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet153"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet153"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet153"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupExpand.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupExpand.xml index c2bf0394089..0b9cb667cff 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupExpand.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupExpand.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupExpand1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet154"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet154"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet154"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupExpand2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet155"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet155"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet155"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupExpand1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet154"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet154"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet154"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupExpand3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet156"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet156"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet156"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupHead.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupHead.xml index 245f0eb3ff6..27df43500c9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupHead.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupHead.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupHead1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet157"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet157"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet157"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupHead1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet157"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet157"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet157"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupBackground.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupBackground.xml index 14d7f9f6a9d..d1b2a7f8dcc 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupBackground.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupBackground.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet158"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet158"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet158"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet158"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet158"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet158"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupCollapse.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupCollapse.xml index 07895d6c76b..cab32b22cc8 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupCollapse.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupCollapse.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupCollapse1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet159"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet159"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet159"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupCollapse2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet160"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupCollapse1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet159"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet159"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet159"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupCollapse3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet161"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet161"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet161"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupExpand.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupExpand.xml index 729bf2409b5..c9b4fcb41c4 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupExpand.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupExpand.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupExpand1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet162"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet162"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet162"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupExpand2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet163"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet163"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet163"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupExpand1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet162"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet162"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet162"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupExpand3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet164"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet164"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet164"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupHead.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupHead.xml index 1132484ea98..22fb9a3b0bf 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupHead.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupHead.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupHead1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet165"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet165"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet165"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupHead1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet165"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet165"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet165"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+Item.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+Item.xml index a29e9fb4277..007b7f21c8a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+Item.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+Item.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet166"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet166"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet166"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItem2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet167"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet167"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet167"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet166"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet166"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet166"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItem3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet168"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet168"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet168"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemLeft.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemLeft.xml index 44c647da814..33f55add3bd 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemLeft.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemLeft.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet169"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet169"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet169"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemLeft2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet170"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet170"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet170"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet169"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet169"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet169"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemLeft3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet171"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet171"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet171"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemRight.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemRight.xml index ca4a52bafde..429ccbc9356 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemRight.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemRight.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet172"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet172"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet172"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemRight2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet173"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet173"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet173"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet172"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet172"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet172"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemRight3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet174"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet174"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet174"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+SortArrow.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+SortArrow.xml index 1631764d0df..a421b540908 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+SortArrow.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+SortArrow.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderSortArrow2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet176"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet176"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet176"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderSortArrow2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet176"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet176"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet176"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderSortArrow1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet175"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet175"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet175"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Detail.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Detail.xml index df0abe1cea2..d3d352e2499 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Detail.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Detail.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewDetail1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet183"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet183"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet183"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewDetail1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet183"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet183"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet183"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+EmptyText.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+EmptyText.xml index 80f7825b633..ca204b6e6d1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+EmptyText.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+EmptyText.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewEmptyText1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet185"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet185"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet185"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewEmptyText1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet185"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet185"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet185"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Group.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Group.xml index 321d607a5c8..913905e70dd 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Group.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Group.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewGroup1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet182"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet182"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet182"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewGroup1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet182"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet182"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet182"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Item.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Item.xml index fb431b02fdb..dddf3fdcb5c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Item.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Item.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet177"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet177"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet177"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewItem4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet180"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewItem2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet178"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet178"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet178"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet177"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet177"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet177"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewItem3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet179"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet179"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet179"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewItem5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet181"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet181"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet181"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+SortedDetail.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+SortedDetail.xml index 781c405da52..3eee82dfd2c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+SortedDetail.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+SortedDetail.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewSortedDetail1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet184"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet184"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet184"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewSortedDetail1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet184"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet184"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet184"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarDropDown.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarDropDown.xml index 4684705813a..92266c0fce3 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarDropDown.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarDropDown.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBarDropDown1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet198"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet198"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet198"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBarDropDown1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet198"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet198"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet198"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarItem.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarItem.xml index eb633349551..69cf7b1a38e 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarItem.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarItem.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBarItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet197"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet197"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet197"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBarItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet197"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet197"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet197"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Chevron.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Chevron.xml index 7b54c5eaf4d..3826304bd11 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Chevron.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Chevron.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuChevron1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet199"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet199"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet199"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuChevron1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet199"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet199"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet199"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+DropDown.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+DropDown.xml index 55317105961..33712655e60 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+DropDown.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+DropDown.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuDropDown1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet196"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet196"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet196"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuDropDown1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet196"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet196"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet196"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Item.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Item.xml index d92b50c7f34..06920fca6a1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Item.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Item.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet193"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet193"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet193"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuItem3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet195"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet195"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet195"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet193"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet193"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet193"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuItem2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet194"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet194"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet194"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Separator.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Separator.xml index 85101e74f1e..f1e948494d6 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Separator.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Separator.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet200"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet200"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+NewApplicationButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+NewApplicationButton.xml index afbbb5d481b..64f5501eb13 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+NewApplicationButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+NewApplicationButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandNewApplicationButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet186"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet186"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet186"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandNewApplicationButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet190"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet190"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet190"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandNewApplicationButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet189"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet189"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet189"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandNewApplicationButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet191"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet191"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet191"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandNewApplicationButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet186"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet186"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet186"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandNewApplicationButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet188"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet188"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet188"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+Separator.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+Separator.xml index b507b5f537c..63d293af98c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+Separator.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+Separator.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet192"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet192"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet192"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet192"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet192"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet192"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Down.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Down.xml index 28f6c9d8e7b..cce2c9e320f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Down.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Down.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Down1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet37"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Down4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet40"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Down2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet38"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Down1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet37"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Down3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet39"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+DownHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+DownHorizontal.xml index b964a5d2626..348a1ba0645 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+DownHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+DownHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_DownHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet45"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_DownHorizontal4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet48"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_DownHorizontal2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet46"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet46"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_DownHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet45"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_DownHorizontal3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet47"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Up.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Up.xml index e0a54af334f..c5bbb843eaa 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Up.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Up.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Up1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet33"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Up4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet36"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Up1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet34"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Up1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet33"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Up3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet35"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+UpHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+UpHorizontal.xml index 78eb3f35c0c..b023ac0b1d8 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+UpHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+UpHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_UpHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet41"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_UpHorizontal4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet44"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_UpHorizontal2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet42"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_UpHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet41"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_UpHorizontal3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet43"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Bar.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Bar.xml index 9ec79bdd77b..dced4877ae7 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Bar.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Bar.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarBar1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet201"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet201"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet201"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarBar1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet201"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet201"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet201"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+BarVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+BarVertical.xml index aea82d36ba3..b3c258f929d 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+BarVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+BarVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarBarVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet202"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet202"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet202"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarBarVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet202"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet202"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet202"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Chunk.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Chunk.xml index f8d8a939c7d..48b8795553b 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Chunk.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Chunk.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarChunk1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet203"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet203"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet203"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarChunk1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet203"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet203"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet203"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+ChunkVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+ChunkVertical.xml index 65d3c2bfa90..e8d54aaad1b 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+ChunkVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+ChunkVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarChunkVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet204"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet204"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet204"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarChunkVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet204"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet204"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet204"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Band.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Band.xml index f26dec44e80..cc7c079e4b1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Band.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Band.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarBand1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet207"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet207"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet207"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarBand1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet207"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet207"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet207"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Chevron.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Chevron.xml index d2a6186de3c..d992f5686ba 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Chevron.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Chevron.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevron1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet208"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet208"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet208"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevron2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet209"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet209"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet209"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevron1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet208"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet208"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet208"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevron3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet210"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+ChevronVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+ChevronVertical.xml index 3fab6aea6f0..3a7beeeb3e3 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+ChevronVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+ChevronVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevronVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet211"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet211"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet211"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevronVertical2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet212"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet212"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet212"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevronVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet211"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet211"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet211"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevronVertical3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet213"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet213"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet213"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Gripper.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Gripper.xml index 45d86ea0e14..1a71dae0643 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Gripper.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Gripper.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarGripper1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet205"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet205"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet205"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarGripper1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet205"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet205"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet205"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+GripperVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+GripperVertical.xml index e09e849ecf4..246e870a929 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+GripperVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+GripperVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarGripperVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet206"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet206"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet206"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ArrowButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ArrowButton.xml index 02fe9ab5bef..0a240636cf7 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ArrowButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ArrowButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet65"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton8` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet72"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet72"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet72"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet70"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet69"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet69"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet69"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton7` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet71"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet71"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet71"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton12` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet76"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet76"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet76"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton10` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet74"::: ]]> @@ -343,7 +343,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton9` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet73"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet73"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet73"::: ]]> @@ -386,7 +386,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton11` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet75"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet75"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet75"::: ]]> @@ -429,7 +429,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton16` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet80"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet80"::: ]]> @@ -472,7 +472,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton14` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet78"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet78"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet78"::: ]]> @@ -515,7 +515,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton13` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet77"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet77"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet77"::: ]]> @@ -558,7 +558,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton15` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet79"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet79"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet79"::: ]]> @@ -601,7 +601,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet68"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet68"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet68"::: ]]> @@ -644,7 +644,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet66"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet66"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet66"::: ]]> @@ -687,7 +687,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet65"::: ]]> @@ -730,7 +730,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementArrowButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet67"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperHorizontal.xml index 9746049e113..466c134e17f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarGripperHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet105"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet105"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet105"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarGripperHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet105"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet105"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet105"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperVertical.xml index 283d5c592c4..5d822b3ab28 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarGripperVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet106"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet106"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet106"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarGripperVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet106"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet106"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet106"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LeftTrackHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LeftTrackHorizontal.xml index da478272d54..885c5ad8879 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LeftTrackHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LeftTrackHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLeftTrackHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet93"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet93"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet93"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLeftTrackHorizontal4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet96"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet96"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet96"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLeftTrackHorizontal2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet94"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet94"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet94"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLeftTrackHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet93"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet93"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet93"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLeftTrackHorizonta13` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet95"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet95"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet95"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LowerTrackVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LowerTrackVertical.xml index 11853137383..84e9b2ae69f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LowerTrackVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LowerTrackVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLowerTrackVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet97"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet97"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet97"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLowerTrackVertical4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet100"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLowerTrackVertical2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet98"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLowerTrackVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet97"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet97"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet97"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLowerTrackVertical3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet99"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet99"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet99"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+RightTrackHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+RightTrackHorizontal.xml index 86e37b0e3c4..32528e39629 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+RightTrackHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+RightTrackHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarRightTrackHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet89"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet89"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet89"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarRightTrackHorizontal4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet92"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet92"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet92"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarRightTrackHorizontal2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet90"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet90"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet90"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarRightTrackHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet89"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet89"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet89"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarRightTrackHorizontal3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet91"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet91"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet91"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+SizeBox.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+SizeBox.xml index 527bf20de54..13d23f930ae 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+SizeBox.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+SizeBox.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarSizeBox1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet107"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet107"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet107"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarSizeBox2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet108"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet108"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet108"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarSizeBox1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet107"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet107"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet107"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonHorizontal.xml index 1627ae4f5ac..b6fe174548b 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet81"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet81"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonHorizontal4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet84"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet84"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet84"::: ]]> @@ -129,7 +129,7 @@ The following example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonHorizontal2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet82"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet82"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet82"::: ]]> @@ -172,7 +172,7 @@ The following example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet81"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet81"::: ]]> @@ -215,7 +215,7 @@ The following example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonHorizontal3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet83"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet83"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet83"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonVertical.xml index 7c71c94bbc4..54ae78be588 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet85"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet85"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet85"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonVertical4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet88"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet88"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet88"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonVertical2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet86"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet86"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet85"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet85"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet85"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonVertical3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet87"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet87"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+UpperTrackVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+UpperTrackVertical.xml index 64d12b23779..a53e795c209 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+UpperTrackVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+UpperTrackVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarUpperTrackVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet101"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet101"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet101"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarUpperTrackVertical4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet104"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet104"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet104"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarUpperTrackVertical2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet102"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet102"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet102"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarUpperTrackVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet101"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet101"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet101"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarUpperTrackVertical3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet103"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet103"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet103"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Down.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Down.xml index 374026f5b57..5db81e17f8c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Down.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Down.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Down1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet53"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet53"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet53"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Down4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet56"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet56"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet56"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Down2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet54"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet54"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Down1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet53"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet53"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet53"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Down3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet55"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet55"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet55"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+DownHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+DownHorizontal.xml index 2dd720fe0ce..53893582385 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+DownHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+DownHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_DownHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet61"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet61"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet64"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet64"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet64"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet62"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet62"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet62"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_DownHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet61"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet61"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet63"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet63"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet63"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Up.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Up.xml index 43a59da613e..1d2f3de91a5 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Up.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Up.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Up1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet49"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Up4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet52"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet52"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet52"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Up2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet50"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Up1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet49"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Up3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet51"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+UpHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+UpHorizontal.xml index 0d3c317ba11..feaf7ce4924 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+UpHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+UpHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_UpHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet57"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet57"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet60"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet60"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet58"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_UpHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet57"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet57"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet59"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet59"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet59"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOff.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOff.xml index 7618c6a5101..952d15c70bb 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOff.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOff.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelLogOff1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet223"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet223"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet223"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelLogOff1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet223"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet223"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet223"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOffButtons.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOffButtons.xml index b0df646428f..f1dc4433768 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOffButtons.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOffButtons.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelLogOffButtons1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet224"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet224"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet224"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelLogOffButtons2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet225"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet225"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet225"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelLogOffButtons1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet224"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet224"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet224"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelLogOffButtons3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet226"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet226"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet226"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MorePrograms.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MorePrograms.xml index 0eb5748f95f..a788ff2064e 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MorePrograms.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MorePrograms.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelMorePrograms1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet215"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet215"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet215"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelMorePrograms1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet215"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet215"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet215"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MoreProgramsArrow.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MoreProgramsArrow.xml index b2c63efb392..a8fb3df9066 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MoreProgramsArrow.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MoreProgramsArrow.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelMoreProgramsArrow1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet216"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet216"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet216"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelMoreProgramsArrow2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet217"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet217"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet217"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelMoreProgramsArrow1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet216"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet216"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet216"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelMoreProgramsArrow3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet218"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet218"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet218"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceList.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceList.xml index 24dfc0501dc..c5427e58a8c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceList.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceList.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelPlaceList1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet221"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet221"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet221"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelPlaceList1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet221"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet221"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet221"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceListSeparator.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceListSeparator.xml index d9b58e986ef..6959d968b24 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceListSeparator.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceListSeparator.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelPlaceListSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet222"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet222"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet222"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelPlaceListSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet222"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet222"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet222"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+Preview.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+Preview.xml index 022b7ff413f..7e91f5e74bb 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+Preview.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+Preview.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelPreview1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet228"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet228"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet228"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelPreview1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet228"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet228"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet228"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgList.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgList.xml index bf05892eec6..5705735f1d8 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgList.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgList.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelProgList1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet219"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet219"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet219"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelProgList1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet219"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet219"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet219"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgListSeparator.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgListSeparator.xml index bf5105d71f5..6a2ec4d5278 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgListSeparator.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgListSeparator.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelProgListSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet220"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelProgListSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet220"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPane.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPane.xml index b0924f3ab8f..cffde92161d 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPane.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPane.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelUserPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet214"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet214"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet214"::: ]]> @@ -80,7 +80,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelUserPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet214"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet214"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet214"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPicture.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPicture.xml index ec1e19100a1..ec9d924a259 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPicture.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPicture.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelUserPicture1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet227"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet227"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet227"::: ]]> @@ -80,7 +80,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelUserPicture1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet227"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet227"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet227"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Bar.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Bar.xml index 9db7a73ed07..1197cba226b 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Bar.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Bar.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusBar1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet229"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet229"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet229"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusBar1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet229"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet229"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet229"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Gripper.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Gripper.xml index d2a6b715da3..f912ae2deb1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Gripper.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Gripper.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusGripper1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet232"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet232"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet232"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusGripper1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet232"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet232"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet232"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+GripperPane.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+GripperPane.xml index 233ea9cdd6a..e45ac7e68f5 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+GripperPane.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+GripperPane.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusGripperPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet231"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet231"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet231"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusGripperPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet231"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet231"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet231"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Pane.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Pane.xml index a1a5034db34..8008dbe6a86 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Pane.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Pane.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet230"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet230"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet230"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet230"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet230"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet230"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Body.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Body.xml index 46b0067f51c..79d310e9297 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Body.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Body.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabBody1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet136"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet136"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet136"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabBody1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet136"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet136"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet136"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Pane.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Pane.xml index 382f33d00b0..04ba3cfb74c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Pane.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Pane.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet135"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet135"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItem.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItem.xml index 4047a0ac5ac..0837edd27eb 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItem.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItem.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet109"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet112"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet112"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet112"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItem2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet110"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet109"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItem3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet111"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet111"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet111"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemBothEdges.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemBothEdges.xml index f053b472c9e..86545fa5217 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemBothEdges.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemBothEdges.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemBothEdges1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet121"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet121"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet121"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemBothEdges1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet121"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet121"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet121"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemLeftEdge.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemLeftEdge.xml index e8c80cfd5e1..01f0103a89c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemLeftEdge.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemLeftEdge.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemLeftEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet113"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet113"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet113"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemLeftEdge4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet116"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet116"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet116"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemLeftEdge2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet114"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet114"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet114"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemLeftEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet113"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet113"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet113"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemLeftEdge3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet115"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet115"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet115"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemRightEdge.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemRightEdge.xml index 1c69a77cb4c..3a16857f296 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemRightEdge.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemRightEdge.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemRightEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet117"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet117"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet117"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet120"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemRightEdge2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet118"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet118"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet118"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemRightEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet117"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet117"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet117"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemRightEdge3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet119"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet119"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet119"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItem.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItem.xml index 06430910f14..01a184faffe 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItem.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItem.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet122"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet122"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet122"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItem4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet125"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet125"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet125"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItem2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet123"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet123"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet123"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet122"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet122"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet122"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItem3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet124"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet124"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet124"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemBothEdges.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemBothEdges.xml index 7fe0b4a31fb..1c92c902208 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemBothEdges.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemBothEdges.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemBothEdges1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet134"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemBothEdges1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet134"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemLeftEdge.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemLeftEdge.xml index 843af1dfc1b..089a7fdefdd 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemLeftEdge.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemLeftEdge.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemLeftEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet126"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet126"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet126"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemLeftEdge4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet129"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet129"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet129"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemLeftEdge2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet127"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet127"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet127"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemLeftEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet126"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet126"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet126"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemLeftEdge3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet128"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet128"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet128"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemRightEdge.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemRightEdge.xml index c2291b1f29e..b87fec9e18a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemRightEdge.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemRightEdge.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemRightEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet130"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemRightEdge4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet133"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet133"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet133"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemRightEdge2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet131"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet131"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet131"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemRightEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet130"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemRightEdge3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet132"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet132"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet132"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButton.xml index d8009848253..0563fef8a96 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskBandFlashButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet234"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet234"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet234"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskBandFlashButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet234"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet234"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet234"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButtonGroupMenu.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButtonGroupMenu.xml index 168c7bae594..43106ed08eb 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButtonGroupMenu.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButtonGroupMenu.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskBandFlashButtonGroupMenu1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskBandFlashButtonGroupMenu1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+GroupCount.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+GroupCount.xml index d1cff93787d..21659ac13b0 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+GroupCount.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+GroupCount.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskBandGroupCount1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet233"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet233"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet233"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskBandGroupCount1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet233"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet233"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet233"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundBottom.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundBottom.xml index 18a5c852bf7..c8ad2c54a41 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundBottom.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundBottom.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundBotton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet237"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet237"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet237"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundBotton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet237"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet237"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet237"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundLeft.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundLeft.xml index d48fe3cdd66..1b628a8f630 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundLeft.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundLeft.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet240"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet240"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet240"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet240"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet240"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet240"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundRight.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundRight.xml index 7996b0c54a5..150b726eec9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundRight.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundRight.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet238"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet238"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet238"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet238"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet238"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet238"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundTop.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundTop.xml index 56aa76c98b5..7a2d78e4fc1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundTop.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundTop.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundTop1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet239"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet239"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet239"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundTop1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet239"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet239"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet239"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarBottom.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarBottom.xml index addf1ad95a0..d0f922040ce 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarBottom.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarBottom.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarSizingBarBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet241"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet241"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet241"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarSizingBarBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet241"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet241"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet241"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarLeft.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarLeft.xml index 81dfcb874bf..8b3aa9a0d5c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarLeft.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarLeft.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarSizingBarLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet244"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet244"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet244"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarSizingBarLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet244"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet244"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet244"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarRight.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarRight.xml index 9fcbb950913..08b133263c9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarRight.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarRight.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementSizingBarRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet242"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet242"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet242"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementSizingBarRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet242"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet242"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet242"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarTop.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarTop.xml index 20e2bb4065b..00a5be64263 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarTop.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarTop.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarSizingBarTop1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet243"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet243"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet243"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarSizingBarTop1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet243"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet243"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet243"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskbarClock+Time.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskbarClock+Time.xml index 4dd7fff79e5..1a8fd7da248 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskbarClock+Time.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskbarClock+Time.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarClockTime1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet236"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet236"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet236"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarClockTime1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet236"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet236"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet236"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+Caret.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+Caret.xml index 2361ac49f3d..20e8f602658 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+Caret.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+Caret.xml @@ -77,7 +77,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxCaret1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet330"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet330"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet330"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+TextEdit.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+TextEdit.xml index f3828df4b81..99044bde92f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+TextEdit.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+TextEdit.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet326"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet326"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet326"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit7` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet329"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet329"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet329"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet326"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet326"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet326"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet327"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet327"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet327"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet324"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet324"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet324"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet323"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet323"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet323"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet328"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet328"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet328"::: ]]> @@ -343,7 +343,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet325"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet325"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet325"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+Button.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+Button.xml index 2a3feed1b52..f55b5037e9a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+Button.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+Button.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet246"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet246"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet246"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet250"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet250"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet250"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet249"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet249"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet249"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet247"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet247"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet247"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet251"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet251"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet251"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet246"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet246"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet246"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet248"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet248"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet248"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+DropDownButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+DropDownButton.xml index 88ea54bd8d2..39f214f95c7 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+DropDownButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+DropDownButton.xml @@ -77,7 +77,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarDropDownButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet256"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet256"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet256"::: ]]> @@ -120,7 +120,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarDropDownButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet255"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet255"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet255"::: ]]> @@ -163,7 +163,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarDropDownButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet253"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet253"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet253"::: ]]> @@ -206,7 +206,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarDropDownButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet257"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet257"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet257"::: ]]> @@ -249,7 +249,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarDropDownButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet252"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet252"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet252"::: ]]> @@ -292,7 +292,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarDropDownButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet254"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet254"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet254"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorHorizontal.xml index 118daae61d1..41f75d31924 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSeparatorHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet270"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet270"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet270"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSeparatorHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet270"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet270"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet270"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorVertical.xml index 309d49929ff..70c7580c47e 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSeparatorVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet271"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet271"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet271"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSeparatorVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet271"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet271"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet271"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButton.xml index 57da86826cd..f6ae6d16eed 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet263"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet263"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet263"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet262"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet262"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet262"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet261"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet261"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet261"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet259"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet259"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet259"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet263"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet263"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet263"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet258"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet258"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet258"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet260"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet260"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet260"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButtonDropDown.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButtonDropDown.xml index aba1ee11e99..437d3e17bfa 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButtonDropDown.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButtonDropDown.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet269"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet269"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet269"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet268"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet268"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet268"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet267"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet267"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet267"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet265"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet265"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet265"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet269"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet269"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet269"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet264"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet264"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet264"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet266"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet266"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet266"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Balloon.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Balloon.xml index 78911ea0457..1df3a6bf59c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Balloon.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Balloon.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipBalloon2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet276"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet276"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet276"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipBalloon2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet276"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet276"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet276"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipBalloon1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet275"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet275"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet275"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+BalloonTitle.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+BalloonTitle.xml index a782ec3b2a3..30c39d5b795 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+BalloonTitle.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+BalloonTitle.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipBalloonTitle1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet277"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet277"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet277"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipBalloonTitle1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet277"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet277"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet277"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Close.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Close.xml index a6b34f5be21..283065d6456 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Close.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Close.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipClose2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet279"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet279"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet279"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipClose2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet279"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet279"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet279"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipClose1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet278"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet278"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet278"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipClose3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet280"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet280"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet280"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Standard.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Standard.xml index c8805cb8033..8e5d4f6959a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Standard.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Standard.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipStandard2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet273"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet273"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet273"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipStandard2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet273"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet273"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet273"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipStandard1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet272"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet272"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet272"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+StandardTitle.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+StandardTitle.xml index 34be3116383..7cbbcad5294 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+StandardTitle.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+StandardTitle.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipStandardTitle1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet274"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet274"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet274"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipStandardTitle1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet274"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet274"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet274"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Thumb.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Thumb.xml index 2534fe85406..5d2de5bd64f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Thumb.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Thumb.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumb5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet287"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet287"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet287"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumb5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet287"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet287"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet287"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumb4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet286"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet286"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet286"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumb2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet284"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet284"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet284"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumb1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet283"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet283"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet283"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumb3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet285"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet285"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet285"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbBottom.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbBottom.xml index e33e6a60bc5..a28a48c16a2 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbBottom.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbBottom.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbBottom5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet292"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet292"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet292"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbBottom5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet292"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet292"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet292"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbBottom4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet291"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet291"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet291"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbBottom2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet289"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet289"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet289"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet288"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet288"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet288"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbBottom3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet290"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet290"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet290"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbLeft.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbLeft.xml index b46a494e23c..7ec556a41d7 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbLeft.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbLeft.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet303"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet303"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet303"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbLeft5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet307"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet307"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet307"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbLeft4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet306"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbLeft2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet304"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet304"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet304"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet303"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet303"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet303"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbLeft3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet305"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet305"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet305"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbRight.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbRight.xml index 70b23ac9a27..1974a4e0d4e 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbRight.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbRight.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet308"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet308"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet308"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbRight5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet312"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet312"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet312"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbRight4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet311"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet311"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet311"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbRight2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet309"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet309"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet309"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet308"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet308"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet308"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbRight3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet310"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet310"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet310"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbTop.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbTop.xml index db839917e1a..eb00717d7ce 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbTop.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbTop.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbTop5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet297"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet297"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet297"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbTop5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet297"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet297"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet297"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbTop4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet296"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet296"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet296"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbTop2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet294"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet294"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet294"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbTop1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet293"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet293"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet293"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbTop3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet295"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet295"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet295"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbVertical.xml index 157b5c49cbd..745ffe2a179 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet298"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet298"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet298"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbVertical5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet302"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbVertical4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet301"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet301"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet301"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbVertical2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet299"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet299"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet299"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet298"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet298"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet298"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbVertical3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet300"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet300"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet300"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Ticks.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Ticks.xml index 8e2829a0821..10aa0a8e2ca 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Ticks.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Ticks.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTicks1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet313"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet313"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet313"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTicks1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet313"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet313"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet313"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TicksVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TicksVertical.xml index bf7cc09ef3c..f66826003ae 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TicksVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TicksVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTicksVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet314"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet314"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet314"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTicksVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet314"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet314"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet314"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Track.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Track.xml index c8937907d0f..0c74714f7ec 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Track.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Track.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTrack1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet281"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet281"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet281"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTrack1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet281"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet281"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet281"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TrackVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TrackVertical.xml index ef358d15b8b..ad171964153 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TrackVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TrackVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTrackVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet282"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet282"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet282"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTrackVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet282"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet282"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet282"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+AnimateBackground.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+AnimateBackground.xml index 86b368140ac..4365adbe034 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+AnimateBackground.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+AnimateBackground.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrayNotifyAnimateBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet332"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet332"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet332"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrayNotifyAnimateBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet332"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet332"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet332"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+Background.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+Background.xml index e633d3f9aec..97939854c08 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+Background.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+Background.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrayNotifyBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet331"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet331"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet331"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrayNotifyBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet331"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet331"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet331"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Branch.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Branch.xml index 2c73d49c31d..3f65e0b0bae 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Branch.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Branch.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewBranch1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet322"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet322"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet322"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewBranch1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet322"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet322"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet322"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Glyph.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Glyph.xml index a59ba557180..c21c79245d4 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Glyph.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Glyph.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewGlyph1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet320"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet320"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet320"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewGlyph2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet321"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet321"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet321"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewGlyph1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet320"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet320"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet320"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Item.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Item.xml index cdf4274ccc3..80a238288db 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Item.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Item.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewItem4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet318"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet318"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet318"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewItem4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet318"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet318"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet318"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewItem2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet316"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet316"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet316"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet315"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet315"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet315"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewItem3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet317"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet317"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet317"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewItem5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet319"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet319"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet319"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Caption.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Caption.xml index 2a13c18b621..b8ce1bbf3d4 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Caption.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Caption.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet333"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet333"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet333"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet333"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet333"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet333"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCaption3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet335"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet335"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet335"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCaption2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet334"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet334"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet334"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CaptionSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CaptionSizingTemplate.xml index 9fe5af529bd..7acf82095f2 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CaptionSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CaptionSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCaptionSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet428"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet428"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet428"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCaptionSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet428"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet428"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet428"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CloseButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CloseButton.xml index 2475017c699..e39d15d92a3 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CloseButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CloseButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCloseButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet383"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet383"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet383"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCloseButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet386"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet386"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet386"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCloseButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet384"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet384"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet384"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCloseButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet383"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet383"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet383"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCloseButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet385"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet385"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet385"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Dialog.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Dialog.xml index 5d99c329f50..8bba9dd5000 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Dialog.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Dialog.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowDialog1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet427"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet427"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet427"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowDialog1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet427"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet427"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet427"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottom.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottom.xml index 7f6695026d3..20103a7b8b9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottom.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottom.xml @@ -77,7 +77,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet355"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet355"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet355"::: ]]> @@ -120,7 +120,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet356"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet356"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet356"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottomSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottomSizingTemplate.xml index 53bc25f5b97..b9e0448f39a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottomSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottomSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameBottomSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet434"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet434"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet434"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameBottomSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet434"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet434"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet434"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeft.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeft.xml index 022ca15131f..7c6cb7a3cc2 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeft.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeft.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet351"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet351"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameLeft2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet352"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet352"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet352"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeftSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeftSizingTemplate.xml index 081644f3bc4..349e7919ab3 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeftSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeftSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameLeftSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet430"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet430"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet430"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameLeftSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet430"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet430"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet430"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRight.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRight.xml index ab06b3c65d2..055fd75b631 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRight.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRight.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet353"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet353"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet353"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet353"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet353"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet353"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameRight2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet354"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet354"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet354"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRightSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRightSizingTemplate.xml index fde94b99aba..3cf88d94ed7 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRightSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRightSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameRightSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet432"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet432"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet432"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameRightSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet432"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet432"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet432"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HelpButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HelpButton.xml index 2179ded74e3..42b49e42796 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HelpButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HelpButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHelpButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet403"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet403"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet403"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHelpButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet406"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet406"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet406"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHelpButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet404"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet404"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet404"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHelpButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet403"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet403"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet403"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHelpButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet405"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet405"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet405"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalScroll.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalScroll.xml index f8b1e57513b..094f71b8b23 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalScroll.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalScroll.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalScroll1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet411"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet411"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet411"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalScroll4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet414"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet414"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet414"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalScroll2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet412"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet412"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet412"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalScroll1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet411"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet411"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet411"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalScroll3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet413"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet413"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet413"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalThumb.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalThumb.xml index db78228cacb..d60b6407800 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalThumb.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalThumb.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalThumb1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet415"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet415"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet415"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalThumb4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet418"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet418"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet418"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalThumb2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet416"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet416"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet416"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalThumb1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet415"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet415"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet415"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalThumb3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet417"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet417"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet417"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxButton.xml index acebd053c96..d60b3f506f2 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet379"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet379"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet379"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet382"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet382"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet382"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet380"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet380"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet380"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet379"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet379"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet379"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet381"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet381"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet381"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxCaption.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxCaption.xml index b955b763969..fc492ed2a8c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxCaption.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxCaption.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet345"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet345"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet345"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet345"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet345"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet345"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxCaption3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet347"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet347"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet347"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxCaption2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet346"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet346"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet346"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiCloseButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiCloseButton.xml index 67027864d1e..7fcea4392e4 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiCloseButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiCloseButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiCloseButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet391"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet391"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet391"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiCloseButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet394"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet394"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet394"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiCloseButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet392"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet392"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet392"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiCloseButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet391"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet391"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet391"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiCloseButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet393"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet393"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet393"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiHelpButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiHelpButton.xml index 2bc0a58a7cd..2f8f31348a1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiHelpButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiHelpButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiHelpButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet407"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet407"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet407"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiHelpButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet410"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet410"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet410"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiHelpButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet408"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet408"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet408"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiHelpButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet407"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet407"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet407"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiHelpButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet409"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet409"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet409"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiMinButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiMinButton.xml index eaa0d9e7a48..8650b907f82 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiMinButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiMinButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiMinButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet375"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet375"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet375"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiMinButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet378"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet378"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet378"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiMinButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet376"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet376"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet376"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiMinButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet375"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet375"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet375"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiMinButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet377"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet377"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet377"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiRestoreButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiRestoreButton.xml index cad78c0075b..b11a55cceff 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiRestoreButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiRestoreButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiRestoreButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet399"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet399"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet399"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiRestoreButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet402"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet402"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet402"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiRestoreButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet400"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet400"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet400"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiRestoreButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet399"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet399"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet399"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiRestoreButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet401"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet401"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet401"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiSysButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiSysButton.xml index 6cf976f525e..ae601575854 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiSysButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiSysButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiSysButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet367"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet367"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet367"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiSysButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet370"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet370"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet370"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiSysButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet368"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet368"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet368"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiSysButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet367"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet367"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet367"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiSysButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet369"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet369"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet369"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinButton.xml index b19ceea903d..ad190adeb95 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet371"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet371"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet371"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet374"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet374"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet374"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet372"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet372"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet372"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet371"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet371"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet371"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet373"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet373"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet373"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinCaption.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinCaption.xml index 5179971a4f2..49bbe79a80e 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinCaption.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinCaption.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet339"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet339"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet339"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet339"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet339"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet339"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinCaption3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet341"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet341"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet341"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinCaption2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet340"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet340"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet340"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+RestoreButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+RestoreButton.xml index eaad90523b2..1ba18d9ce34 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+RestoreButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+RestoreButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowRestoreButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet395"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet395"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet395"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowRestoreButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet397"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet397"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet397"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowRestoreButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet396"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet396"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet396"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowRestoreButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet395"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet395"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet395"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowRestoreButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet397"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet397"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet397"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaption.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaption.xml index 0c43afee524..5e39efaf33a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaption.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaption.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet336"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet336"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet336"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet336"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet336"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet336"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCaption3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet338"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet338"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet338"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCaption2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet337"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet337"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet337"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaptionSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaptionSizingTemplate.xml index 8622b3bed47..badcd1634ba 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaptionSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaptionSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCaptionSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet429"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet429"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet429"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCaptionSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet429"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet429"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet429"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCloseButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCloseButton.xml index 814a4bcc36d..72ef394e07c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCloseButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCloseButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCloseButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet387"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet387"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet387"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCloseButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet390"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet390"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet390"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCloseButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet388"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet388"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet388"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCloseButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet387"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet387"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet387"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCloseButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet389"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet389"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet389"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottom.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottom.xml index c25d310e425..77d408becd9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottom.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottom.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet361"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet361"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet361"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet361"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet361"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet361"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet362"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet362"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet362"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottomSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottomSizingTemplate.xml index 57526ced77f..58a10f3e4ce 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottomSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottomSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameBottomSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet435"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet435"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet435"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameBottomSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet435"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet435"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet435"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeft.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeft.xml index b45255ab35e..eaf6f74fdb9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeft.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeft.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet357"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet357"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet357"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet357"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet357"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet357"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameLeft2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet358"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet358"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet358"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeftSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeftSizingTemplate.xml index 5f1e57cfc20..e36ce86916a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeftSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeftSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameLeftSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet431"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet431"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet431"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameLeftSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet431"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet431"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet431"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRight.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRight.xml index 3a5377fac8c..cb82bbb74b1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRight.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRight.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet359"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet359"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet359"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet359"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet359"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet359"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameRight2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet360"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet360"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet360"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRightSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRightSizingTemplate.xml index dc536d6ee2e..88179ddb49d 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRightSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRightSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameRightSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet433"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet433"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet433"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameRightSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet433"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet433"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet433"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMaxCaption.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMaxCaption.xml index 8dcd8d5f0ea..5ee1c58ff7a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMaxCaption.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMaxCaption.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMaxCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet348"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet348"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet348"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMaxCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet348"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet348"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet348"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMaxCaption3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet350"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet350"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet350"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMaxCaption2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet349"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet349"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet349"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMinCaption.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMinCaption.xml index 5d15c7a59ac..e528fccac1d 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMinCaption.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMinCaption.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMinCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet342"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet342"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet342"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMinCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet342"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet342"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet342"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMinCaption3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet344"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet344"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet344"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMinCaption2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet343"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet343"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet343"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SysButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SysButton.xml index 92a5e386687..6d6e9bf8da4 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SysButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SysButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSysButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet363"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet363"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet363"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSysButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet364"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet364"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet364"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSysButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet363"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet363"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet363"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSysButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet365"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet365"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet365"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalScroll.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalScroll.xml index 04588528513..0282cb665d8 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalScroll.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalScroll.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalScroll1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet419"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet419"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet419"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalScroll4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet422"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalScroll2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet420"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet420"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet420"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalScroll1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet419"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet419"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet419"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalScroll3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet421"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet421"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet421"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalThumb.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalThumb.xml index bfb5dcc1eb1..148c78dfe46 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalThumb.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalThumb.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalThumb1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet423"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet423"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet423"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalThumb4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet426"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet426"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet426"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalThumb2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet424"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet424"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet424"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalThumb1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet423"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet423"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet423"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalThumb3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet425"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet425"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet425"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement.xml index 876cec471c0..40b6ee1518c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleElement/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleElement/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement/Overview/form1.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleInformation.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleInformation.xml index f5de15c8c3d..1ae2a80f34a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleInformation.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleInformation.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleInformation/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleInformation/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleInformation/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleInformation/Overview/form1.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleRenderer.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleRenderer.xml index 05d2914d993..f7746768d13 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleRenderer.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleRenderer.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -102,7 +102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet40"::: ]]> @@ -268,7 +268,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet20"::: ]]> @@ -805,7 +805,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet30"::: ]]> @@ -1163,7 +1163,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet10"::: ]]> @@ -1255,7 +1255,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet10"::: ]]> @@ -1677,7 +1677,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet40"::: ]]> @@ -1866,7 +1866,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet40"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleState.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleState.xml index 6385ce6475f..a8851ba9e2f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleState.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleState.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/cpp/visualstylestate.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/VisualStyleState/visualstylestate.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/VB/visualstylestate.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/VisualStyleState/visualstylestate.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms/AccessibleEvents.xml b/xml/System.Windows.Forms/AccessibleEvents.xml index 0862503bfa0..5f36b21aefe 100644 --- a/xml/System.Windows.Forms/AccessibleEvents.xml +++ b/xml/System.Windows.Forms/AccessibleEvents.xml @@ -39,7 +39,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/AccessibleNavigation.xml b/xml/System.Windows.Forms/AccessibleNavigation.xml index 8fc94c10825..9f9863871ac 100644 --- a/xml/System.Windows.Forms/AccessibleNavigation.xml +++ b/xml/System.Windows.Forms/AccessibleNavigation.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/AccessibleObject.xml b/xml/System.Windows.Forms/AccessibleObject.xml index 4b0922f4fc1..6de9f6d5ec7 100644 --- a/xml/System.Windows.Forms/AccessibleObject.xml +++ b/xml/System.Windows.Forms/AccessibleObject.xml @@ -79,7 +79,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet1"::: ]]> @@ -605,7 +605,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet6"::: ]]> @@ -817,7 +817,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> @@ -863,7 +863,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> @@ -1199,7 +1199,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet6"::: ]]> @@ -1266,7 +1266,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet6"::: ]]> @@ -1319,7 +1319,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet6"::: ]]> @@ -1461,7 +1461,7 @@ This method must be overridden in derived classes that support the UI automation :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> @@ -1534,7 +1534,7 @@ This method must be overridden in derived classes that support the UI automation :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet6"::: ]]> @@ -1580,7 +1580,7 @@ This method must be overridden in derived classes that support the UI automation :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/AccessibleRole.xml b/xml/System.Windows.Forms/AccessibleRole.xml index 931654e8135..2e9d49b7869 100644 --- a/xml/System.Windows.Forms/AccessibleRole.xml +++ b/xml/System.Windows.Forms/AccessibleRole.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/AccessibleSelection.xml b/xml/System.Windows.Forms/AccessibleSelection.xml index 42e44da3298..185b74e804d 100644 --- a/xml/System.Windows.Forms/AccessibleSelection.xml +++ b/xml/System.Windows.Forms/AccessibleSelection.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/AccessibleStates.xml b/xml/System.Windows.Forms/AccessibleStates.xml index 2e531eb5021..1ea8e1f41f4 100644 --- a/xml/System.Windows.Forms/AccessibleStates.xml +++ b/xml/System.Windows.Forms/AccessibleStates.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/AnchorStyles.xml b/xml/System.Windows.Forms/AnchorStyles.xml index b51ff5480ab..999f4795014 100644 --- a/xml/System.Windows.Forms/AnchorStyles.xml +++ b/xml/System.Windows.Forms/AnchorStyles.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/Application.xml b/xml/System.Windows.Forms/Application.xml index 9bf0f2de09e..8b924409a0f 100644 --- a/xml/System.Windows.Forms/Application.xml +++ b/xml/System.Windows.Forms/Application.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/Overview/source.vb" id="Snippet1"::: ]]> @@ -115,7 +115,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.RemoveMessageFilter Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/AddMessageFilter/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.RemoveMessageFilter Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/AddMessageFilter/source.vb" id="Snippet1"::: ]]> @@ -209,7 +209,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Application/CPP/source.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ApplicationExit/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb" id="Snippet5"::: ]]> @@ -367,7 +367,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.CompanyName Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/CompanyName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CompanyName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/CompanyName/source.vb" id="Snippet1"::: ]]> @@ -410,7 +410,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.CurrentCulture Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/CurrentCulture/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CurrentCulture Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/CurrentCulture/source.vb" id="Snippet1"::: ]]> @@ -451,7 +451,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.CurrentInputLanguage Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/CurrentInputLanguage/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CurrentInputLanguage Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/CurrentInputLanguage/source.vb" id="Snippet1"::: ]]> @@ -512,7 +512,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/CPP/filedialogform.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/DoEvents/filedialogform.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb" id="Snippet1"::: ]]> @@ -567,7 +567,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Application.EnableVisualStyles/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/EnableVisualStyles/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Application.EnableVisualStyles/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/EnableVisualStyles/form1.vb" id="Snippet1"::: ]]> @@ -627,7 +627,7 @@ To run the example code, paste it into a Windows Forms and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet3"::: ]]> @@ -729,7 +729,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.Exit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/Exit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.Exit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/Exit/source.vb" id="Snippet1"::: ]]> @@ -931,7 +931,7 @@ To run the example code, paste it into a Windows Form and make sure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet2"::: ]]> @@ -1016,7 +1016,7 @@ To run the example code, paste it into a Windows Forms and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet4"::: ]]> @@ -1069,7 +1069,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Application/CPP/source.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ApplicationExit/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb" id="Snippet5"::: ]]> @@ -1284,7 +1284,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ProductName Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ProductName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ProductName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ProductName/source.vb" id="Snippet1"::: ]]> @@ -1334,7 +1334,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ProductVersion Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ProductVersion/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ProductVersion Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ProductVersion/source.vb" id="Snippet1"::: ]]> @@ -1476,7 +1476,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.RemoveMessageFilter Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/AddMessageFilter/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.RemoveMessageFilter Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/AddMessageFilter/source.vb" id="Snippet1"::: ]]> @@ -1665,7 +1665,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Application/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ApplicationExit/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb" id="Snippet2"::: ]]> @@ -1726,7 +1726,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.Exit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/Exit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.Exit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/Exit/source.vb" id="Snippet1"::: ]]> @@ -2037,7 +2037,7 @@ The high DPI mode is set once per process. For more information about setting th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ThreadException Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb" id="Snippet1"::: ]]> @@ -2096,7 +2096,7 @@ The high DPI mode is set once per process. For more information about setting th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ThreadException Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb" id="Snippet1"::: ]]> @@ -2158,7 +2158,7 @@ The high DPI mode is set once per process. For more information about setting th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ThreadException Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb" id="Snippet1"::: ]]> @@ -2201,7 +2201,7 @@ The high DPI mode is set once per process. For more information about setting th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.StartupPath Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/StartupPath/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.StartupPath Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/StartupPath/source.vb" id="Snippet1"::: ]]> @@ -2301,7 +2301,7 @@ The high DPI mode is set once per process. For more information about setting th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ThreadException Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb" id="Snippet1"::: ]]> @@ -2356,7 +2356,7 @@ The high DPI mode is set once per process. For more information about setting th To run the example code, paste it into a Windows Forms and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet6"::: ]]> @@ -2446,7 +2446,7 @@ The high DPI mode is set once per process. For more information about setting th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Application/CPP/source.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ApplicationExit/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb" id="Snippet5"::: ]]> @@ -2612,7 +2612,7 @@ The visual styles will not be enabled if the OS does not support them, or themin :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/cpp/visualstylestate.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/VisualStyleState/visualstylestate.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/VB/visualstylestate.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/VisualStyleState/visualstylestate.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/ApplicationContext.xml b/xml/System.Windows.Forms/ApplicationContext.xml index ea10a62ebb1..ec935139ca4 100644 --- a/xml/System.Windows.Forms/ApplicationContext.xml +++ b/xml/System.Windows.Forms/ApplicationContext.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Application/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ApplicationExit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb" id="Snippet1"::: ]]> @@ -290,7 +290,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Application/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ApplicationExit/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb" id="Snippet3"::: ]]> @@ -573,7 +573,7 @@ To run the example code, paste it into a project that contains an instance of type named `ApplicationContext1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet75"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet75"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet75"::: ]]> diff --git a/xml/System.Windows.Forms/AutoSizeMode.xml b/xml/System.Windows.Forms/AutoSizeMode.xml index 195fd6c77f3..97171206e34 100644 --- a/xml/System.Windows.Forms/AutoSizeMode.xml +++ b/xml/System.Windows.Forms/AutoSizeMode.xml @@ -35,7 +35,7 @@ The following code example shows a form created using code that automatically resizes to fit its contents. When ran, the form will display a , a for entering a URL, and a for displaying that URL inside of the user's default Web browser. The code example uses a to lay out the contained controls one after the other, and sets the and to grow and shrink to fit the contents of its form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AutoSizeMode/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/AutoValidate.xml b/xml/System.Windows.Forms/AutoValidate.xml index e5b92ed4123..e275352aeb2 100644 --- a/xml/System.Windows.Forms/AutoValidate.xml +++ b/xml/System.Windows.Forms/AutoValidate.xml @@ -35,7 +35,7 @@ The following code example turns off implicit validation for a form and all of its contained controls, and instead manually performs validation of all of the form's children when a mouse button is clicked. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AutoValidate/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildren/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AutoValidate/Overview/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Binding.xml b/xml/System.Windows.Forms/Binding.xml index 6b9b2a4ca91..e1d048ee68b 100644 --- a/xml/System.Windows.Forms/Binding.xml +++ b/xml/System.Windows.Forms/Binding.xml @@ -160,7 +160,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/Overview/source.vb" id="Snippet1"::: ]]> @@ -254,7 +254,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.Binding Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Binding Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/.ctor/source.vb" id="Snippet1"::: ]]> @@ -747,7 +747,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingComplete/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb" id="Snippet3"::: ]]> @@ -801,7 +801,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.BindingManagerBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingManagerBase/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.BindingManagerBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingManagerBase/source.vb" id="Snippet1"::: ]]> @@ -846,7 +846,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.BindingMemberInfo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingMemberInfo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.BindingMemberInfo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingMemberInfo/source.vb" id="Snippet1"::: ]]> @@ -894,7 +894,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.Control Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/Control/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Control Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/Control/source.vb" id="Snippet1"::: ]]> @@ -990,7 +990,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.DataSource Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/DataSource/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.DataSource Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/DataSource/source.vb" id="Snippet1"::: ]]> @@ -1139,7 +1139,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.Format Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/Format/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Format Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/Format/source.vb" id="Snippet1"::: ]]> @@ -1338,7 +1338,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.IsBinding Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/IsBinding/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.IsBinding Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/IsBinding/source.vb" id="Snippet1"::: ]]> @@ -1574,7 +1574,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.Parse Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/Parse/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Parse Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/Parse/source.vb" id="Snippet1"::: ]]> @@ -1637,7 +1637,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.PropertyName Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/PropertyName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.PropertyName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/PropertyName/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/BindingCompleteEventArgs.xml b/xml/System.Windows.Forms/BindingCompleteEventArgs.xml index 671ea36f5b2..9fd7f4e788b 100644 --- a/xml/System.Windows.Forms/BindingCompleteEventArgs.xml +++ b/xml/System.Windows.Forms/BindingCompleteEventArgs.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingComplete/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb" id="Snippet3"::: ]]> @@ -285,7 +285,7 @@ The following code example demonstrates how to handle the event and use the to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11"::: ]]> @@ -331,7 +331,7 @@ The following code example demonstrates how to handle the event and use the to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11"::: ]]> @@ -382,7 +382,7 @@ To run the example code, paste it into a project that contains an instance of type named `Binding1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet77"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet77"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet77"::: ]]> @@ -437,7 +437,7 @@ To run the example code, paste it into a project that contains an instance of type named `Binding1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet77"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet77"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet77"::: ]]> @@ -487,7 +487,7 @@ The following code example demonstrates how to handle the event and use the to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Windows.Forms/BindingCompleteState.xml b/xml/System.Windows.Forms/BindingCompleteState.xml index d34fdb8d622..2e41294fa9d 100644 --- a/xml/System.Windows.Forms/BindingCompleteState.xml +++ b/xml/System.Windows.Forms/BindingCompleteState.xml @@ -34,7 +34,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingComplete/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/BindingContext.xml b/xml/System.Windows.Forms/BindingContext.xml index 1e72251a0be..ec067627377 100644 --- a/xml/System.Windows.Forms/BindingContext.xml +++ b/xml/System.Windows.Forms/BindingContext.xml @@ -109,7 +109,7 @@ this.BindingContext[dataSet1.Customers].Position = 1; :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/Overview/source.vb" id="Snippet1"::: ]]> @@ -159,7 +159,7 @@ this.BindingContext[dataSet1.Customers].Position = 1; :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.BindingContext Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.BindingContext Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/.ctor/source.vb" id="Snippet1"::: ]]> @@ -442,7 +442,7 @@ This method is obsolete and unused. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.Contains Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/Contains/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.Contains Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/Contains/source.vb" id="Snippet1"::: ]]> @@ -505,7 +505,7 @@ This method is obsolete and unused. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.Contains1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/Contains/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.Contains1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/Contains/source1.vb" id="Snippet1"::: ]]> @@ -612,7 +612,7 @@ This method is obsolete and unused. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.this Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/Item/source.vb" id="Snippet1"::: ]]> @@ -698,7 +698,7 @@ BindingManagerBase bmOrders = this.BindingContext The following code example demonstrates how to use the to retrieve the for a particular binding. It also shows how to handle the event for the to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11"::: ]]> @@ -871,7 +871,7 @@ This method is obsolete and unused. ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.ICollection.CopyTo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/System.Collections.ICollection.CopyTo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.ICollection.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.ICollection.CopyTo/source.vb" id="Snippet1"::: ]]> @@ -913,7 +913,7 @@ This method is obsolete and unused. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.ICollection.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/System.Collections.ICollection.Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.ICollection.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.ICollection.Count/source.vb" id="Snippet1"::: ]]> @@ -1040,7 +1040,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.IEnumerable.GetEnumerator Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/System.Collections.IEnumerable.GetEnumerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.IEnumerable.GetEnumerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.IEnumerable.GetEnumerator/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/BindingManagerBase.xml b/xml/System.Windows.Forms/BindingManagerBase.xml index d7117834876..fec72824db8 100644 --- a/xml/System.Windows.Forms/BindingManagerBase.xml +++ b/xml/System.Windows.Forms/BindingManagerBase.xml @@ -50,7 +50,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -193,7 +193,7 @@ The following code example demonstrates how to handle the event and ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11"::: ]]> @@ -239,7 +239,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.Bindings Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/Bindings/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Bindings Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Bindings/source.vb" id="Snippet1"::: ]]> @@ -292,7 +292,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase.CancelCurrentEdit Example/CPP/canceledit.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/CancelCurrentEdit/canceledit.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase.CancelCurrentEdit Example/VB/canceledit.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/CancelCurrentEdit/canceledit.vb" id="Snippet1"::: ]]> @@ -341,7 +341,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Count/source.vb" id="Snippet1"::: ]]> @@ -397,7 +397,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.Current Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/Current/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Current Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Current/source.vb" id="Snippet1"::: ]]> @@ -445,7 +445,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.Current Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/Current/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Current Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Current/source.vb" id="Snippet1"::: ]]> @@ -493,7 +493,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `BindingManagerBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet82"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet82"::: ]]> @@ -542,7 +542,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `BindingManagerBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet83"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet83"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet83"::: ]]> @@ -587,7 +587,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase.CancelCurrentEdit Example/CPP/canceledit.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/CancelCurrentEdit/canceledit.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase.CancelCurrentEdit Example/VB/canceledit.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/CancelCurrentEdit/canceledit.vb" id="Snippet1"::: ]]> @@ -648,7 +648,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/GetItemProperties/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/GetItemProperties/source.vb" id="Snippet1"::: ]]> @@ -756,7 +756,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/GetItemProperties/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/GetItemProperties/source1.vb" id="Snippet1"::: ]]> @@ -1126,7 +1126,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Count/source.vb" id="Snippet1"::: ]]> @@ -1173,7 +1173,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.PositionChanged Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/PositionChanged/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.PositionChanged Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/PositionChanged/source.vb" id="Snippet1"::: ]]> @@ -1302,7 +1302,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase_RemoveAt/CPP/bindingmanagerbase_removeat.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/RemoveAt/bindingmanagerbase_removeat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_RemoveAt/VB/bindingmanagerbase_removeat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/RemoveAt/bindingmanagerbase_removeat.vb" id="Snippet1"::: ]]> @@ -1348,7 +1348,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/CPP/bindingmanagerbase_suspend_resume_binding.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/VB/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet2"::: ]]> @@ -1395,7 +1395,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/CPP/bindingmanagerbase_suspend_resume_binding.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/VB/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/BindingManagerDataErrorEventArgs.xml b/xml/System.Windows.Forms/BindingManagerDataErrorEventArgs.xml index 668cd43aa0d..c355df425d8 100644 --- a/xml/System.Windows.Forms/BindingManagerDataErrorEventArgs.xml +++ b/xml/System.Windows.Forms/BindingManagerDataErrorEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `BindingManagerBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet83"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet83"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet83"::: ]]> @@ -122,7 +122,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `BindingManagerBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet83"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet83"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet83"::: ]]> diff --git a/xml/System.Windows.Forms/BindingMemberInfo.xml b/xml/System.Windows.Forms/BindingMemberInfo.xml index 15ff46b03b8..c5f8c8e429b 100644 --- a/xml/System.Windows.Forms/BindingMemberInfo.xml +++ b/xml/System.Windows.Forms/BindingMemberInfo.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingMemberInfo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingMemberInfo/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/Overview/source.vb" id="Snippet1"::: ]]> @@ -144,7 +144,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingMemberInfo/BindingField/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/BindingField/source.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingMemberInfo/BindingField/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/BindingField/source.vb" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingMemberInfo/BindingField/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/BindingField/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/BindingNavigator.xml b/xml/System.Windows.Forms/BindingNavigator.xml index 31397921bf4..abc78147eba 100644 --- a/xml/System.Windows.Forms/BindingNavigator.xml +++ b/xml/System.Windows.Forms/BindingNavigator.xml @@ -89,7 +89,7 @@ The following code example demonstrates how to use a control to move through a data set. The set is contained in a , which is bound to a control with a component. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingNavigator/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataNavigator/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingNavigator/Overview/form1.vb" id="Snippet1"::: ]]> @@ -462,7 +462,7 @@ The following code example demonstrates how to use a control to move through a data set. The set is contained in a , which is bound to a control with a component. This code example is part of a larger example provided in [How to: Move Through a DataSet with the Windows Forms BindingNavigator Control](/dotnet/desktop/winforms/controls/move-through-a-dataset-with-wf-bindingnavigator-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingNavigator/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataNavigator/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingNavigator/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1072,7 +1072,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingNavigator1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet124"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet124"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet124"::: ]]> diff --git a/xml/System.Windows.Forms/BindingSource.xml b/xml/System.Windows.Forms/BindingSource.xml index 256b60908a8..77c008336f9 100644 --- a/xml/System.Windows.Forms/BindingSource.xml +++ b/xml/System.Windows.Forms/BindingSource.xml @@ -118,7 +118,7 @@ The following code example demonstrates a bound to a . The is bound to a that contains a list of fonts. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet0"::: ]]> @@ -305,7 +305,7 @@ The following code example how to use the method. To run this example, paste the code into a Windows Form, and call the `PopulateBindingSourceWithFonts` method from the form's constructor. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Add/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb" id="Snippet6"::: ]]> @@ -359,7 +359,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AddingNewEventArgs/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb" id="Snippet8"::: ]]> @@ -423,7 +423,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AddingNewEventArgs/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb" id="Snippet7"::: ]]> @@ -542,7 +542,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ItemChangedEventMode/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/AllowNew/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ItemChangedEventMode/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/AllowNew/form1.vb" id="Snippet6"::: ]]> @@ -750,7 +750,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingComplete/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb" id="Snippet3"::: ]]> @@ -989,7 +989,7 @@ The following code example demonstrates the , , and members. To run this example, paste the code into a form that contains a named `BindingSource1`, two labels named `label1` and `label2`, and a button named `button1`. Associate the `button1_Click` method with the event for `button1`. Visual Basic users will need to add a reference to System.Data.dll. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Count/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorFilterAndSort/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Count/form1.vb" id="Snippet2"::: ]]> @@ -1089,7 +1089,7 @@ The following code example demonstrates the property. To run this example, paste the code into a form and call the `PopulateBindingSourceWithFonts` method from the form's event handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Add/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb" id="Snippet6"::: ]]> @@ -1421,7 +1421,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetItem/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/DataSource/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetItem/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/DataSource/form1.vb" id="Snippet6"::: ]]> @@ -1621,7 +1621,7 @@ The following example shows how to use the property with a . To run this example, paste the code into a Windows Form and call `PopulateDataViewAndFilter` from the form's constructor or event-handling method. Your form should import the and namespaces. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Add/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb" id="Snippet3"::: ]]> @@ -1689,7 +1689,7 @@ The following code example demonstrates how to use the method. For the complete example see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet4"::: ]]> @@ -1747,7 +1747,7 @@ The following example shows how to use the method with a . To run this example, paste the code into a Windows Form and call `PopulateDataViewAndFind` from the form's constructor or event-handling method. Your form should import the and namespaces. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Add/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb" id="Snippet1"::: ]]> @@ -2355,7 +2355,7 @@ The following code example demonstrates the , , and members. To run this example, paste the code into a form that contains a named `BindingSource1`, two labels named `label1` and `label2`, and a button named `button1`. Associate the `button1_Click` method with the event for `button1`. Visual Basic users will need to add a reference to System.Data.dll. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Count/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorFilterAndSort/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Count/form1.vb" id="Snippet2"::: ]]> @@ -2406,7 +2406,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ItemChangedEventMode/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/AllowNew/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ItemChangedEventMode/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/AllowNew/form1.vb" id="Snippet9"::: ]]> @@ -2462,7 +2462,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/MoveFirst/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/MoveFirst/form1.vb" id="Snippet1"::: ]]> @@ -2555,7 +2555,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/MoveFirst/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/MoveFirst/form1.vb" id="Snippet1"::: ]]> @@ -3076,7 +3076,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/MoveFirst/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/MoveFirst/form1.vb" id="Snippet1"::: ]]> @@ -3275,7 +3275,7 @@ The following code example demonstrates the , , and members. To run this example, paste the code into a form that contains a named `BindingSource1`, two labels named `label1` and `label2`, and a button named `button1`. Associate the `button1_Click` method with the event for `button1`. Visual Basic users will need to add a reference to System.Data.dll. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Count/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorFilterAndSort/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Count/form1.vb" id="Snippet2"::: ]]> @@ -3515,7 +3515,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetBindings/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/ResetBindings/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetBindings/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/ResetBindings/form1.vb" id="Snippet3"::: ]]> @@ -3603,7 +3603,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetItem/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/DataSource/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetItem/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/DataSource/form1.vb" id="Snippet7"::: ]]> @@ -3710,12 +3710,12 @@ The following example shows how to use the property to perform basic sorting with a . To run this example, paste the code into a Windows Form and call `PopulateDataViewAndSort` from the form's constructor or event-handling method. Your form should import the and namespaces. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Add/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb" id="Snippet2"::: The following example shows how to use the property to perform advanced sorting with a . To run this example, paste the code into a Windows Form and call `PopulateDataViewAndAdvancedSort` from the form's constructor or event-handling method. Your form should import the and namespaces. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Add/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb" id="Snippet4"::: ]]> @@ -4053,7 +4053,7 @@ The is a read-only co The following code example demonstrates how to use the member. For the complete example see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/BindingsCollection.xml b/xml/System.Windows.Forms/BindingsCollection.xml index f3d05de46a6..75549c7d1a1 100644 --- a/xml/System.Windows.Forms/BindingsCollection.xml +++ b/xml/System.Windows.Forms/BindingsCollection.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingsCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingsCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingsCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ @@ -236,7 +236,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingsCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet126"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet126"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet126"::: ]]> @@ -287,7 +287,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingsCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet125"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet125"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet125"::: ]]> @@ -360,7 +360,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingsCollection.this Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingsCollection/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingsCollection/Item/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Border3DStyle.xml b/xml/System.Windows.Forms/Border3DStyle.xml index 62bfe8db60b..f9c8592ff27 100644 --- a/xml/System.Windows.Forms/Border3DStyle.xml +++ b/xml/System.Windows.Forms/Border3DStyle.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/BorderStyle.xml b/xml/System.Windows.Forms/BorderStyle.xml index aa8ec1867aa..d4642c329cf 100644 --- a/xml/System.Windows.Forms/BorderStyle.xml +++ b/xml/System.Windows.Forms/BorderStyle.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BorderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BorderStyle/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/BoundsSpecified.xml b/xml/System.Windows.Forms/BoundsSpecified.xml index f8f983207c3..a0c204eaf62 100644 --- a/xml/System.Windows.Forms/BoundsSpecified.xml +++ b/xml/System.Windows.Forms/BoundsSpecified.xml @@ -39,7 +39,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Layout/CPP/layout.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BoundsSpecified/Overview/layout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Layout/VB/layout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BoundsSpecified/Overview/layout.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Button.xml b/xml/System.Windows.Forms/Button.xml index 92183885641..ade0142d2b3 100644 --- a/xml/System.Windows.Forms/Button.xml +++ b/xml/System.Windows.Forms/Button.xml @@ -71,7 +71,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Button.Button Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Button/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Button.Button Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Button/Overview/source.vb" id="Snippet1"::: ]]> @@ -116,7 +116,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Button.Button Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Button/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Button.Button Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Button/Overview/source.vb" id="Snippet1"::: ]]> @@ -282,7 +282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Button.Button Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Button/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Button.Button Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Button/Overview/source.vb" id="Snippet1"::: ]]> @@ -345,7 +345,7 @@ To run the example code, paste it into a project that contains an instance of type named `Button1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet137"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet137"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet137"::: ]]> @@ -406,7 +406,7 @@ To run the example code, paste it into a project that contains an instance of type named `Button1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet138"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet138"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet138"::: ]]> @@ -731,7 +731,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Button.PerformClick Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Button/PerformClick/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Button.PerformClick Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Button/PerformClick/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ButtonBase.xml b/xml/System.Windows.Forms/ButtonBase.xml index 0f3b80fd44f..2b78234f317 100644 --- a/xml/System.Windows.Forms/ButtonBase.xml +++ b/xml/System.Windows.Forms/ButtonBase.xml @@ -242,7 +242,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ButtonBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet136"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet136"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet136"::: ]]> @@ -772,7 +772,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonBase/FlatStyle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonBase/FlatStyle/source.vb" id="Snippet1"::: ]]> @@ -872,7 +872,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonBase/FlatStyle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonBase/FlatStyle/source.vb" id="Snippet1"::: ]]> @@ -928,7 +928,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonBase/FlatStyle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonBase/FlatStyle/source.vb" id="Snippet1"::: ]]> @@ -1015,7 +1015,7 @@ For example, consider a button control whose @@ -1158,7 +1158,7 @@ If you set the property, the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ButtonBase.ImageIndex Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonBase/ImageIndex/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.ImageIndex Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonBase/ImageIndex/source.vb" id="Snippet1"::: ]]> @@ -2196,7 +2196,7 @@ If you set the property, the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonBase/FlatStyle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonBase/FlatStyle/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ButtonRenderer.xml b/xml/System.Windows.Forms/ButtonRenderer.xml index d9a95eda918..07a85a1b5c5 100644 --- a/xml/System.Windows.Forms/ButtonRenderer.xml +++ b/xml/System.Windows.Forms/ButtonRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -273,7 +273,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -525,7 +525,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonRenderer/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/ButtonState.xml b/xml/System.Windows.Forms/ButtonState.xml index 479b3b87827..da3ac239a6d 100644 --- a/xml/System.Windows.Forms/ButtonState.xml +++ b/xml/System.Windows.Forms/ButtonState.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ButtonState/CPP/buttonstate1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonState/Overview/buttonstate1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ButtonState/VB/buttonstate1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonState/Overview/buttonstate1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CacheVirtualItemsEventArgs.xml b/xml/System.Windows.Forms/CacheVirtualItemsEventArgs.xml index 76495b20bac..bf04c2ffb8f 100644 --- a/xml/System.Windows.Forms/CacheVirtualItemsEventArgs.xml +++ b/xml/System.Windows.Forms/CacheVirtualItemsEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet465"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet465"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet465"::: ]]> @@ -123,7 +123,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet465"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet465"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet465"::: ]]> @@ -174,7 +174,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet465"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet465"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet465"::: ]]> diff --git a/xml/System.Windows.Forms/CaptionButton.xml b/xml/System.Windows.Forms/CaptionButton.xml index cc0bc727de7..c0711cd3685 100644 --- a/xml/System.Windows.Forms/CaptionButton.xml +++ b/xml/System.Windows.Forms/CaptionButton.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CharacterCasing.xml b/xml/System.Windows.Forms/CharacterCasing.xml index 0e6895f119f..23b5af8ffd5 100644 --- a/xml/System.Windows.Forms/CharacterCasing.xml +++ b/xml/System.Windows.Forms/CharacterCasing.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CharacterCasing/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CharacterCasing/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CheckBox.xml b/xml/System.Windows.Forms/CheckBox.xml index 6162e596a29..50bd98a24b4 100644 --- a/xml/System.Windows.Forms/CheckBox.xml +++ b/xml/System.Windows.Forms/CheckBox.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -129,7 +129,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -189,7 +189,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -243,7 +243,7 @@ To run the example code, paste it into a project that contains an instance of type named `CheckBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet139"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet139"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet139"::: ]]> @@ -304,7 +304,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -362,7 +362,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CheckAlign/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CheckAlign/source.vb" id="Snippet1"::: ]]> @@ -433,7 +433,7 @@ Note: If the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CheckAlign/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CheckAlign/source.vb" id="Snippet1"::: ]]> @@ -487,7 +487,7 @@ Note: If the property To run the example code, paste it into a project that contains an instance of type named `CheckBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet140"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet140"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet140"::: ]]> @@ -563,7 +563,7 @@ Note: If the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CheckAlign/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CheckAlign/source.vb" id="Snippet1"::: ]]> @@ -618,7 +618,7 @@ Note: If the property To run the example code, paste it into a project that contains an instance of type named `CheckBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet141"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet141"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet141"::: ]]> @@ -702,7 +702,7 @@ Note: If the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CreateParams/CPP/createparams.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/createparams.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb" id="Snippet3"::: ]]> @@ -1171,7 +1171,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.vb" id="Snippet1"::: ]]> @@ -1302,7 +1302,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CheckAlign/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CheckAlign/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CheckBoxRenderer.xml b/xml/System.Windows.Forms/CheckBoxRenderer.xml index 51ba9a8406f..f5f5cef1f3c 100644 --- a/xml/System.Windows.Forms/CheckBoxRenderer.xml +++ b/xml/System.Windows.Forms/CheckBoxRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBoxRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBoxRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -241,7 +241,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBoxRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBoxRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -477,7 +477,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBoxRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBoxRenderer/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/CheckState.xml b/xml/System.Windows.Forms/CheckState.xml index e439f74bcd9..91c2f06e0b6 100644 --- a/xml/System.Windows.Forms/CheckState.xml +++ b/xml/System.Windows.Forms/CheckState.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckedListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckedListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CheckedListBox+CheckedIndexCollection.xml b/xml/System.Windows.Forms/CheckedListBox+CheckedIndexCollection.xml index db1ca7025d8..cf4b712e99f 100644 --- a/xml/System.Windows.Forms/CheckedListBox+CheckedIndexCollection.xml +++ b/xml/System.Windows.Forms/CheckedListBox+CheckedIndexCollection.xml @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/CheckedListBox+CheckedItemCollection.xml b/xml/System.Windows.Forms/CheckedListBox+CheckedItemCollection.xml index 1b3d865e9fc..588b022acad 100644 --- a/xml/System.Windows.Forms/CheckedListBox+CheckedItemCollection.xml +++ b/xml/System.Windows.Forms/CheckedListBox+CheckedItemCollection.xml @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/CheckedListBox+ObjectCollection.xml b/xml/System.Windows.Forms/CheckedListBox+ObjectCollection.xml index 4211f303292..8ddd14962cb 100644 --- a/xml/System.Windows.Forms/CheckedListBox+ObjectCollection.xml +++ b/xml/System.Windows.Forms/CheckedListBox+ObjectCollection.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet3"::: ]]> @@ -142,7 +142,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CheckedListBox.xml b/xml/System.Windows.Forms/CheckedListBox.xml index 7289571efb3..524737b7e70 100644 --- a/xml/System.Windows.Forms/CheckedListBox.xml +++ b/xml/System.Windows.Forms/CheckedListBox.xml @@ -100,7 +100,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckedListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckedListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -195,7 +195,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet2"::: ]]> @@ -273,7 +273,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet2"::: ]]> @@ -336,7 +336,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -406,7 +406,7 @@ To run the example code, paste it into a project that contains an instance of type named `CheckedListBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet157"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet157"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet157"::: ]]> @@ -526,7 +526,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CreateParams/CPP/createparams.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/createparams.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb" id="Snippet3"::: ]]> @@ -675,7 +675,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -923,7 +923,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet2"::: ]]> @@ -982,7 +982,7 @@ The property should not be o To run the example code, paste it into a project that contains an instance of type named `CheckedListBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet156"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet156"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet156"::: ]]> @@ -1115,7 +1115,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet2"::: ]]> @@ -1230,7 +1230,7 @@ The property should not be o To run the example code, paste it into a project that contains an instance of type named `CheckedListBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet158"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet158"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet158"::: ]]> @@ -1749,7 +1749,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -1805,7 +1805,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet3"::: ]]> @@ -1864,7 +1864,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet3"::: ]]> @@ -1920,7 +1920,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -2137,7 +2137,7 @@ The following code example demonstrates overriding the diff --git a/xml/System.Windows.Forms/Clipboard.xml b/xml/System.Windows.Forms/Clipboard.xml index 453e67abe44..9d5e0a582e1 100644 --- a/xml/System.Windows.Forms/Clipboard.xml +++ b/xml/System.Windows.Forms/Clipboard.xml @@ -68,7 +68,7 @@ The class provides additional methods that :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Clipboard Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Overview/source.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet1"::: ]]> @@ -168,7 +168,7 @@ The class provides additional methods that The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet20"::: ]]> @@ -229,7 +229,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet10"::: ]]> @@ -284,7 +284,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet30"::: ]]> @@ -337,7 +337,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet40"::: ]]> @@ -404,7 +404,7 @@ The class provides additional methods that The following example demonstrates an overload of the method that is similar to this overload. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet50"::: ]]> @@ -462,7 +462,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet50"::: ]]> @@ -519,7 +519,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet20"::: ]]> @@ -588,7 +588,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet10"::: ]]> @@ -650,7 +650,7 @@ The class provides additional methods that :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Clipboard Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Overview/source.vb" id="Snippet1"::: ]]> @@ -709,7 +709,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet30"::: ]]> @@ -765,7 +765,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet40"::: ]]> @@ -834,7 +834,7 @@ The class provides additional methods that The following example demonstrates an overload of the method that is similar to this overload. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet50"::: ]]> @@ -891,7 +891,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet50"::: ]]> @@ -959,7 +959,7 @@ The class provides additional methods that The following example demonstrates an overload of the method that is similar to this overload. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet20"::: ]]> @@ -1015,7 +1015,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet20"::: ]]> @@ -1077,7 +1077,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet10"::: ]]> @@ -1195,7 +1195,7 @@ The class provides additional methods that :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Clipboard Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Overview/source.vb" id="Snippet1"::: ]]> @@ -1266,13 +1266,13 @@ The class provides additional methods that :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Clipboard.SetDataObject1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/SetDataObject/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard.SetDataObject1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/SetDataObject/source.vb" id="Snippet1"::: In a different application, the following method retrieves the text from the system Clipboard and pastes the text into `textBox2`. This code assumes `button2` and `textBox2` have been created and placed on a form. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Clipboard.SetDataObject1 Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/SetDataObject/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard.SetDataObject1 Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/SetDataObject/source.vb" id="Snippet2"::: ]]> @@ -1398,7 +1398,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet30"::: ]]> @@ -1462,7 +1462,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet40"::: ]]> @@ -1532,7 +1532,7 @@ The class provides additional methods that The following example demonstrates an overload of the method that is similar to this overload. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet50"::: ]]> @@ -1590,7 +1590,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet50"::: ]]> diff --git a/xml/System.Windows.Forms/ColorDialog.xml b/xml/System.Windows.Forms/ColorDialog.xml index 0f9bd07eea2..a0b0f988f5b 100644 --- a/xml/System.Windows.Forms/ColorDialog.xml +++ b/xml/System.Windows.Forms/ColorDialog.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ColorDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ColorDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -201,7 +201,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/AnyColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/AnyColor/form1.vb" id="Snippet1"::: ]]> @@ -253,7 +253,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ColorDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -315,7 +315,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ColorDialog CustomColors Property Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/CustomColors/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialog CustomColors Property Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/CustomColors/form1.vb" id="Snippet1"::: ]]> @@ -562,7 +562,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ColorDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -622,7 +622,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/AnyColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/AnyColor/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnClickEventArgs.xml b/xml/System.Windows.Forms/ColumnClickEventArgs.xml index e4212730432..5fdabbcd36b 100644 --- a/xml/System.Windows.Forms/ColumnClickEventArgs.xml +++ b/xml/System.Windows.Forms/ColumnClickEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet466"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet466"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet466"::: ]]> @@ -128,7 +128,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet466"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet466"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet466"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnHeader.xml b/xml/System.Windows.Forms/ColumnHeader.xml index 4a84f743ff8..62835805189 100644 --- a/xml/System.Windows.Forms/ColumnHeader.xml +++ b/xml/System.Windows.Forms/ColumnHeader.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet1"::: ]]> @@ -115,7 +115,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet1"::: ]]> @@ -764,7 +764,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet1"::: ]]> @@ -820,7 +820,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet1"::: ]]> @@ -910,7 +910,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnHeaderStyle.xml b/xml/System.Windows.Forms/ColumnHeaderStyle.xml index f3279abf61c..78005715cda 100644 --- a/xml/System.Windows.Forms/ColumnHeaderStyle.xml +++ b/xml/System.Windows.Forms/ColumnHeaderStyle.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnReorderedEventArgs.xml b/xml/System.Windows.Forms/ColumnReorderedEventArgs.xml index 7b5b0268d3d..00daf9ff420 100644 --- a/xml/System.Windows.Forms/ColumnReorderedEventArgs.xml +++ b/xml/System.Windows.Forms/ColumnReorderedEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet467"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet467"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet467"::: ]]> @@ -128,7 +128,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet467"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet467"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet467"::: ]]> @@ -179,7 +179,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet467"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet467"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet467"::: ]]> @@ -230,7 +230,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet467"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet467"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet467"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnStyle.xml b/xml/System.Windows.Forms/ColumnStyle.xml index 38ecbe05544..9996ca412c0 100644 --- a/xml/System.Windows.Forms/ColumnStyle.xml +++ b/xml/System.Windows.Forms/ColumnStyle.xml @@ -38,7 +38,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnWidthChangedEventArgs.xml b/xml/System.Windows.Forms/ColumnWidthChangedEventArgs.xml index 19225f714d4..496c82164d6 100644 --- a/xml/System.Windows.Forms/ColumnWidthChangedEventArgs.xml +++ b/xml/System.Windows.Forms/ColumnWidthChangedEventArgs.xml @@ -31,7 +31,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet468"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet468"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet468"::: ]]> @@ -118,7 +118,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet468"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet468"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet468"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnWidthChangingEventArgs.xml b/xml/System.Windows.Forms/ColumnWidthChangingEventArgs.xml index da5b7f000bd..1c512aaa676 100644 --- a/xml/System.Windows.Forms/ColumnWidthChangingEventArgs.xml +++ b/xml/System.Windows.Forms/ColumnWidthChangingEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet469"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet469"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet469"::: ]]> @@ -173,7 +173,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet469"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet469"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet469"::: ]]> @@ -228,7 +228,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet469"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet469"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet469"::: ]]> diff --git a/xml/System.Windows.Forms/ComboBox+ObjectCollection.xml b/xml/System.Windows.Forms/ComboBox+ObjectCollection.xml index 03665b15ecf..1f8c9a49b5c 100644 --- a/xml/System.Windows.Forms/ComboBox+ObjectCollection.xml +++ b/xml/System.Windows.Forms/ComboBox+ObjectCollection.xml @@ -203,7 +203,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.vb" id="Snippet2"::: ]]> @@ -701,7 +701,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/CPP/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms/ComboBox.xml b/xml/System.Windows.Forms/ComboBox.xml index 5f7726587ea..0a70293f6af 100644 --- a/xml/System.Windows.Forms/ComboBox.xml +++ b/xml/System.Windows.Forms/ComboBox.xml @@ -87,7 +87,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxtype.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxtype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxtype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxtype.vb" id="Snippet1"::: ]]> @@ -656,7 +656,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxmembers.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxmembers.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb" id="Snippet3"::: ]]> @@ -816,7 +816,7 @@ The following example uses the property to display an array of weekdays in a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/DataSource/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.combobox.datasource/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/DataSource/form1.vb" id="Snippet1"::: ]]> @@ -995,7 +995,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/DrawItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb" id="Snippet1"::: ]]> @@ -1049,7 +1049,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/DrawItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb" id="Snippet1"::: ]]> @@ -1104,7 +1104,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.vb" id="Snippet2"::: ]]> @@ -1158,7 +1158,7 @@ To run the example code, paste it into a project that contains an instance of type named `ComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet168"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet168"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet168"::: ]]> @@ -1268,7 +1268,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/DrawItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb" id="Snippet1"::: ]]> @@ -1322,7 +1322,7 @@ To run the example code, paste it into a project that contains an instance of type named `ComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet166"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet166"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet166"::: ]]> @@ -1370,7 +1370,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/DrawItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb" id="Snippet1"::: ]]> @@ -1460,7 +1460,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxmembers.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxmembers.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb" id="Snippet3"::: ]]> @@ -1525,7 +1525,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxmembers.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxmembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb" id="Snippet4"::: ]]> @@ -1638,7 +1638,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/CPP/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet0"::: ]]> @@ -1698,7 +1698,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/CPP/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet0"::: ]]> @@ -2086,7 +2086,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxmembers.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxmembers.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb" id="Snippet2"::: ]]> @@ -2140,7 +2140,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/CPP/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet0"::: ]]> @@ -2261,7 +2261,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/DrawItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb" id="Snippet1"::: ]]> @@ -3375,7 +3375,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/OnSelectionChangeCommitted/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/OnSelectionChangeCommitted/form1.vb" id="Snippet1"::: ]]> @@ -4072,7 +4072,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxmembers.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxmembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb" id="Snippet4"::: ]]> @@ -4133,7 +4133,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/CPP/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet0"::: ]]> @@ -4204,7 +4204,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxmembers.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxmembers.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb" id="Snippet5"::: ]]> @@ -4313,7 +4313,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/OnSelectionChangeCommitted/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/OnSelectionChangeCommitted/form1.vb" id="Snippet1"::: ]]> @@ -4632,7 +4632,7 @@ Reading the property returns the te :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.vb" id="Snippet2"::: ]]> @@ -4685,7 +4685,7 @@ Reading the property returns the te To run the example code, paste it into a project that contains an instance of type named `ComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet167"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet167"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet167"::: ]]> @@ -4767,7 +4767,7 @@ The following code example demonstrates overriding the diff --git a/xml/System.Windows.Forms/ComboBoxRenderer.xml b/xml/System.Windows.Forms/ComboBoxRenderer.xml index 91e2ad656ea..6ab27af49c2 100644 --- a/xml/System.Windows.Forms/ComboBoxRenderer.xml +++ b/xml/System.Windows.Forms/ComboBoxRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBoxRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBoxRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -102,7 +102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBoxRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBoxRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -311,7 +311,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBoxRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBoxRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -497,7 +497,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBoxRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBoxRenderer/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ComboBoxStyle.xml b/xml/System.Windows.Forms/ComboBoxStyle.xml index e339aa4609e..17d3d55a3c8 100644 --- a/xml/System.Windows.Forms/ComboBoxStyle.xml +++ b/xml/System.Windows.Forms/ComboBoxStyle.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CommonDialog.xml b/xml/System.Windows.Forms/CommonDialog.xml index e64a726c3e5..0419200e2af 100644 --- a/xml/System.Windows.Forms/CommonDialog.xml +++ b/xml/System.Windows.Forms/CommonDialog.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ColorDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -122,7 +122,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/AnyColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/AnyColor/form1.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/HookProc Example/CPP/fontdialogoverride.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CommonDialog/HookProc/fontdialogoverride.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/HookProc Example/VB/fontdialogoverride.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CommonDialog/HookProc/fontdialogoverride.vb" id="Snippet1"::: ]]> @@ -403,7 +403,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ColorDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ContainerControl.xml b/xml/System.Windows.Forms/ContainerControl.xml index b7b81648b90..adfd679c05b 100644 --- a/xml/System.Windows.Forms/ContainerControl.xml +++ b/xml/System.Windows.Forms/ContainerControl.xml @@ -93,7 +93,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IContainerControl Implementation/CPP/mycontainercontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb" id="Snippet1"::: ]]> @@ -170,7 +170,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IContainerControl Implementation/CPP/mycontainercontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb" id="Snippet1"::: ]]> @@ -445,7 +445,7 @@ The following code example turns off implicit validation for a form and all of its contained controls, and instead manually performs validation of all of the form's children when a mouse button is clicked. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AutoValidate/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildren/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AutoValidate/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -1014,11 +1014,11 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ParentForm2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/ParentForm/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ParentForm2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/ParentForm/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ParentForm2/CPP/form2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/ParentForm/form2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ParentForm2/VB/form2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/ParentForm/form2.vb" id="Snippet2"::: ]]> @@ -1413,7 +1413,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IContainerControl Implementation/CPP/mycontainercontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb" id="Snippet1"::: ]]> @@ -1626,7 +1626,7 @@ The following code example turns off implicit validation for a form and all of its contained controls, and instead manually performs validation of all of the form's children when a mouse button is clicked. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AutoValidate/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildren/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AutoValidate/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -1692,7 +1692,7 @@ The following code example will only cause the event to occur for immediate children of the form whose property is `true`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/ValidateChildren/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildrenWithConstraints/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/ValidateChildren/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ContentsResizedEventArgs.xml b/xml/System.Windows.Forms/ContentsResizedEventArgs.xml index 86417f741c2..6d4356ec51b 100644 --- a/xml/System.Windows.Forms/ContentsResizedEventArgs.xml +++ b/xml/System.Windows.Forms/ContentsResizedEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet537"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet537"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet537"::: ]]> @@ -125,7 +125,7 @@ To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet537"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet537"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet537"::: ]]> diff --git a/xml/System.Windows.Forms/ContextMenu.xml b/xml/System.Windows.Forms/ContextMenu.xml index c490c2b87ac..d1a9a82d775 100644 --- a/xml/System.Windows.Forms/ContextMenu.xml +++ b/xml/System.Windows.Forms/ContextMenu.xml @@ -61,7 +61,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -141,7 +141,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -181,7 +181,7 @@ This class is not available in .NET Core 3.1 and later versions. Use named `ContextMenu1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet170"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet170"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet170"::: ]]> @@ -275,7 +275,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -424,7 +424,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -510,7 +510,7 @@ This class is not available in .NET Core 3.1 and later versions. Use diff --git a/xml/System.Windows.Forms/ContextMenuStrip.xml b/xml/System.Windows.Forms/ContextMenuStrip.xml index 8ea2b6d4404..f4b07a1562b 100644 --- a/xml/System.Windows.Forms/ContextMenuStrip.xml +++ b/xml/System.Windows.Forms/ContextMenuStrip.xml @@ -70,7 +70,7 @@ The following code example demonstrates a with dynamic item addition, dynamic determination with reuse, and handling of the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet40"::: ]]> @@ -347,7 +347,7 @@ The following code example demonstrates dynamic determination with reuse, and handling of the event. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet42"::: ]]> diff --git a/xml/System.Windows.Forms/Control+ControlAccessibleObject.xml b/xml/System.Windows.Forms/Control+ControlAccessibleObject.xml index 8118374a771..b0fd7a9cd25 100644 --- a/xml/System.Windows.Forms/Control+ControlAccessibleObject.xml +++ b/xml/System.Windows.Forms/Control+ControlAccessibleObject.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/CPP/controlaccessibility.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb" id="Snippet1"::: ]]> @@ -96,7 +96,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/CPP/controlaccessibility.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb" id="Snippet1"::: ]]> @@ -519,7 +519,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/CPP/controlaccessibility.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Control+ControlCollection.xml b/xml/System.Windows.Forms/Control+ControlCollection.xml index ddb88037eec..8b7ce0b3f3e 100644 --- a/xml/System.Windows.Forms/Control+ControlCollection.xml +++ b/xml/System.Windows.Forms/Control+ControlCollection.xml @@ -73,7 +73,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet4"::: ]]> @@ -162,7 +162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet2"::: ]]> @@ -242,7 +242,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet3"::: ]]> @@ -301,7 +301,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet1"::: ]]> @@ -355,7 +355,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet4"::: ]]> @@ -978,7 +978,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet4"::: ]]> @@ -1037,7 +1037,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/Control.xml b/xml/System.Windows.Forms/Control.xml index f5b8b157b00..fcaed3899db 100644 --- a/xml/System.Windows.Forms/Control.xml +++ b/xml/System.Windows.Forms/Control.xml @@ -450,7 +450,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet5"::: ]]> @@ -693,7 +693,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/CPP/controlaccessibility.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb" id="Snippet2"::: ]]> @@ -755,7 +755,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/CPP/controlaccessibility.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb" id="Snippet2"::: ]]> @@ -860,7 +860,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/CPP/imagedrag.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/AllowDrop/imagedrag.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/VB/imagedrag.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/AllowDrop/imagedrag.vb" id="Snippet1"::: ]]> @@ -937,7 +937,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet3"::: ]]> @@ -1153,7 +1153,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet1"::: ]]> @@ -1207,7 +1207,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/CPP/propertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb" id="Snippet1"::: ]]> @@ -1272,7 +1272,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet3"::: ]]> @@ -1330,7 +1330,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/CPP/propertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb" id="Snippet1"::: ]]> @@ -1436,7 +1436,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet9"::: ]]> @@ -1552,7 +1552,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_BeginInvoke/CPP/control_begininvoke.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BeginInvoke/control_begininvoke.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_BeginInvoke/VB/control_begininvoke.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BeginInvoke/control_begininvoke.vb" id="Snippet2"::: ]]> @@ -1641,7 +1641,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_BeginInvoke/CPP/control_begininvoke.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BeginInvoke/control_begininvoke.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_BeginInvoke/VB/control_begininvoke.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BeginInvoke/control_begininvoke.vb" id="Snippet1"::: ]]> @@ -1724,7 +1724,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/Overview/source.vb" id="Snippet1"::: ]]> @@ -1779,7 +1779,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Control.BindingContextChanged Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BindingContextChanged/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Control.BindingContextChanged Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BindingContextChanged/source.vb" id="Snippet1"::: ]]> @@ -1848,7 +1848,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyUp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bottom/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb" id="Snippet1"::: ]]> @@ -1913,7 +1913,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/CPP/controlsizelocation.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bounds/controlsizelocation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb" id="Snippet1"::: ]]> @@ -1962,7 +1962,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet1"::: ]]> @@ -2070,7 +2070,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/CPP/controlmembers6.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CanFocus/controlmembers6.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb" id="Snippet1"::: ]]> @@ -2202,7 +2202,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/CPP/controlmembers6.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CanFocus/controlmembers6.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb" id="Snippet2"::: ]]> @@ -2279,7 +2279,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlCapture/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Capture/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlCapture/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Capture/form1.vb" id="Snippet1"::: ]]> @@ -2338,7 +2338,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Validating/CPP/validating.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CausesValidation/validating.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Validating/VB/validating.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CausesValidation/validating.vb" id="Snippet2"::: ]]> @@ -2426,7 +2426,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> @@ -2562,7 +2562,7 @@ The following table lists Windows Forms controls and which event ( @@ -2634,7 +2634,7 @@ The following table lists Windows Forms controls and which event ( @@ -2706,7 +2706,7 @@ The following table lists Windows Forms controls and which event ( @@ -2753,7 +2753,7 @@ The following table lists Windows Forms controls and which event (, such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet12"::: ]]> @@ -2831,7 +2831,7 @@ The following table lists Windows Forms controls and which event ( @@ -2886,7 +2886,7 @@ The following table lists Windows Forms controls and which event ( @@ -3014,7 +3014,7 @@ The following table lists Windows Forms controls and which event ( @@ -3081,7 +3081,7 @@ The following table lists Windows Forms controls and which event ( @@ -3134,7 +3134,7 @@ The following table lists Windows Forms controls and which event ( objects to a . In addition it demonstrates setting the property of the form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ContextMenuStrip/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.ContextMenuStrip/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ContextMenuStrip/form1.vb" id="Snippet1"::: ]]> @@ -3179,7 +3179,7 @@ The following table lists Windows Forms controls and which event (, such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet14"::: ]]> @@ -3238,7 +3238,7 @@ The following table lists Windows Forms controls and which event ( @@ -3300,7 +3300,7 @@ The following table lists Windows Forms controls and which event ( @@ -3372,7 +3372,7 @@ The following table lists Windows Forms controls and which event ( @@ -3433,7 +3433,7 @@ The following table lists Windows Forms controls and which event ( @@ -3635,7 +3635,7 @@ The following table lists Windows Forms controls and which event ( @@ -3742,7 +3742,7 @@ The following table lists Windows Forms controls and which event ( @@ -3812,7 +3812,7 @@ The following table lists Windows Forms controls and which event ( @@ -3864,7 +3864,7 @@ The following table lists Windows Forms controls and which event ( @@ -3941,7 +3941,7 @@ The following table lists Windows Forms controls and which event ( @@ -4057,7 +4057,7 @@ The following table lists Windows Forms controls and which event ( @@ -4162,7 +4162,7 @@ The following table lists Windows Forms controls and which event ( @@ -4210,7 +4210,7 @@ The following table lists Windows Forms controls and which event ( @@ -4260,7 +4260,7 @@ The following table lists Windows Forms controls and which event ( @@ -4458,7 +4458,7 @@ The following table lists Windows Forms controls and which event ( @@ -4844,7 +4844,7 @@ The following table lists Windows Forms controls and which event ( @@ -4901,7 +4901,7 @@ The following table lists Windows Forms controls and which event ( @@ -5005,13 +5005,13 @@ The following table lists Windows Forms controls and which event ( enumeration to specify how data should be transferred between the controls involved in a drag-and-drop operation. This example requires that your form includes a control and a control and that the control is populated with a list of valid file names. When the user drags a file name onto the control, the control's event is raised. Within the event handler, the property of the is initialized to to indicate that the data referenced by the file path should be copied to the control. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextDragDrop/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextDragDrop/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form1.vb" id="Snippet1"::: ]]> @@ -5242,7 +5242,7 @@ The following table lists Windows Forms controls and which event ( @@ -5570,7 +5570,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet5"::: ]]> @@ -5662,7 +5662,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet7"::: ]]> @@ -5743,7 +5743,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet8"::: ]]> @@ -5829,7 +5829,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> @@ -5947,7 +5947,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet2"::: ]]> @@ -5994,7 +5994,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); The following code example uses two controls to demonstrate the event. Clicking one button changes the value of the property of the other button to `false` and displays a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/EnabledChanged/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.EnabledChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/EnabledChanged/form1.vb" id="Snippet1"::: ]]> @@ -6135,7 +6135,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Enter/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Enter/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Enter/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Enter/form1.vb" id="Snippet1"::: ]]> @@ -6189,7 +6189,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.FindForm/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Click/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.FindForm/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Click/form1.vb" id="Snippet1"::: ]]> @@ -6265,7 +6265,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/CPP/controlmembers6.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CanFocus/controlmembers6.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb" id="Snippet1"::: ]]> @@ -6331,7 +6331,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members2/CPP/controlmembers2.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Focused/controlmembers2.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members2/VB/controlmembers2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Focused/controlmembers2.vb" id="Snippet4"::: ]]> @@ -6415,7 +6415,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_Font/CPP/control_font.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Font/control_font.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_Font/VB/control_font.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Font/control_font.vb" id="Snippet1"::: ]]> @@ -6467,7 +6467,7 @@ MyControl.Font = New Font(MyControl.Font, _ The following code example demonstrates the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/FontChanged/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.FontChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/FontChanged/form1.vb" id="Snippet1"::: ]]> @@ -6560,7 +6560,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet1"::: ]]> @@ -6615,7 +6615,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/CPP/propertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb" id="Snippet1"::: ]]> @@ -7098,7 +7098,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/CPP/controlmembers6.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CanFocus/controlmembers6.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb" id="Snippet4"::: ]]> @@ -7212,7 +7212,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet3"::: ]]> @@ -7304,7 +7304,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet47"::: ]]> @@ -7375,7 +7375,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Handle/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb" id="Snippet2"::: ]]> @@ -7442,7 +7442,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet37"::: ]]> @@ -7510,7 +7510,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet38"::: ]]> @@ -7584,7 +7584,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet1"::: ]]> @@ -7655,7 +7655,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/CPP/controlsizelocation.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bounds/controlsizelocation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb" id="Snippet1"::: ]]> @@ -7705,7 +7705,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/CPP/helpevent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/HelpRequested/helpevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/VB/helpevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/HelpRequested/helpevent.vb" id="Snippet1"::: ]]> @@ -7759,7 +7759,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet2"::: ]]> @@ -7905,7 +7905,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/CPP/propertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb" id="Snippet1"::: ]]> @@ -8019,7 +8019,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/CPP/imagedrag.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/AllowDrop/imagedrag.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/VB/imagedrag.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/AllowDrop/imagedrag.vb" id="Snippet1"::: ]]> @@ -8303,7 +8303,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet40"::: ]]> @@ -8407,7 +8407,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_Invoke2/CPP/control_invoke2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Invoke/control_invoke2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_Invoke2/VB/control_invoke2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Invoke/control_invoke2.vb" id="Snippet1"::: ]]> @@ -8493,7 +8493,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_Invoke1/CPP/control_invoke1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Invoke/control_invoke1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_Invoke1/VB/control_invoke1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Invoke/control_invoke1.vb" id="Snippet1"::: ]]> @@ -9350,7 +9350,7 @@ MyControl.Font = New Font(MyControl.Font, _ The following code example shows you how to override the method for a control. In this example, the `TabTextBox` class handles the TAB key. When the `TabTextBox` has the focus and the user presses the TAB key four spaces are added at the text insertion point, replacing any selected text. By default, the control handles the TAB key by moving the input focus to the next control. In this case, the keypress never reaches the method override. To prevent this default behavior, the method override returns `true` when the user presses the TAB key. For all other keypresses, the method override returns the result of calling the base-class version of the method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/IsInputKey/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.IsInputKey/vb/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/IsInputKey/form1.vb" id="Snippet0"::: ]]> @@ -9402,7 +9402,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlIsKeyLocked/CPP/controliskeylocked.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/IsKeyLocked/controliskeylocked.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlIsKeyLocked/VB/controliskeylocked.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/IsKeyLocked/controliskeylocked.vb" id="Snippet1"::: ]]> @@ -9510,7 +9510,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.vb" id="Snippet1"::: ]]> @@ -9566,13 +9566,13 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: The following code example demonstrates the order of raising the , , events, and how to register event handlers on them. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/Form2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/Form2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/Form2.vb" id="Snippet1"::: ]]> @@ -9635,13 +9635,13 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: The following code example demonstrates the order of rising the , and events, also how to register event handlers on them. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/Form2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/Form2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/Form2.vb" id="Snippet1"::: ]]> @@ -9701,13 +9701,13 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyUp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bottom/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb" id="Snippet1"::: The following code example demonstrates the order of rising the , and events, also how to register event handlers on them. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/Form2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/Form2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/Form2.vb" id="Snippet1"::: ]]> @@ -9757,7 +9757,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Layout/CPP/layout.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BoundsSpecified/Overview/layout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Layout/VB/layout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BoundsSpecified/Overview/layout.vb" id="Snippet1"::: ]]> @@ -9905,7 +9905,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Enter/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Enter/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Enter/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Enter/form1.vb" id="Snippet1"::: ]]> @@ -9976,7 +9976,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/CPP/controlsizelocation.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bounds/controlsizelocation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb" id="Snippet1"::: ]]> @@ -10031,7 +10031,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet2"::: ]]> @@ -10079,7 +10079,7 @@ MyControl.Font = New Font(MyControl.Font, _ The following code example raises the event on a when the form is resized. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/LocationChanged/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LocationChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/LocationChanged/form1.vb" id="Snippet1"::: ]]> @@ -10236,7 +10236,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/CPP/filedialogform.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/DoEvents/filedialogform.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb" id="Snippet2"::: ]]> @@ -10329,7 +10329,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet21"::: ]]> @@ -10441,7 +10441,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet2"::: ]]> @@ -10482,7 +10482,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseButtons/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb" id="Snippet2"::: ]]> @@ -10535,7 +10535,7 @@ MyControl.Font = New Font(MyControl.Font, _ The following code example demonstrates the event for a control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseCaptureChanged/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.vb" id="Snippet1"::: To test this example, run it in the debugger by pressing F5. Open the **Output** window in Visual Studio so that you can see when events are raised. Click the and notice the following output. @@ -10611,7 +10611,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet54"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet54"::: ]]> @@ -10687,7 +10687,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet55"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet55"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet55"::: ]]> @@ -10752,7 +10752,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -10816,7 +10816,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -10884,7 +10884,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -10947,7 +10947,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -11011,7 +11011,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -11060,7 +11060,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet3"::: ]]> @@ -11122,7 +11122,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -11195,7 +11195,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -11242,7 +11242,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Move/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Move/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Move/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Move/form1.vb" id="Snippet1"::: ]]> @@ -11296,7 +11296,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.ControlRemoved/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ControlAdded/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb" id="Snippet1"::: ]]> @@ -11436,7 +11436,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -11499,7 +11499,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -11665,7 +11665,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -11778,13 +11778,13 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlOnClick/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnClick/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlOnClick/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnClick/form1.vb" id="Snippet1"::: The following code example shows one of the many uses of the event and event handler. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.FindForm/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Click/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.FindForm/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Click/form1.vb" id="Snippet1"::: ]]> @@ -11906,7 +11906,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -12018,7 +12018,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.ControlRemoved/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ControlAdded/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb" id="Snippet1"::: ]]> @@ -12080,7 +12080,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.ControlRemoved/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ControlAdded/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb" id="Snippet1"::: ]]> @@ -12190,7 +12190,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -12286,7 +12286,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -12347,7 +12347,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.DoubleClick/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoubleClick/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.DoubleClick/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoubleClick/form1.vb" id="Snippet1"::: ]]> @@ -12747,7 +12747,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Enter/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Enter/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Enter/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Enter/form1.vb" id="Snippet1"::: ]]> @@ -12809,7 +12809,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -12871,7 +12871,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -13201,7 +13201,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -13313,7 +13313,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> @@ -13373,7 +13373,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> @@ -13433,7 +13433,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyUp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bottom/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb" id="Snippet1"::: ]]> @@ -13548,7 +13548,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Enter/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Enter/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Enter/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Enter/form1.vb" id="Snippet1"::: ]]> @@ -13610,7 +13610,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14016,7 +14016,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DefaultBackColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DefaultBackColor/form1.vb" id="Snippet2"::: ]]> @@ -14129,7 +14129,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DefaultBackColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DefaultBackColor/form1.vb" id="Snippet2"::: ]]> @@ -14294,7 +14294,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Move/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Move/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Move/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Move/form1.vb" id="Snippet1"::: ]]> @@ -14445,11 +14445,11 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/CPP/imagedrag.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/AllowDrop/imagedrag.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/VB/imagedrag.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/AllowDrop/imagedrag.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Paint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnPaint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb" id="Snippet1"::: ]]> @@ -14560,7 +14560,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14626,7 +14626,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14688,7 +14688,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14750,7 +14750,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14894,7 +14894,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14956,7 +14956,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15018,7 +15018,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15080,7 +15080,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15142,7 +15142,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15455,7 +15455,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15724,7 +15724,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15784,7 +15784,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15948,7 +15948,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -16085,7 +16085,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet41"::: ]]> @@ -16134,7 +16134,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Paint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnPaint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb" id="Snippet1"::: ]]> @@ -16199,7 +16199,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.FindForm/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Click/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.FindForm/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Click/form1.vb" id="Snippet1"::: ]]> @@ -16311,7 +16311,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.PerformLayout/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/PerformLayout/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.PerformLayout/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/PerformLayout/form1.vb" id="Snippet1"::: ]]> @@ -16379,7 +16379,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.PerformLayout/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/PerformLayout/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.PerformLayout/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/PerformLayout/form1.vb" id="Snippet1"::: ]]> @@ -16436,7 +16436,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/CPP/imagedrag.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/AllowDrop/imagedrag.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/VB/imagedrag.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/AllowDrop/imagedrag.vb" id="Snippet1"::: ]]> @@ -16482,7 +16482,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseButtons/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb" id="Snippet2"::: ]]> @@ -16648,7 +16648,7 @@ MyControl.Font = New Font(MyControl.Font, _ The following code example demonstrates a that includes a . When the has the focus and you press the UP ARROW or DOWN ARROW keys, the appears. The event handler detects when the UP ARROW or DOWN ARROW keys are pressed and sets the property to `true`. This raises the event so that you can display the . You should not put any logic in the event handler, other than to set the property. Instead, you should put your logic in the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/PreviewKeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.previewkeydown/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/PreviewKeyDown/form1.vb" id="Snippet1"::: ]]> @@ -16986,7 +16986,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.vb" id="Snippet1"::: ]]> @@ -17062,7 +17062,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties3/CPP/aboutdialog.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CompanyName/aboutdialog.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties3/VB/aboutdialog.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CompanyName/aboutdialog.vb" id="Snippet1"::: ]]> @@ -17137,7 +17137,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties3/CPP/aboutdialog.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CompanyName/aboutdialog.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties3/VB/aboutdialog.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CompanyName/aboutdialog.vb" id="Snippet1"::: ]]> @@ -17213,7 +17213,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet3"::: ]]> @@ -17288,7 +17288,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet6"::: ]]> @@ -17659,7 +17659,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseButtons/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb" id="Snippet2"::: ]]> @@ -17817,7 +17817,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.Region/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Region/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.Region/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Region/form1.vb" id="Snippet1"::: ]]> @@ -17864,7 +17864,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet22"::: ]]> @@ -18383,7 +18383,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/WinForms.Control.Resize/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Resize/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WinForms.Control.Resize/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Resize/form1.vb" id="Snippet1"::: ]]> @@ -18504,7 +18504,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members2/CPP/controlmembers2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Focused/controlmembers2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members2/VB/controlmembers2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Focused/controlmembers2.vb" id="Snippet2"::: ]]> @@ -18626,11 +18626,11 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/CPP/controlsizelocation.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bounds/controlsizelocation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyUp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bottom/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb" id="Snippet1"::: ]]> @@ -18759,7 +18759,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/CPP/propertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb" id="Snippet1"::: ]]> @@ -19506,7 +19506,7 @@ The following code example selects the specified @@ -19647,12 +19647,12 @@ The following code example selects the specified method being used in a form that has some controls. Each time that you click the form, the next control is activated. The property gets the currently active control in the container control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/SelectNextControl/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.selectnextcontrol/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/SelectNextControl/form1.vb" id="Snippet1"::: The following code example shows the method being used in a form that has a and some other controls. When you click the , the next control after the is activated. Notice that you have to get the parent of the control. Since is not a container, calling directly on the would not change the activation. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/SelectNextControl/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.selectnextcontrol/vb/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/SelectNextControl/form1.vb" id="Snippet2"::: ]]> @@ -19824,7 +19824,7 @@ The following code example selects the specified @@ -19894,7 +19894,7 @@ The following code example selects the specified @@ -19958,7 +19958,7 @@ The following code example selects the specified @@ -20024,7 +20024,7 @@ The following code example selects the specified @@ -20164,7 +20164,7 @@ The following code example selects the specified @@ -20391,7 +20391,7 @@ The following code example selects the specified @@ -20441,7 +20441,7 @@ The following code example selects the specified @@ -20532,7 +20532,7 @@ The following code example selects the specified , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet68"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet68"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet68"::: ]]> @@ -20587,7 +20587,7 @@ The following code example selects the specified @@ -20801,7 +20801,7 @@ The following code example selects the specified , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet69"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet69"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet69"::: ]]> @@ -20860,7 +20860,7 @@ The following code example selects the specified @@ -20910,7 +20910,7 @@ The following code example selects the specified , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet25"::: ]]> @@ -20972,7 +20972,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet3"::: ]]> @@ -21021,7 +21021,7 @@ Note: This property will always return for an instance o To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet26"::: ]]> @@ -21089,7 +21089,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members2/CPP/controlmembers2.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Focused/controlmembers2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members2/VB/controlmembers2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Focused/controlmembers2.vb" id="Snippet3"::: ]]> @@ -21153,7 +21153,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet2"::: ]]> @@ -21204,7 +21204,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/CPP/propertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb" id="Snippet1"::: ]]> @@ -21275,7 +21275,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/CPP/controlsizelocation.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bounds/controlsizelocation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb" id="Snippet1"::: ]]> @@ -21604,7 +21604,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/CPP/controlmembers6.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CanFocus/controlmembers6.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb" id="Snippet3"::: ]]> @@ -21782,7 +21782,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Validating/CPP/validating.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CausesValidation/validating.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Validating/VB/validating.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CausesValidation/validating.vb" id="Snippet1"::: ]]> @@ -21865,7 +21865,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Validating/CPP/validating.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CausesValidation/validating.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Validating/VB/validating.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CausesValidation/validating.vb" id="Snippet1"::: ]]> @@ -21930,7 +21930,7 @@ If you set `Visible` to `true`: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Control.Visible Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Visible/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Control.Visible Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Visible/source.vb" id="Snippet1"::: ]]> @@ -21982,7 +21982,7 @@ If you set `Visible` to `true`: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_VisibleChanged/CPP/control_visiblechanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/VisibleChanged/control_visiblechanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_VisibleChanged/VB/control_visiblechanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/VisibleChanged/control_visiblechanged.vb" id="Snippet1"::: ]]> @@ -22051,7 +22051,7 @@ If you set `Visible` to `true`: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/CPP/controlsizelocation.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bounds/controlsizelocation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb" id="Snippet1"::: ]]> @@ -22163,7 +22163,7 @@ If you set `Visible` to `true`: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ControlBindingsCollection.xml b/xml/System.Windows.Forms/ControlBindingsCollection.xml index 3bf54b610a9..547079dcda1 100644 --- a/xml/System.Windows.Forms/ControlBindingsCollection.xml +++ b/xml/System.Windows.Forms/ControlBindingsCollection.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ControlBindingsCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ControlBindingsCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -167,7 +167,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ControlBindingsCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -236,7 +236,7 @@ The does not specify a valid colum :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ControlBindingsCollection/Add/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Add/source1.vb" id="Snippet1"::: ]]> @@ -719,7 +719,7 @@ The doesn't specify a valid member of the @@ -795,7 +795,7 @@ The doesn't specify a valid member of the @@ -896,7 +896,7 @@ The doesn't specify a valid member of the @@ -939,7 +939,7 @@ The doesn't specify a valid member of the @@ -988,7 +988,7 @@ The doesn't specify a valid member of the diff --git a/xml/System.Windows.Forms/ControlEventArgs.xml b/xml/System.Windows.Forms/ControlEventArgs.xml index 6cc1fb56fb0..064b8ece9a6 100644 --- a/xml/System.Windows.Forms/ControlEventArgs.xml +++ b/xml/System.Windows.Forms/ControlEventArgs.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.ControlRemoved/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ControlAdded/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb" id="Snippet1"::: ]]> @@ -92,7 +92,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.ControlRemoved/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ControlAdded/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb" id="Snippet1"::: ]]> @@ -140,7 +140,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.ControlRemoved/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ControlAdded/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ControlEventHandler.xml b/xml/System.Windows.Forms/ControlEventHandler.xml index 1e00652e768..80878cc5fc9 100644 --- a/xml/System.Windows.Forms/ControlEventHandler.xml +++ b/xml/System.Windows.Forms/ControlEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ControlEventHandler Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ControlEventHandler/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlEventHandler Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ControlEventHandler/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ControlPaint.xml b/xml/System.Windows.Forms/ControlPaint.xml index 0d135b3b28e..631f087b48d 100644 --- a/xml/System.Windows.Forms/ControlPaint.xml +++ b/xml/System.Windows.Forms/ControlPaint.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ButtonState/CPP/buttonstate1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonState/Overview/buttonstate1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ButtonState/VB/buttonstate1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonState/Overview/buttonstate1.vb" id="Snippet2"::: ]]> @@ -398,7 +398,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -467,7 +467,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -527,7 +527,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -576,7 +576,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -627,7 +627,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -692,7 +692,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -751,7 +751,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -807,7 +807,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -906,7 +906,7 @@ The caller is responsible for deallocating the bitmap. ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ButtonState/CPP/buttonstate1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonState/Overview/buttonstate1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ButtonState/VB/buttonstate1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonState/Overview/buttonstate1.vb" id="Snippet2"::: ]]> @@ -966,7 +966,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1022,7 +1022,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1297,7 +1297,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Handle/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb" id="Snippet2"::: ]]> @@ -1351,7 +1351,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Handle/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb" id="Snippet2"::: ]]> @@ -1970,7 +1970,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseButtons/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb" id="Snippet2"::: ]]> @@ -2025,7 +2025,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Handle/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb" id="Snippet3"::: ]]> @@ -2461,7 +2461,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Handle/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ControlStyles.xml b/xml/System.Windows.Forms/ControlStyles.xml index 812360c9c06..b27e7b63ca4 100644 --- a/xml/System.Windows.Forms/ControlStyles.xml +++ b/xml/System.Windows.Forms/ControlStyles.xml @@ -60,7 +60,7 @@ myControl.SetStyle(UserPaint Or AllPaintingInWmPaint Or DoubleBuffer, True) :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_StyleChanged/CPP/control_stylechanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ControlStyles/Overview/control_stylechanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_StyleChanged/VB/control_stylechanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ControlStyles/Overview/control_stylechanged.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ConvertEventArgs.xml b/xml/System.Windows.Forms/ConvertEventArgs.xml index dae794a2e0b..fc762e03f6e 100644 --- a/xml/System.Windows.Forms/ConvertEventArgs.xml +++ b/xml/System.Windows.Forms/ConvertEventArgs.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ConvertEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ConvertEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -140,7 +140,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ConvertEventArgs.DesiredType Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ConvertEventArgs/DesiredType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs.DesiredType Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/DesiredType/source.vb" id="Snippet1"::: ]]> @@ -200,7 +200,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ConvertEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ConvertEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ConvertEventHandler.xml b/xml/System.Windows.Forms/ConvertEventHandler.xml index 6440a94f15c..e1eb3557d08 100644 --- a/xml/System.Windows.Forms/ConvertEventHandler.xml +++ b/xml/System.Windows.Forms/ConvertEventHandler.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ConvertEventHandler Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ConvertEventHandler/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventHandler Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ConvertEventHandler/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CreateParams.xml b/xml/System.Windows.Forms/CreateParams.xml index 71f471df658..6e764e57c55 100644 --- a/xml/System.Windows.Forms/CreateParams.xml +++ b/xml/System.Windows.Forms/CreateParams.xml @@ -47,13 +47,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CreateParams/CPP/createparams.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/createparams.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb" id="Snippet1"::: The following code example creates an instance of a standard control and an instance of the derived control, `MyIconButton`, created in the example above. This example requires that there is an file named Default.ico in the same location as the application. When the application starts, the `Default` icon is displayed on the `MyIconButton` button. If the `Default` icon is not present, the button face is blank. When the standard is clicked, an box will appear so you can select a new Icon to display on the `MyIconButton`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CreateParams/CPP/createparams.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/createparams.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb" id="Snippet2"::: ]]> @@ -469,7 +469,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CreateParams/CPP/createparams.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/createparams.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CurrencyManager.xml b/xml/System.Windows.Forms/CurrencyManager.xml index 19541c00d6a..12954068bd1 100644 --- a/xml/System.Windows.Forms/CurrencyManager.xml +++ b/xml/System.Windows.Forms/CurrencyManager.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Overview/source.vb" id="Snippet1"::: ]]> @@ -99,7 +99,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.AddNew Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/AddNew/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.AddNew Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/AddNew/source.vb" id="Snippet1"::: ]]> @@ -151,7 +151,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.CancelCurrentEdit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/CancelCurrentEdit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.CancelCurrentEdit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/CancelCurrentEdit/source.vb" id="Snippet1"::: ]]> @@ -227,7 +227,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Count/source.vb" id="Snippet1"::: ]]> @@ -276,7 +276,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.Current Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/Current/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Current Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Current/source.vb" id="Snippet1"::: ]]> @@ -328,7 +328,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.EndCurrentEdit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/EndCurrentEdit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.EndCurrentEdit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/EndCurrentEdit/source.vb" id="Snippet1"::: ]]> @@ -407,7 +407,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.GetItemProperties Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/GetItemProperties/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.GetItemProperties Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/GetItemProperties/source.vb" id="Snippet1"::: ]]> @@ -513,7 +513,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.ItemChanged Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/ItemChanged/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.ItemChanged Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/ItemChanged/source.vb" id="Snippet1"::: ]]> @@ -581,7 +581,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CurrencyManager.List Example/CPP/list.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/List/list.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CurrencyManager.List Example/VB/list.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/List/list.vb" id="Snippet1"::: ]]> @@ -633,7 +633,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `CurrencyManager1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet192"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet192"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet192"::: ]]> @@ -719,7 +719,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `CurrencyManager1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet193"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet193"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet193"::: ]]> @@ -974,7 +974,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.Position Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/Position/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Position Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Position/source.vb" id="Snippet1"::: ]]> @@ -1022,7 +1022,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.Refresh Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/Refresh/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Refresh Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Refresh/source.vb" id="Snippet1"::: ]]> @@ -1071,7 +1071,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.RemoveAt Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/RemoveAt/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.RemoveAt Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/RemoveAt/source.vb" id="Snippet1"::: ]]> @@ -1122,7 +1122,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/CPP/bindingmanagerbase_suspend_resume_binding.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/VB/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet2"::: ]]> @@ -1175,7 +1175,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/CPP/bindingmanagerbase_suspend_resume_binding.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/VB/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Cursor.xml b/xml/System.Windows.Forms/Cursor.xml index d8ddf60c0f5..5f99160e0d6 100644 --- a/xml/System.Windows.Forms/Cursor.xml +++ b/xml/System.Windows.Forms/Cursor.xml @@ -91,13 +91,13 @@ The following code example displays a form that demonstrates using a custom cursor. The custom is embedded in the application's resource file. The example requires a cursor contained in a cursor file named `MyCursor.cur`. To compile this example using the command line, include the following flag: `/res:MyCursor.Cur, CustomCursor.MyCursor.Cur` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/customcursor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor/VB/customcursor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/customcursor.vb" id="Snippet1"::: The following code example displays customer information in a control. The root tree nodes display customer names, and the child tree nodes display the order numbers assigned to each customer. In this example, 1,000 customers are displayed with 15 orders each. The repainting of the is suppressed by using the and methods, and a wait is displayed while the creates and paints the objects. This example requires that you have a cursor file named `MyWait.cur` in the application directory. It also requires a `Customer` object that can hold a collection of `Order` objects, and that you have created an instance of a control on a . :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -152,7 +152,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet1"::: ]]> @@ -202,7 +202,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CursorFromResource/CPP/mycursor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/mycursor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CursorFromResource/VB/mycursor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/mycursor.vb" id="Snippet1"::: ]]> @@ -251,7 +251,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -305,7 +305,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb The following code example displays a form that demonstrates using a custom cursor by using the constructor. The custom is embedded in the application's resource file. The example requires that you have a cursor contained in a cursor file named `MyCursor.cur`. To compile this example using the command line, include the following flag: `/res:MyCursor.Cur, CustomCursor.MyCursor.Cur` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/customcursor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor/VB/customcursor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/customcursor.vb" id="Snippet1"::: ]]> @@ -356,7 +356,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet1"::: ]]> @@ -491,7 +491,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> @@ -541,7 +541,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> @@ -592,7 +592,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> @@ -639,7 +639,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet1"::: ]]> @@ -744,7 +744,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet1"::: ]]> @@ -791,7 +791,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CursorFromResource/CPP/mycursor.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/mycursor.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CursorFromResource/VB/mycursor.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/mycursor.vb" id="Snippet3"::: ]]> @@ -875,7 +875,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> @@ -924,7 +924,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> @@ -970,7 +970,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet1"::: ]]> @@ -1016,7 +1016,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CursorFromResource/CPP/mycursor.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/mycursor.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CursorFromResource/VB/mycursor.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/mycursor.vb" id="Snippet3"::: ]]> @@ -1057,7 +1057,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/Cursors.xml b/xml/System.Windows.Forms/Cursors.xml index cdbda787e21..0182100a117 100644 --- a/xml/System.Windows.Forms/Cursors.xml +++ b/xml/System.Windows.Forms/Cursors.xml @@ -48,13 +48,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursors/CPP/cursorexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CursorChanged/cursorexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursors/VB/cursorexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CursorChanged/cursorexample.vb" id="Snippet1"::: The following example draws the specified cursor on the form in its normal size, and in stretched mode, twice its size. This example assumes that you have a and a object to pass into the method when it is called. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> @@ -155,7 +155,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursors/Cross/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursors/Cross/form1.vb" id="Snippet1"::: ]]> @@ -226,7 +226,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DefaultBackColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DefaultBackColor/form1.vb" id="Snippet2"::: ]]> @@ -267,7 +267,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursors/Cross/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursors/Cross/form1.vb" id="Snippet1"::: ]]> @@ -878,7 +878,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursors/Cross/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursors/Cross/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataFormats+Format.xml b/xml/System.Windows.Forms/DataFormats+Format.xml index 71a3d62efbb..2fb6a85728d 100644 --- a/xml/System.Windows.Forms/DataFormats+Format.xml +++ b/xml/System.Windows.Forms/DataFormats+Format.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataFormats.GetFormat Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats+Format/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.GetFormat Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats+Format/Overview/source.vb" id="Snippet1"::: ]]> @@ -96,7 +96,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataFormats.Format.Format Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats+Format/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.Format.Format Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats+Format/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataFormats.xml b/xml/System.Windows.Forms/DataFormats.xml index 65b1357aaf8..02db2c2df19 100644 --- a/xml/System.Windows.Forms/DataFormats.xml +++ b/xml/System.Windows.Forms/DataFormats.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataFormats Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats/Overview/source.vb" id="Snippet1"::: ]]> @@ -273,7 +273,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataFormats_CommaSeparatedValue/CPP/dataformats_dif.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats/Dif/dataformats_dif.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_CommaSeparatedValue/VB/dataformats_dif.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats/Dif/dataformats_dif.vb" id="Snippet1"::: ]]> @@ -457,7 +457,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataFormats_GetFormat/CPP/dataformats_getformat.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats/GetFormat/dataformats_getformat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_GetFormat/VB/dataformats_getformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats/GetFormat/dataformats_getformat.vb" id="Snippet1"::: ]]> @@ -511,7 +511,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataFormats.GetFormat Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats+Format/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.GetFormat Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats+Format/Overview/source.vb" id="Snippet1"::: ]]> @@ -1032,7 +1032,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataFormats_StringFormat/CPP/dataformats_stringformat.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats/StringFormat/dataformats_stringformat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_StringFormat/VB/dataformats_stringformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats/StringFormat/dataformats_stringformat.vb" id="Snippet1"::: ]]> @@ -1143,7 +1143,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataFormats_UnicodeText1/CPP/dataformats_unicodetext.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats/Text/dataformats_unicodetext.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_UnicodeText1/VB/dataformats_unicodetext.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats/Text/dataformats_unicodetext.vb" id="Snippet2"::: ]]> @@ -1254,7 +1254,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataFormats_UnicodeText1/CPP/dataformats_unicodetext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats/Text/dataformats_unicodetext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_UnicodeText1/VB/dataformats_unicodetext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats/Text/dataformats_unicodetext.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGrid+HitTestInfo.xml b/xml/System.Windows.Forms/DataGrid+HitTestInfo.xml index 53c5983e061..a4beaf5d6b2 100644 --- a/xml/System.Windows.Forms/DataGrid+HitTestInfo.xml +++ b/xml/System.Windows.Forms/DataGrid+HitTestInfo.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Overview/source.vb" id="Snippet1"::: ]]> @@ -97,7 +97,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Column Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/Column/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Column Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Column/source.vb" id="Snippet1"::: ]]> @@ -139,7 +139,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Nowhere Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/Equals/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Nowhere Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Equals/source.vb" id="Snippet1"::: ]]> @@ -182,7 +182,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.GetHashCode Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/GetHashCode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.GetHashCode Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/GetHashCode/source.vb" id="Snippet1"::: ]]> @@ -224,7 +224,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Nowhere Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/Equals/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Nowhere Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Equals/source.vb" id="Snippet1"::: ]]> @@ -274,7 +274,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Row Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/Row/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Row Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Row/source.vb" id="Snippet1"::: ]]> @@ -312,7 +312,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.ToString Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/ToString/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.ToString Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/ToString/source.vb" id="Snippet1"::: ]]> @@ -356,7 +356,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Type Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/Type/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Type Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Type/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGrid+HitTestType.xml b/xml/System.Windows.Forms/DataGrid+HitTestType.xml index b3b9a5368d0..e198a5d89a5 100644 --- a/xml/System.Windows.Forms/DataGrid+HitTestType.xml +++ b/xml/System.Windows.Forms/DataGrid+HitTestType.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestType Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestType/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestType Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestType/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGrid.xml b/xml/System.Windows.Forms/DataGrid.xml index ccd91330732..7ddf955f69f 100644 --- a/xml/System.Windows.Forms/DataGrid.xml +++ b/xml/System.Windows.Forms/DataGrid.xml @@ -178,7 +178,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -217,7 +217,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the and uses the method to set the and properties. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataGrid Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/.ctor/source.vb" id="Snippet1"::: ]]> @@ -270,7 +270,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -309,7 +309,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -362,7 +362,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -405,7 +405,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the to a value. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.AlternatingBackColor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/AlternatingBackColor/source.vb" id="Snippet1"::: ]]> @@ -444,7 +444,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -486,7 +486,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -527,7 +527,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -562,7 +562,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -758,7 +758,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -841,7 +841,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -881,7 +881,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the named `DataGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet194"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet194"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet194"::: ]]> @@ -938,7 +938,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property of the control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionBackColor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionBackColor/source.vb" id="Snippet1"::: ]]> @@ -988,7 +988,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the object. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionFont Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionFont/source.vb" id="Snippet1"::: ]]> @@ -1023,7 +1023,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property of the control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionForeColor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionForeColor/source.vb" id="Snippet1"::: ]]> @@ -1070,7 +1070,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1119,7 +1119,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionVisible Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionVisible/source.vb" id="Snippet1"::: ]]> @@ -1153,7 +1153,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1200,7 +1200,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Collapse Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/Collapse/source.vb" id="Snippet1"::: ]]> @@ -1241,7 +1241,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ColumnHeadersVisible Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/ColumnHeadersVisible/source.vb" id="Snippet1"::: ]]> @@ -1485,7 +1485,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1526,7 +1526,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1580,7 +1580,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1725,7 +1725,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1817,7 +1817,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1860,7 +1860,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1927,7 +1927,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the method to free resources. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Dispose Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/Dispose/source.vb" id="Snippet1"::: ]]> @@ -1979,7 +1979,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2057,7 +2057,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2108,7 +2108,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2151,7 +2151,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2185,7 +2185,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2220,7 +2220,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2268,7 +2268,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2315,7 +2315,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2358,7 +2358,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2453,7 +2453,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2498,7 +2498,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property to show no lines. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GridLineStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/GridLineStyle/source.vb" id="Snippet1"::: ]]> @@ -2561,7 +2561,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2628,7 +2628,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2683,7 +2683,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the method in occurs when a user clicks on a grid. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTest1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/HitTest/source1.vb" id="Snippet1"::: ]]> @@ -2730,7 +2730,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the method in an event that occurs when the user clicks in the grid. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTest Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/HitTest/source.vb" id="Snippet1"::: ]]> @@ -2802,7 +2802,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2848,7 +2848,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2901,7 +2901,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2949,7 +2949,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -3099,7 +3099,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -3137,7 +3137,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -3176,7 +3176,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -3855,7 +3855,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4355,7 +4355,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property to a new color. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsBackColor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsBackColor/source.vb" id="Snippet1"::: ]]> @@ -4388,7 +4388,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property to a new color. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsForeColor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsForeColor/source.vb" id="Snippet1"::: ]]> @@ -4435,7 +4435,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsLabelStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsLabelStyle/source.vb" id="Snippet1"::: ]]> @@ -4474,7 +4474,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4514,7 +4514,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsVisible Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsVisible/source.vb" id="Snippet1"::: ]]> @@ -4548,7 +4548,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4602,7 +4602,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4651,7 +4651,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4830,7 +4830,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ReadOnly Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/ReadOnly/source.vb" id="Snippet1"::: ]]> @@ -4865,7 +4865,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4906,7 +4906,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4946,7 +4946,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4985,7 +4985,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5031,7 +5031,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5071,7 +5071,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5111,7 +5111,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5151,7 +5151,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5191,7 +5191,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5293,7 +5293,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5333,7 +5333,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5436,7 +5436,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5470,7 +5470,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5513,7 +5513,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5553,7 +5553,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5588,7 +5588,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5637,7 +5637,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -6140,7 +6140,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -6261,7 +6261,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -6390,7 +6390,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -6473,7 +6473,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -6523,7 +6523,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.VisibleRowCount Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/VisibleRowCount/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridBoolColumn.xml b/xml/System.Windows.Forms/DataGridBoolColumn.xml index acf01921793..57f0f30824d 100644 --- a/xml/System.Windows.Forms/DataGridBoolColumn.xml +++ b/xml/System.Windows.Forms/DataGridBoolColumn.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridBoolColumn overview/CPP/boolcolumn.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/Overview/boolcolumn.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn overview/VB/boolcolumn.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/Overview/boolcolumn.vb" id="Snippet1"::: ]]> @@ -98,7 +98,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/.ctor/source.vb" id="Snippet1"::: ]]> @@ -144,7 +144,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn.DataGridBoolColumn1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.DataGridBoolColumn1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -260,7 +260,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn.AllowNull Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/AllowNull/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.AllowNull Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNull/source.vb" id="Snippet1"::: ]]> @@ -297,7 +297,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridBoolColumn/CPP/datagridboolcolumn.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn/VB/datagridboolcolumn.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.vb" id="Snippet2"::: ]]> @@ -444,7 +444,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn.EnterNullValue Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/EnterNullValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.EnterNullValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/EnterNullValue/source.vb" id="Snippet1"::: ]]> @@ -501,7 +501,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.vb" id="Snippet1"::: ]]> @@ -535,7 +535,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridBoolColumn/CPP/datagridboolcolumn.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn/VB/datagridboolcolumn.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.vb" id="Snippet3"::: ]]> @@ -718,7 +718,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.vb" id="Snippet1"::: ]]> @@ -933,7 +933,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.vb" id="Snippet1"::: ]]> @@ -974,7 +974,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridBoolColumn/CPP/datagridboolcolumn.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn/VB/datagridboolcolumn.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridCell.xml b/xml/System.Windows.Forms/DataGridCell.xml index 5de835d32b1..de7a9e55bf3 100644 --- a/xml/System.Windows.Forms/DataGridCell.xml +++ b/xml/System.Windows.Forms/DataGridCell.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridCell Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridCell/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/Overview/source.vb" id="Snippet1"::: ]]> @@ -94,7 +94,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridCell.DataGridCell Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridCell/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.DataGridCell Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/.ctor/source.vb" id="Snippet1"::: ]]> @@ -154,7 +154,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridCell.ColumnNumber Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridCell/ColumnNumber/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ColumnNumber Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/ColumnNumber/source.vb" id="Snippet1"::: ]]> @@ -195,7 +195,7 @@ ## Examples The following example compares two objects. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.Equals Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/Equals/source.vb" id="Snippet1"::: ]]> @@ -230,7 +230,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridCell.GetHashCode Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridCell/GetHashCode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.GetHashCode Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/GetHashCode/source.vb" id="Snippet1"::: ]]> @@ -286,7 +286,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridCell.ColumnNumber Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridCell/ColumnNumber/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ColumnNumber Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/ColumnNumber/source.vb" id="Snippet1"::: ]]> @@ -321,7 +321,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridCell.ToString Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridCell/ToString/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ToString Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/ToString/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridColumnStyle.xml b/xml/System.Windows.Forms/DataGridColumnStyle.xml index 1312f6f7ae2..779ee17d95d 100644 --- a/xml/System.Windows.Forms/DataGridColumnStyle.xml +++ b/xml/System.Windows.Forms/DataGridColumnStyle.xml @@ -88,7 +88,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle Overview/CPP/timecolumn.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/Overview/timecolumn.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle Overview/VB/timecolumn.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Overview/timecolumn.vb" id="Snippet1"::: ]]> @@ -198,7 +198,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridColumnStyle1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridColumnStyle1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/.ctor/source.vb" id="Snippet1"::: ]]> @@ -287,7 +287,7 @@ ## Examples The following code example sets the property for each column in a to `HorizontalAlignment.Center` if the data isn't a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Alignment Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Alignment/source.vb" id="Snippet1"::: ]]> @@ -321,7 +321,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_AlignmentChanged/CPP/datagridcolumnstyle_alignmentchanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/AlignmentChanged/datagridcolumnstyle_alignmentchanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_AlignmentChanged/VB/datagridcolumnstyle_alignmentchanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/AlignmentChanged/datagridcolumnstyle_alignmentchanged.vb" id="Snippet1"::: ]]> @@ -391,7 +391,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.CheckValidDataSource Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/CheckValidDataSource/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.CheckValidDataSource Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/CheckValidDataSource/source.vb" id="Snippet1"::: ]]> @@ -467,7 +467,7 @@ ## Examples The following code example shows a possible override of the method. The code invokes the method, and then sets a variable that allows other functions to determine whether the column is still in edit more. The code then calls the method to redraw the control. Finally, the function returns `true` to indicate the change has been committed. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Commit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Commit/source.vb" id="Snippet1"::: ]]> @@ -516,7 +516,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.ConcedeFocus Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/ConcedeFocus/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.ConcedeFocus Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ConcedeFocus/source.vb" id="Snippet1"::: ]]> @@ -601,7 +601,7 @@ ## Examples The following code example prints the of a that contains a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridTableStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/DataGridTableStyle/source.vb" id="Snippet1"::: ]]> @@ -721,7 +721,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.Edit1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/Edit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Edit1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Edit/source.vb" id="Snippet1"::: ]]> @@ -844,7 +844,7 @@ ## Examples The following code example shows a possible override of the method. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.EnterNullValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/EnterNullValue/source.vb" id="Snippet1"::: ]]> @@ -968,7 +968,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetMinimumHeight Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/GetMinimumHeight/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetMinimumHeight Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetMinimumHeight/source.vb" id="Snippet1"::: ]]> @@ -1016,7 +1016,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredHeight Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/GetPreferredHeight/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredHeight Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetPreferredHeight/source.vb" id="Snippet1"::: ]]> @@ -1064,7 +1064,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredSize Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/GetPreferredSize/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredSize Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetPreferredSize/source.vb" id="Snippet1"::: ]]> @@ -1146,7 +1146,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.HeaderText Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/HeaderText/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.HeaderText Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/HeaderText/source.vb" id="Snippet1"::: ]]> @@ -1182,7 +1182,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_HeaderTextChanged/CPP/datagridcolumnstyle_headertextchanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/HeaderTextChanged/datagridcolumnstyle_headertextchanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_HeaderTextChanged/VB/datagridcolumnstyle_headertextchanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/HeaderTextChanged/datagridcolumnstyle_headertextchanged.vb" id="Snippet1"::: ]]> @@ -1284,7 +1284,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet4"::: ]]> @@ -1318,7 +1318,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_MappingNameChanged/CPP/datagridcolumnstyle_mappingnamechanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingNameChanged/datagridcolumnstyle_mappingnamechanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_MappingNameChanged/VB/datagridcolumnstyle_mappingnamechanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingNameChanged/datagridcolumnstyle_mappingnamechanged.vb" id="Snippet1"::: ]]> @@ -1368,7 +1368,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.NullText Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/NullText/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.NullText Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/NullText/source.vb" id="Snippet1"::: ]]> @@ -1403,7 +1403,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_NullTextChanged/CPP/datagridcolumnstyle_nulltextchanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/NullTextChanged/datagridcolumnstyle_nulltextchanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_NullTextChanged/VB/datagridcolumnstyle_nulltextchanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/NullTextChanged/datagridcolumnstyle_nulltextchanged.vb" id="Snippet1"::: ]]> @@ -1584,7 +1584,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.PropertyDescriptor Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.PropertyDescriptor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptor/source.vb" id="Snippet1"::: ]]> @@ -1632,7 +1632,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_PropertyDescriptorChanged/CPP/propertydescriptorchanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptorChanged/propertydescriptorchanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_PropertyDescriptorChanged/VB/propertydescriptorchanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptorChanged/propertydescriptorchanged.vb" id="Snippet1"::: ]]> @@ -1685,7 +1685,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.ReadOnly Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/ReadOnly/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.ReadOnly Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ReadOnly/source.vb" id="Snippet1"::: ]]> @@ -1721,7 +1721,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_ReadOnlyChanged/CPP/datagridcolumnstyle_readonlychanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/ReadOnlyChanged/datagridcolumnstyle_readonlychanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_ReadOnlyChanged/VB/datagridcolumnstyle_readonlychanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ReadOnlyChanged/datagridcolumnstyle_readonlychanged.vb" id="Snippet1"::: ]]> @@ -1798,7 +1798,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_ResetHeaderText/CPP/datagridcolumnstyle_resetheadertext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/ResetHeaderText/datagridcolumnstyle_resetheadertext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_ResetHeaderText/VB/datagridcolumnstyle_resetheadertext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ResetHeaderText/datagridcolumnstyle_resetheadertext.vb" id="Snippet1"::: ]]> @@ -1998,7 +1998,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.UpdateUI Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/UpdateUI/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.UpdateUI Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/UpdateUI/source.vb" id="Snippet1"::: ]]> @@ -2045,7 +2045,7 @@ ## Examples The following code example sets the width of a to a new value. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Width Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Width/source.vb" id="Snippet1"::: ]]> @@ -2080,7 +2080,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_WidthChanged/CPP/datagridcolumnstyle_widthchanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/WidthChanged/datagridcolumnstyle_widthchanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_WidthChanged/VB/datagridcolumnstyle_widthchanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/WidthChanged/datagridcolumnstyle_widthchanged.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridLineStyle.xml b/xml/System.Windows.Forms/DataGridLineStyle.xml index b8918614437..6fd5c37d95a 100644 --- a/xml/System.Windows.Forms/DataGridLineStyle.xml +++ b/xml/System.Windows.Forms/DataGridLineStyle.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridLineStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridLineStyle/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridLineStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridLineStyle/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridParentRowsLabelStyle.xml b/xml/System.Windows.Forms/DataGridParentRowsLabelStyle.xml index a0d1bc783f5..2e8b7563a34 100644 --- a/xml/System.Windows.Forms/DataGridParentRowsLabelStyle.xml +++ b/xml/System.Windows.Forms/DataGridParentRowsLabelStyle.xml @@ -44,7 +44,7 @@ ## Examples The following example iterates through each of the possible values for the . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridParentRowsLabelStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridParentRowsLabelStyle/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridTableStyle.xml b/xml/System.Windows.Forms/DataGridTableStyle.xml index f72e1ac8cdd..bdda864c619 100644 --- a/xml/System.Windows.Forms/DataGridTableStyle.xml +++ b/xml/System.Windows.Forms/DataGridTableStyle.xml @@ -126,7 +126,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/Overview/source.vb" id="Snippet1"::: ]]> @@ -176,7 +176,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source.vb" id="Snippet1"::: ]]> @@ -212,7 +212,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source.vb" id="Snippet1"::: ]]> @@ -247,7 +247,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -300,7 +300,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample2/CPP/datagridtablestyle_sample2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/AllowSorting/datagridtablestyle_sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample2/VB/datagridtablestyle_sample2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AllowSorting/datagridtablestyle_sample2.vb" id="Snippet1"::: ]]> @@ -341,7 +341,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample2/CPP/datagridtablestyle_sample2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/AllowSorting/datagridtablestyle_sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample2/VB/datagridtablestyle_sample2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AllowSorting/datagridtablestyle_sample2.vb" id="Snippet1"::: ]]> @@ -376,7 +376,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_sample5/CPP/datagridtablestyle_sample5.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample5/VB/datagridtablestyle_sample5.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.vb" id="Snippet1"::: ]]> @@ -416,7 +416,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `DataGridTableStyle1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet221"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet221"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet221"::: ]]> @@ -456,7 +456,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_sample5/CPP/datagridtablestyle_sample5.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample5/VB/datagridtablestyle_sample5.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.vb" id="Snippet1"::: ]]> @@ -496,7 +496,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `DataGridTableStyle1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet222"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet222"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet222"::: ]]> @@ -548,7 +548,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.BeginEdit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/BeginEdit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.BeginEdit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/BeginEdit/source.vb" id="Snippet1"::: ]]> @@ -601,7 +601,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample3/CPP/datagridtablestyle_sample3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ColumnHeadersVisible/datagridtablestyle_sample3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample3/VB/datagridtablestyle_sample3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ColumnHeadersVisible/datagridtablestyle_sample3.vb" id="Snippet1"::: ]]> @@ -648,7 +648,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample3/CPP/datagridtablestyle_sample3.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ColumnHeadersVisible/datagridtablestyle_sample3.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample3/VB/datagridtablestyle_sample3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ColumnHeadersVisible/datagridtablestyle_sample3.vb" id="Snippet2"::: ]]> @@ -781,7 +781,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGrid Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/DataGrid/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGrid Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/DataGrid/source.vb" id="Snippet1"::: ]]> @@ -894,7 +894,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.EndEdit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/EndEdit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.EndEdit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/EndEdit/source.vb" id="Snippet1"::: ]]> @@ -931,7 +931,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ForeColor/CPP/datagridtablestyle_forecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ForeColor/datagridtablestyle_forecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ForeColor/VB/datagridtablestyle_forecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ForeColor/datagridtablestyle_forecolor.vb" id="Snippet1"::: ]]> @@ -971,7 +971,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `DataGridTableStyle1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet223"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet223"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet223"::: ]]> @@ -1027,7 +1027,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.GridColumnStyles Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/GridColumnStyles/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.GridColumnStyles Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridColumnStyles/source.vb" id="Snippet1"::: ]]> @@ -1062,7 +1062,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_sample5/CPP/datagridtablestyle_sample5.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample5/VB/datagridtablestyle_sample5.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.vb" id="Snippet2"::: ]]> @@ -1101,7 +1101,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_sample5/CPP/datagridtablestyle_sample5.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample5/VB/datagridtablestyle_sample5.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.vb" id="Snippet3"::: ]]> @@ -1174,7 +1174,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_sample1/CPP/datagridtablestyle_sample1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/GridLineStyleChanged/datagridtablestyle_sample1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample1/VB/datagridtablestyle_sample1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridLineStyleChanged/datagridtablestyle_sample1.vb" id="Snippet2"::: ]]> @@ -1209,7 +1209,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Header_4/CPP/datagridtablestyle_header_4.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Header_4/VB/datagridtablestyle_header_4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.vb" id="Snippet4"::: ]]> @@ -1248,7 +1248,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Header_4/CPP/datagridtablestyle_header_4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Header_4/VB/datagridtablestyle_header_4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.vb" id="Snippet3"::: ]]> @@ -1298,7 +1298,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample/CPP/datagridtablestyle_sample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample/VB/datagridtablestyle_sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.vb" id="Snippet2"::: ]]> @@ -1343,7 +1343,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample/CPP/datagridtablestyle_sample.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample/VB/datagridtablestyle_sample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.vb" id="Snippet4"::: ]]> @@ -1384,7 +1384,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Header_4/CPP/datagridtablestyle_header_4.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Header_4/VB/datagridtablestyle_header_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.vb" id="Snippet2"::: ]]> @@ -1430,7 +1430,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Header_4/CPP/datagridtablestyle_header_4.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Header_4/VB/datagridtablestyle_header_4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.vb" id="Snippet1"::: ]]> @@ -1471,7 +1471,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample/CPP/datagridtablestyle_sample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample/VB/datagridtablestyle_sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.vb" id="Snippet1"::: ]]> @@ -1512,7 +1512,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample/CPP/datagridtablestyle_sample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample/VB/datagridtablestyle_sample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.vb" id="Snippet3"::: ]]> @@ -1662,7 +1662,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTable.MappingName Example/CPP/bindarray.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/MappingName/bindarray.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTable.MappingName Example/VB/bindarray.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/MappingName/bindarray.vb" id="Snippet1"::: ]]> @@ -1705,7 +1705,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_sample1/CPP/datagridtablestyle_sample1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/GridLineStyleChanged/datagridtablestyle_sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample1/VB/datagridtablestyle_sample1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridLineStyleChanged/datagridtablestyle_sample1.vb" id="Snippet1"::: ]]> @@ -2539,7 +2539,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_PreferredColumnWidth/CPP/datagridtablestyle_preferredcolumnwidth.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/PreferredColumnWidth/datagridtablestyle_preferredcolumnwidth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredColumnWidth/VB/datagridtablestyle_preferredcolumnwidth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredColumnWidth/datagridtablestyle_preferredcolumnwidth.vb" id="Snippet1"::: ]]> @@ -2578,7 +2578,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `DataGridTableStyle1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet231"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet231"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet231"::: ]]> @@ -2628,7 +2628,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeight/CPP/datagridtablestyle_preferredrowheight.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/PreferredRowHeight/datagridtablestyle_preferredrowheight.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeight/VB/datagridtablestyle_preferredrowheight.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredRowHeight/datagridtablestyle_preferredrowheight.vb" id="Snippet1"::: ]]> @@ -2669,7 +2669,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeightChanged/CPP/preferredrowheightchanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/PreferredRowHeightChanged/preferredrowheightchanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeightChanged/VB/preferredrowheightchanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredRowHeightChanged/preferredrowheightchanged.vb" id="Snippet1"::: ]]> @@ -2723,7 +2723,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.ReadOnly Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ReadOnly/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.ReadOnly Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ReadOnly/source.vb" id="Snippet1"::: ]]> @@ -2762,7 +2762,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ReadOnlyChanged/CPP/datagridtablestyle_readonlychanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ReadOnlyChanged/datagridtablestyle_readonlychanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ReadOnlyChanged/VB/datagridtablestyle_readonlychanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ReadOnlyChanged/datagridtablestyle_readonlychanged.vb" id="Snippet1"::: ]]> @@ -2803,7 +2803,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetAlternatingBackcolor/CPP/resetalternatingbackcolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetAlternatingBackColor/resetalternatingbackcolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetAlternatingBackcolor/VB/resetalternatingbackcolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetAlternatingBackColor/resetalternatingbackcolor.vb" id="Snippet1"::: ]]> @@ -2843,7 +2843,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetBackColor/CPP/datagridtablestyle_resetbackcolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetBackColor/datagridtablestyle_resetbackcolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetBackColor/VB/datagridtablestyle_resetbackcolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetBackColor/datagridtablestyle_resetbackcolor.vb" id="Snippet1"::: ]]> @@ -2883,7 +2883,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetForeColor/CPP/datagridtablestyle_resetforecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetForeColor/datagridtablestyle_resetforecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetForeColor/VB/datagridtablestyle_resetforecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetForeColor/datagridtablestyle_resetforecolor.vb" id="Snippet1"::: ]]> @@ -2923,7 +2923,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetGridLineColor/CPP/datagridtablestyle_resetgridlinecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetGridLineColor/datagridtablestyle_resetgridlinecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetGridLineColor/VB/datagridtablestyle_resetgridlinecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetGridLineColor/datagridtablestyle_resetgridlinecolor.vb" id="Snippet1"::: ]]> @@ -2963,7 +2963,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderBackColor/CPP/datagridtablestyle_resetheaderbackcolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetHeaderBackColor/datagridtablestyle_resetheaderbackcolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderBackColor/VB/datagridtablestyle_resetheaderbackcolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderBackColor/datagridtablestyle_resetheaderbackcolor.vb" id="Snippet1"::: ]]> @@ -3007,7 +3007,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderFont1/CPP/datagridtablestyle_resetheaderfont1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetHeaderFont/datagridtablestyle_resetheaderfont1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderFont1/VB/datagridtablestyle_resetheaderfont1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderFont/datagridtablestyle_resetheaderfont1.vb" id="Snippet1"::: ]]> @@ -3053,7 +3053,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderForeColor/CPP/datagridtablestyle_resetheaderforecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetHeaderForeColor/datagridtablestyle_resetheaderforecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderForeColor/VB/datagridtablestyle_resetheaderforecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderForeColor/datagridtablestyle_resetheaderforecolor.vb" id="Snippet1"::: ]]> @@ -3099,7 +3099,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetLinkColor/CPP/datagridtablestyle_resetlinkcolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetLinkColor/datagridtablestyle_resetlinkcolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetLinkColor/VB/datagridtablestyle_resetlinkcolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetLinkColor/datagridtablestyle_resetlinkcolor.vb" id="Snippet1"::: ]]> @@ -3208,7 +3208,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_SelectionForeColor/CPP/selectionforecolor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetSelectionForeColor/selectionforecolor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionForeColor/VB/selectionforecolor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetSelectionForeColor/selectionforecolor.vb" id="Snippet2"::: ]]> @@ -3265,7 +3265,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_RowHeadersVisibleChanged/CPP/rowheadersvisiblechanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/RowHeadersVisible/rowheadersvisiblechanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeadersVisibleChanged/VB/rowheadersvisiblechanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeadersVisible/rowheadersvisiblechanged.vb" id="Snippet1"::: ]]> @@ -3306,7 +3306,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_RowHeadersVisibleChanged/CPP/rowheadersvisiblechanged.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/RowHeadersVisible/rowheadersvisiblechanged.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeadersVisibleChanged/VB/rowheadersvisiblechanged.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeadersVisible/rowheadersvisiblechanged.vb" id="Snippet2"::: ]]> @@ -3364,7 +3364,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_RowHeaderWidth/CPP/rowheaderwidth.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/RowHeaderWidth/rowheaderwidth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeaderWidth/VB/rowheaderwidth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeaderWidth/rowheaderwidth.vb" id="Snippet1"::: ]]> @@ -3406,7 +3406,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_RowHeaderWidth/CPP/rowheaderwidth.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/RowHeaderWidth/rowheaderwidth.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeaderWidth/VB/rowheaderwidth.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeaderWidth/rowheaderwidth.vb" id="Snippet2"::: ]]> @@ -3444,7 +3444,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_SelectionBackColor/CPP/selectionbackcolor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/SelectionBackColor/selectionbackcolor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionBackColor/VB/selectionbackcolor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/SelectionBackColor/selectionbackcolor.vb" id="Snippet2"::: ]]> @@ -3487,7 +3487,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_SelectionBackColor/CPP/selectionbackcolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/SelectionBackColor/selectionbackcolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionBackColor/VB/selectionbackcolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/SelectionBackColor/selectionbackcolor.vb" id="Snippet1"::: ]]> @@ -3532,7 +3532,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_SelectionForeColor/CPP/selectionforecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetSelectionForeColor/selectionforecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionForeColor/VB/selectionforecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetSelectionForeColor/selectionforecolor.vb" id="Snippet1"::: ]]> @@ -3571,7 +3571,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `DataGridTableStyle1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet237"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet237"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet237"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridTextBox.xml b/xml/System.Windows.Forms/DataGridTextBox.xml index 06bd812dc94..166ee85e9ef 100644 --- a/xml/System.Windows.Forms/DataGridTextBox.xml +++ b/xml/System.Windows.Forms/DataGridTextBox.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -134,7 +134,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTextBox_IsInEditOrNavigateMode/CPP/datagridtextbox_isineditornavigatemode.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBox/IsInEditOrNavigateMode/datagridtextbox_isineditornavigatemode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBox_IsInEditOrNavigateMode/VB/datagridtextbox_isineditornavigatemode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBox/IsInEditOrNavigateMode/datagridtextbox_isineditornavigatemode.vb" id="Snippet1"::: ]]> @@ -259,7 +259,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTextBox_SetDataGrid/CPP/datagridtextbox_setdatagrid.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBox/SetDataGrid/datagridtextbox_setdatagrid.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBox_SetDataGrid/VB/datagridtextbox_setdatagrid.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBox/SetDataGrid/datagridtextbox_setdatagrid.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridTextBoxColumn.xml b/xml/System.Windows.Forms/DataGridTextBoxColumn.xml index 0d6b2719d52..bb15a365f97 100644 --- a/xml/System.Windows.Forms/DataGridTextBoxColumn.xml +++ b/xml/System.Windows.Forms/DataGridTextBoxColumn.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Overview/source.vb" id="Snippet1"::: ]]> @@ -105,7 +105,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Overview/source.vb" id="Snippet1"::: ]]> @@ -154,7 +154,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/.ctor/source.vb" id="Snippet1"::: ]]> @@ -248,7 +248,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTextBoxColumn_DataGridTextBoxColumn_2/CPP/datagridtextboxcolumn_2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/.ctor/datagridtextboxcolumn_datagridtextboxcolumn_2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn_DataGridTextBoxColumn_2/VB/datagridtextboxcolumn_datagridtextboxcolumn_2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/.ctor/datagridtextboxcolumn_datagridtextboxcolumn_2.vb" id="Snippet2"::: ]]> @@ -455,7 +455,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Edit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/Edit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Edit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Edit/source.vb" id="Snippet1"::: ]]> @@ -496,7 +496,7 @@ ## Examples The following example invokes the method before editing a column's value. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.EndEdit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/EndEdit/source.vb" id="Snippet1"::: ]]> @@ -533,7 +533,7 @@ ## Examples The following example tests a to determine its column type. If the column is a , and the allows `null` values, then the property is set and the method invoked. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.EnterNullValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/EnterNullValue/source.vb" id="Snippet1"::: ]]> @@ -607,7 +607,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTextBoxColumn Format/CPP/datagridtextboxcolumn format.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/Format/datagridtextboxcolumn format.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn Format/VB/datagridtextboxcolumn format.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Format/datagridtextboxcolumn format.vb" id="Snippet1"::: ]]> @@ -665,7 +665,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTextBoxColumn Format/CPP/datagridtextboxcolumn format.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/Format/datagridtextboxcolumn format.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn Format/VB/datagridtextboxcolumn format.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Format/datagridtextboxcolumn format.vb" id="Snippet1"::: ]]> @@ -742,7 +742,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredHeight Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredHeight/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredHeight Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredHeight/source.vb" id="Snippet1"::: ]]> @@ -790,7 +790,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredSize Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredSize/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredSize Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredSize/source.vb" id="Snippet1"::: ]]> @@ -962,7 +962,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Paint2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/Paint/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Paint2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Paint/source.vb" id="Snippet1"::: ]]> @@ -1237,7 +1237,7 @@ ## Examples The following example changes the background color of the hosted control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.TextBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/TextBox/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridView+HitTestInfo.xml b/xml/System.Windows.Forms/DataGridView+HitTestInfo.xml index 968d91fdee6..55f9df531df 100644 --- a/xml/System.Windows.Forms/DataGridView+HitTestInfo.xml +++ b/xml/System.Windows.Forms/DataGridView+HitTestInfo.xml @@ -40,7 +40,7 @@ The following code example illustrates the use of this type. This example is part of a larger example available in the property reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet4"::: ]]> @@ -87,7 +87,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the property reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet4"::: ]]> @@ -271,7 +271,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the property reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet4"::: ]]> @@ -391,7 +391,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the property reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridView.xml b/xml/System.Windows.Forms/DataGridView.xml index c7d853d6fd1..7f31d171af9 100644 --- a/xml/System.Windows.Forms/DataGridView.xml +++ b/xml/System.Windows.Forms/DataGridView.xml @@ -111,7 +111,7 @@ The control replaces and extends the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/Overview/simpleunbound.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSimpleUnbound/VB/simpleunbound.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/Overview/simpleunbound.vb" id="Snippet00"::: ]]> @@ -276,7 +276,7 @@ The control replaces and extends the method to customize the borders of the column header cells. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet15"::: ]]> @@ -339,7 +339,7 @@ The control replaces and extends the property to customize the borders of the upper-left cell. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> @@ -541,7 +541,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -591,7 +591,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet250"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet250"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet250"::: ]]> @@ -640,7 +640,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -690,7 +690,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet251"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet251"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet251"::: ]]> @@ -742,7 +742,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -792,7 +792,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet252"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet252"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet252"::: ]]> @@ -846,7 +846,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -896,7 +896,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet253"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet253"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet253"::: ]]> @@ -952,7 +952,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -1002,7 +1002,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet254"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet254"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet254"::: ]]> @@ -1048,7 +1048,7 @@ The control replaces and extends the control. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -1102,7 +1102,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet255"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet255"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet255"::: ]]> @@ -1152,7 +1152,7 @@ The control replaces and extends the collection. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb" id="Snippet10"::: ]]> @@ -1219,7 +1219,7 @@ The control replaces and extends the to `false`. In this example, a control is bound to a list of `Task` business objects. Then, columns are added and are bound to `Task` properties through the property. This example is part of a larger example available in [How to: Access Objects in a Windows Forms DataGridViewComboBoxCell Drop-Down List](/dotnet/desktop/winforms/controls/access-objects-in-a-wf-datagridviewcomboboxcell-drop-down-list). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/vb/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.vb" id="Snippet100"::: ]]> @@ -1281,7 +1281,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet256"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet256"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet256"::: ]]> @@ -1344,7 +1344,7 @@ The control replaces and extends the @@ -1404,7 +1404,7 @@ The control replaces and extends the @@ -1532,7 +1532,7 @@ The control replaces and extends the @@ -1745,7 +1745,7 @@ The control replaces and extends the @@ -1801,7 +1801,7 @@ The control replaces and extends the @@ -1926,7 +1926,7 @@ The control replaces and extends the @@ -1988,7 +1988,7 @@ The control replaces and extends the @@ -2172,7 +2172,7 @@ The control replaces and extends the @@ -2354,7 +2354,7 @@ The control replaces and extends the @@ -2412,7 +2412,7 @@ The control replaces and extends the @@ -2619,7 +2619,7 @@ The control replaces and extends the @@ -2685,7 +2685,7 @@ The control replaces and extends the controls display data from two tables in a parent/child relationship. In this example, the column sizing mode for the master control is , and the column widths are programmatically initialized to fit the loaded values. The details control is set to an automatic column sizing mode so that columns will adjust automatically whenever the values change (for example, when the user changes the current row in the parent table). This example is part of a larger example available in [How to: Create a Master/Detail Form Using Two Windows Forms DataGridView Controls](/dotnet/desktop/winforms/controls/create-a-master-detail-form-using-two-datagridviews). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoSizeColumnsMode/masterdetails.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMasterDetails/VB/masterdetails.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeColumnsMode/masterdetails.vb" id="Snippet10"::: ]]> @@ -2743,7 +2743,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet257"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet257"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet257"::: ]]> @@ -2809,7 +2809,7 @@ The control replaces and extends the @@ -2862,7 +2862,7 @@ The control replaces and extends the @@ -3012,7 +3012,7 @@ The control replaces and extends the @@ -3067,7 +3067,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet259"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet259"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet259"::: ]]> @@ -3318,7 +3318,7 @@ The control replaces and extends the @@ -3390,7 +3390,7 @@ The control replaces and extends the @@ -3441,7 +3441,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet260"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet260"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet260"::: ]]> @@ -3488,7 +3488,7 @@ The control replaces and extends the @@ -3539,7 +3539,7 @@ The control replaces and extends the @@ -3617,7 +3617,7 @@ The control replaces and extends the is being edited. In this example, the property of the containing is set to reflect which cell is being edited. To run this example, paste the code into a form that contains a named `dataGridView1`, and ensure all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet220"::: ]]> @@ -3672,7 +3672,7 @@ The control replaces and extends the @@ -3724,7 +3724,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet261"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet261"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet261"::: ]]> @@ -3783,7 +3783,7 @@ The control replaces and extends the @@ -3838,7 +3838,7 @@ The control replaces and extends the @@ -3888,7 +3888,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet285"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet285"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet285"::: ]]> @@ -3942,7 +3942,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet286"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet286"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet286"::: ]]> @@ -4007,7 +4007,7 @@ The control replaces and extends the @@ -4065,7 +4065,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet288"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet288"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet288"::: ]]> @@ -4113,7 +4113,7 @@ The control replaces and extends the property in case it was previously set by a event handler. The event handler can clear the error text when the new cell value meets the validation criteria, but when the user reverts to the old cell value by pressing ESC, the event does not occur. This example is part of a larger example available in [Walkthrough: Validating Data in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/walkthrough-validating-data-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewDataValidation/VB/datavalidation.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.vb" id="Snippet20"::: ]]> @@ -4163,7 +4163,7 @@ The control replaces and extends the property of the current cell. In this example the selection background color is set in the event, then reset to on the event. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet190"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet190"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet190"::: ]]> @@ -4213,7 +4213,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet291"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet291"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet291"::: ]]> @@ -4276,7 +4276,7 @@ The control replaces and extends the @@ -4352,7 +4352,7 @@ The control replaces and extends the @@ -4420,7 +4420,7 @@ The control replaces and extends the property of the current cell. In this example the selection background color is set in the event, then reset to on the event. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet190"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet190"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet190"::: ]]> @@ -4478,7 +4478,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet295"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet295"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet295"::: ]]> @@ -4538,7 +4538,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet296"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet296"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet296"::: ]]> @@ -4590,7 +4590,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet297"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet297"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet297"::: ]]> @@ -4641,7 +4641,7 @@ The control replaces and extends the @@ -4692,7 +4692,7 @@ The control replaces and extends the @@ -4742,7 +4742,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet300"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet300"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet300"::: ]]> @@ -4794,7 +4794,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet301"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet301"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet301"::: ]]> @@ -4848,7 +4848,7 @@ The control replaces and extends the @@ -4916,7 +4916,7 @@ The control replaces and extends the @@ -4982,7 +4982,7 @@ The control replaces and extends the @@ -5038,7 +5038,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet305"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet305"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet305"::: ]]> @@ -5112,7 +5112,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet306"::: ]]> @@ -5167,7 +5167,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet307"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet307"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet307"::: ]]> @@ -5229,7 +5229,7 @@ The control replaces and extends the event handler to display information from hidden columns in a data-bound control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet20"::: ]]> @@ -5287,7 +5287,7 @@ The control replaces and extends the event to clear out the property. In this example, the event sets the if the user enters data that is not valid into a cell. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet50"::: ]]> @@ -5341,7 +5341,7 @@ The control replaces and extends the @@ -5400,7 +5400,7 @@ The control replaces and extends the event to update the values in a balance column of a . This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet30"::: ]]> @@ -5457,7 +5457,7 @@ The control replaces and extends the @@ -5521,7 +5521,7 @@ The control replaces and extends the @@ -5578,7 +5578,7 @@ The control replaces and extends the . To run this example, paste the code into a form that contains a named `dataGridView1` and a named `clearSelectionButton`, and ensure all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet170"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet170"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet170"::: ]]> @@ -5711,7 +5711,7 @@ The control replaces and extends the control. This example is part of a larger example available in [How to: Enable Users to Copy Multiple Cells to the Clipboard from the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/enable-users-to-copy-multiple-cells-to-the-clipboard-datagridview). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewClipboardDemo/VB/datagridviewclipboarddemo.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.vb" id="Snippet10"::: ]]> @@ -5768,7 +5768,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet314"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet314"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet314"::: ]]> @@ -5818,7 +5818,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet315"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet315"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet315"::: ]]> @@ -5889,7 +5889,7 @@ The control replaces and extends the @@ -5938,7 +5938,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet316"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet316"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet316"::: ]]> @@ -5990,7 +5990,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet317"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet317"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet317"::: ]]> @@ -6042,7 +6042,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet318"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet318"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet318"::: ]]> @@ -6096,7 +6096,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet319"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet319"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet319"::: ]]> @@ -6146,7 +6146,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet320"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet320"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet320"::: ]]> @@ -6196,7 +6196,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet323"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet323"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet323"::: ]]> @@ -6244,7 +6244,7 @@ The control replaces and extends the , the default behavior is to order the grid rows based on the clicked column, or to reverse the sort order if the grid is already sorted by the clicked column. The following code example demonstrates how to use this event to perform a programmatic sort that emulates the default behavior of clicking a when the default behavior has been disabled. In this example, the is set to , so clicking the selects the contents of the column. For the example code to function as intended, the default column header click behavior needs to be changed each time the data is loaded into the . Add a event handler to provide the code that changes the default behavior. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet160"::: ]]> @@ -6294,7 +6294,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet322"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet322"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet322"::: ]]> @@ -6352,7 +6352,7 @@ The control replaces and extends the @@ -6408,7 +6408,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet262"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet262"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet262"::: ]]> @@ -6473,7 +6473,7 @@ The control replaces and extends the @@ -6525,7 +6525,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet263"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet263"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet263"::: ]]> @@ -6616,7 +6616,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet264"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet264"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet264"::: ]]> @@ -6687,7 +6687,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -6738,7 +6738,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet265"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet265"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet265"::: ]]> @@ -6788,7 +6788,7 @@ The control replaces and extends the @@ -6839,7 +6839,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet324"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet324"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet324"::: ]]> @@ -6889,7 +6889,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet325"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet325"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet325"::: ]]> @@ -6939,7 +6939,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet326"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet326"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet326"::: ]]> @@ -7004,7 +7004,7 @@ The control replaces and extends the @@ -7056,7 +7056,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet327"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet327"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet327"::: ]]> @@ -7120,7 +7120,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet328"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet328"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet328"::: ]]> @@ -7174,7 +7174,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet329"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet329"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet329"::: ]]> @@ -7222,7 +7222,7 @@ The control replaces and extends the @@ -7269,7 +7269,7 @@ The control replaces and extends the method within a event handler to raise the event. This code example is part of a larger example provided in [How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CommitEdit/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb" id="Snippet5"::: ]]> @@ -7485,7 +7485,7 @@ The control replaces and extends the named `dataGridView1`. In C#, you must also connect the event to the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet150"::: ]]> @@ -7552,7 +7552,7 @@ The control replaces and extends the @@ -7600,7 +7600,7 @@ The control replaces and extends the @@ -7656,7 +7656,7 @@ The control replaces and extends the event. In this example, the event handler calls the method to raise the event and determine the current value of a . This code example is part of a larger example provided in [How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CommitEdit/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb" id="Snippet5"::: ]]> @@ -7756,7 +7756,7 @@ The control replaces and extends the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet05"::: ]]> @@ -7817,7 +7817,7 @@ The control replaces and extends the @@ -7875,7 +7875,7 @@ The control replaces and extends the control named `customersDataGridView` is bound to a named `customersDataSet`. This contains a table named "Customers". The property is set to the name of the table. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet020"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet020"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet020"::: ]]> @@ -7928,7 +7928,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet266"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet266"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet266"::: ]]> @@ -8014,7 +8014,7 @@ The control replaces and extends the @@ -8078,7 +8078,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet267"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet267"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet267"::: ]]> @@ -8140,7 +8140,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -8194,7 +8194,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet268"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet268"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet268"::: ]]> @@ -8284,7 +8284,7 @@ The control replaces and extends the control and provide appropriate default values. When specifying columns by name, you must use the name of the column object and not the column header text. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet120"::: ]]> @@ -8487,7 +8487,7 @@ The control replaces and extends the @@ -8540,7 +8540,7 @@ The control replaces and extends the property of the current cell. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that the event is associated with the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet210"::: ]]> @@ -8599,7 +8599,7 @@ The control replaces and extends the property in a control to visually differentiate a cell when it is in edit mode. In this example, the of the cell's editing panel is set to . To run this example, paste the code into a form that contains a named `dataGridView1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet069"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet069"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet069"::: ]]> @@ -8652,7 +8652,7 @@ The control replaces and extends the @@ -8704,7 +8704,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet269"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet269"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet269"::: ]]> @@ -8753,7 +8753,7 @@ The control replaces and extends the method in `Main`. However, visual styles will not be applied to the row and column headers because is set to `false`. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet10"::: ]]> @@ -8923,7 +8923,7 @@ The control replaces and extends the named `dataGridView1`. In C#, you must also connect the event to the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet150"::: ]]> @@ -9143,7 +9143,7 @@ The control replaces and extends the @@ -9208,7 +9208,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet271"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet271"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet271"::: ]]> @@ -9330,7 +9330,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet270"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet270"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet270"::: ]]> @@ -9411,7 +9411,7 @@ The control replaces and extends the control. This example is part of a larger example available in [How to: Enable Users to Copy Multiple Cells to the Clipboard from the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/enable-users-to-copy-multiple-cells-to-the-clipboard-datagridview). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewClipboardDemo/VB/datagridviewclipboarddemo.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.vb" id="Snippet16"::: ]]> @@ -9511,7 +9511,7 @@ The control replaces and extends the content to the Clipboard. This example is part of a larger example available in [How to: Enable Users to Copy Multiple Cells to the Clipboard from the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/enable-users-to-copy-multiple-cells-to-the-clipboard-datagridview). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewClipboardDemo/VB/datagridviewclipboarddemo.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.vb" id="Snippet10"::: ]]> @@ -9638,7 +9638,7 @@ The control replaces and extends the @@ -9693,7 +9693,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet272"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet272"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet272"::: ]]> @@ -9741,7 +9741,7 @@ The control replaces and extends the property reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet4"::: ]]> @@ -9834,7 +9834,7 @@ The control replaces and extends the @@ -9895,7 +9895,7 @@ The control replaces and extends the @@ -9949,7 +9949,7 @@ The control replaces and extends the @@ -10047,7 +10047,7 @@ The control replaces and extends the @@ -10103,7 +10103,7 @@ The control replaces and extends the property to determine whether to commit a cell value and raise the event from a handler for the event. This code example is part of a larger example provided in [How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CommitEdit/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb" id="Snippet5"::: ]]> @@ -10153,7 +10153,7 @@ The control replaces and extends the @@ -10347,7 +10347,7 @@ The control replaces and extends the @@ -10419,7 +10419,7 @@ The control replaces and extends the @@ -10477,7 +10477,7 @@ The control replaces and extends the @@ -10527,7 +10527,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet273"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet273"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet273"::: ]]> @@ -10632,7 +10632,7 @@ The control replaces and extends the @@ -10680,7 +10680,7 @@ The control replaces and extends the @@ -15047,7 +15047,7 @@ The control replaces and extends the @@ -15208,7 +15208,7 @@ The control replaces and extends the @@ -17582,7 +17582,7 @@ The control replaces and extends the subclass by overriding the and methods. In the example, the ENTER key has the same behavior as the RIGHT ARROW key, making it easier for a user to edit multiple cells in a single row of data. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet70"::: ]]> @@ -17682,7 +17682,7 @@ The control replaces and extends the subclass by overriding the and methods. In the example, the ENTER key has the same behavior as the RIGHT ARROW key, making it easier for a user to edit multiple cells in a single row of data. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet70"::: ]]> @@ -18211,7 +18211,7 @@ The control replaces and extends the subclass by overriding the and methods. In the example, the ENTER key has the same behavior as the RIGHT ARROW key, making it easier for a user to edit multiple cells in a single row of data. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet70"::: ]]> @@ -18408,7 +18408,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -18460,7 +18460,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet274"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet274"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet274"::: ]]> @@ -18590,7 +18590,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet338"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet338"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet338"::: ]]> @@ -18652,7 +18652,7 @@ The control replaces and extends the event to provide a based on the title of the employee. In this example, there are two shortcut menus, one for managers and one for all other employees. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet10"::: ]]> @@ -18731,7 +18731,7 @@ The control replaces and extends the property. In this example, this property is used to track the number of entries in a . This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -18789,7 +18789,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet340"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet340"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet340"::: ]]> @@ -18846,7 +18846,7 @@ The control replaces and extends the @@ -18900,7 +18900,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet342"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet342"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet342"::: ]]> @@ -18952,7 +18952,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet343"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet343"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet343"::: ]]> @@ -19004,7 +19004,7 @@ The control replaces and extends the property of the cells in the current row. In this example, the background color is set in the event, then reset to on the event. To run this example, paste the code into a form that contains a named `dataGridView1`, and ensure that all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet200"::: ]]> @@ -19054,7 +19054,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet345"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet345"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet345"::: ]]> @@ -19118,7 +19118,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet346"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet346"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet346"::: ]]> @@ -19176,7 +19176,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet349"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet349"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet349"::: ]]> @@ -19224,7 +19224,7 @@ The control replaces and extends the @@ -19274,7 +19274,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet348"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet348"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet348"::: ]]> @@ -19331,7 +19331,7 @@ The control replaces and extends the @@ -19387,7 +19387,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet275"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet275"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet275"::: ]]> @@ -19451,7 +19451,7 @@ The control replaces and extends the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -19505,7 +19505,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet276"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet276"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet276"::: ]]> @@ -19557,7 +19557,7 @@ The control replaces and extends the @@ -19612,7 +19612,7 @@ The control replaces and extends the @@ -19664,7 +19664,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet277"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet277"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet277"::: ]]> @@ -19733,7 +19733,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -19784,7 +19784,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet278"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet278"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet278"::: ]]> @@ -19832,7 +19832,7 @@ The control replaces and extends the @@ -19888,7 +19888,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet351"::: ]]> @@ -19945,7 +19945,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet352"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet352"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet352"::: ]]> @@ -19994,7 +19994,7 @@ The control replaces and extends the property of the cells in the current row. In this example, the background color is set in the event, then reset to on the event. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet200"::: ]]> @@ -20044,7 +20044,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet354"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet354"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet354"::: ]]> @@ -20106,7 +20106,7 @@ The control replaces and extends the event to paint textual content that spans the entire row below the normal cell values. This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet30"::: ]]> @@ -20168,7 +20168,7 @@ The control replaces and extends the event to paint a gradient row background if the row is selected. This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet20"::: ]]> @@ -20275,7 +20275,7 @@ if (rowToDelete > -1) :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet2"::: ]]> @@ -20330,7 +20330,7 @@ if (rowToDelete > -1) :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet20"::: ]]> @@ -20381,7 +20381,7 @@ if (rowToDelete > -1) The following code example illustrates how to use this property to create a ledger effect in a control. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -20435,7 +20435,7 @@ if (rowToDelete > -1) To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet279"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet279"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet279"::: ]]> @@ -20487,7 +20487,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use this event to update the values in a balance column of a . This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet30"::: ]]> @@ -20540,7 +20540,7 @@ if (rowToDelete > -1) To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet359"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet359"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet359"::: ]]> @@ -20603,7 +20603,7 @@ if (rowToDelete > -1) :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowTemplate/CPP/datagridviewrowtemplate.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/RowTemplate/datagridviewrowtemplate.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowTemplate/VB/datagridviewrowtemplate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/RowTemplate/datagridviewrowtemplate.vb" id="Snippet1"::: ]]> @@ -20660,7 +20660,7 @@ if (rowToDelete > -1) To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet360"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet360"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet360"::: ]]> @@ -20710,7 +20710,7 @@ if (rowToDelete > -1) The following code sample uses this event to clear up any error annotations that may have been left behind after validating the row. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/RowValidated/rowoperations.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowOperations/VB/rowoperations.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/RowValidated/rowoperations.vb" id="Snippet10"::: ]]> @@ -20760,7 +20760,7 @@ if (rowToDelete > -1) The following code example uses to check if valid track and release dates are entered. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/RowValidated/rowoperations.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowOperations/VB/rowoperations.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/RowValidated/rowoperations.vb" id="Snippet5"::: ]]> @@ -20810,7 +20810,7 @@ if (rowToDelete > -1) To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet363"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet363"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet363"::: ]]> @@ -20906,7 +20906,7 @@ if (rowToDelete > -1) The following code example demonstrates the use of the method. To run this example, paste the code into a form that contains a named `dataGridView1` and a named `selectAllButton`, and ensure all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet180"::: ]]> @@ -20956,7 +20956,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the collection to find the sum of the values in the selection. In the example, this collection is iterated through and the valid values are added to the sum, which is displayed in a label. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -21006,7 +21006,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the property to get the selected column in a programmatic sort. In this example, this property is used in the method to determine the direction of the sort. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SelectedColumns/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb" id="Snippet10"::: ]]> @@ -21058,7 +21058,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the property in the event. In this example, if the first row is contained in the collection, then the deletion is canceled. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet20"::: ]]> @@ -21111,7 +21111,7 @@ if (rowToDelete > -1) The following code example demonstrates the use of this event. In the example, the form displays the sum of values in the selected cells, and updates the sum when the selection changes. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet00"::: ]]> @@ -21171,7 +21171,7 @@ if (rowToDelete > -1) :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet5"::: ]]> @@ -21670,7 +21670,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the method overload in a multiple column sort scenario. In this example, the interface is implemented in the `RowComparer` class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/Sort/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewIComparerSort/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/Sort/form1.vb" id="Snippet10"::: ]]> @@ -21733,7 +21733,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the in a programmatic sort. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SelectedColumns/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb" id="Snippet10"::: ]]> @@ -21807,7 +21807,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -21865,7 +21865,7 @@ if (rowToDelete > -1) To run this example, paste the following code into a form that contains a named `dataGridView1`. In C#, you must also connect the event to the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet150"::: ]]> @@ -21929,7 +21929,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the property in a programmatic sort. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SelectedColumns/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb" id="Snippet10"::: ]]> @@ -21984,7 +21984,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the property in a programmatic sort. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SelectedColumns/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb" id="Snippet10"::: ]]> @@ -22329,7 +22329,7 @@ if (rowToDelete > -1) :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet80"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet80"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet80"::: ]]> @@ -22636,7 +22636,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the event to update a label displaying the total number of entries in a . This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet40"::: ]]> @@ -22686,7 +22686,7 @@ if (rowToDelete > -1) To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet368"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet368"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet368"::: ]]> @@ -22736,7 +22736,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the event to cancel the deletion of rows from the if the starting balance row is included in the selection. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet20"::: ]]> @@ -22926,7 +22926,7 @@ if (rowToDelete > -1) The following code example code uses virtual mode to create a table of positive integers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAdvancedBorderStyle.xml b/xml/System.Windows.Forms/DataGridViewAdvancedBorderStyle.xml index 8af21a471c2..1aaaff53e03 100644 --- a/xml/System.Windows.Forms/DataGridViewAdvancedBorderStyle.xml +++ b/xml/System.Windows.Forms/DataGridViewAdvancedBorderStyle.xml @@ -44,7 +44,7 @@ The following code example adjusts the cell borders of a so that a double border separates the interior cells and the top left header cell from the row and column headers. This sample demonstrates how to override the , , and methods, and the property. These members use objects to modify individual cell borders. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet0"::: ]]> @@ -91,7 +91,7 @@ The following code example illustrates the use of this constructor. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> @@ -171,7 +171,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> @@ -275,7 +275,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> @@ -319,7 +319,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> @@ -408,7 +408,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAdvancedCellBorderStyle.xml b/xml/System.Windows.Forms/DataGridViewAdvancedCellBorderStyle.xml index 6d87ed334b0..7770da40da9 100644 --- a/xml/System.Windows.Forms/DataGridViewAdvancedCellBorderStyle.xml +++ b/xml/System.Windows.Forms/DataGridViewAdvancedCellBorderStyle.xml @@ -33,7 +33,7 @@ The following code example demonstrates how to override the property to customize the borders of the upper-left cell. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnMode.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnMode.xml index 58e5815addb..5856dfb2d93 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnMode.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnMode.xml @@ -41,7 +41,7 @@ The following code example illustrates the use of this enumeration to configure a fixed-width column. This example is part of a larger example available in [How to: Set the Sizing Modes of the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-set-the-sizing-modes-of-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnModeEventArgs.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnModeEventArgs.xml index aadd346fdef..881973523d5 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnModeEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnModeEventArgs.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet180"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet180"::: ]]> @@ -140,7 +140,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet180"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet180"::: ]]> @@ -192,7 +192,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet280"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet280"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet280"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsMode.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsMode.xml index 774999d58b6..84839796910 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsMode.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsMode.xml @@ -41,7 +41,7 @@ The following code example illustrates the use of this enumeration in a master/details scenario where two controls display data from two tables in a parent/child relationship. In this example, the column sizing mode for the master control is None and the column widths are programmatically initialized to fit the loaded values. The details control is set to an automatic sizing mode so that columns will adjust automatically whenever the values change (for example, when the user changes the current row in the parent table). This example is part of a larger example available in [How to: Create a Master/Detail Form Using Two Windows Forms DataGridView Controls](/dotnet/desktop/winforms/controls/create-a-master-detail-form-using-two-datagridviews). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoSizeColumnsMode/masterdetails.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMasterDetails/VB/masterdetails.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeColumnsMode/masterdetails.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsModeEventArgs.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsModeEventArgs.xml index 603d7859ff3..73ec204f227 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsModeEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsModeEventArgs.xml @@ -44,7 +44,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet257"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet257"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet257"::: ]]> @@ -141,7 +141,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet257"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet257"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet257"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventArgs.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventArgs.xml index 2942f553ca9..52948d9b580 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventArgs.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/CPP/autosizing.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/VB/autosizing.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.vb" id="Snippet10"::: ]]> @@ -147,7 +147,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/CPP/autosizing.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/VB/autosizing.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventHandler.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventHandler.xml index ab83fc0350d..3c2a89c9e85 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/CPP/autosizing.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/VB/autosizing.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeRowMode.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeRowMode.xml index d21e82a57ae..c45cc1a8c74 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeRowMode.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeRowMode.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ProgrammaticResizing/CPP/programmaticsizing.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumns/programmaticsizing.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ProgrammaticResizing/VB/programmaticsizing.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumns/programmaticsizing.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeRowsMode.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeRowsMode.xml index 30e4bcd155f..c36b6ec0385 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeRowsMode.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeRowsMode.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/CPP/autosizing.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/VB/autosizing.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewBand.xml b/xml/System.Windows.Forms/DataGridViewBand.xml index 0fed78edab4..1c594a78934 100644 --- a/xml/System.Windows.Forms/DataGridViewBand.xml +++ b/xml/System.Windows.Forms/DataGridViewBand.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet0"::: ]]> @@ -164,7 +164,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet130"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet130"::: ]]> @@ -219,7 +219,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet7"::: ]]> @@ -523,7 +523,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet7"::: ]]> @@ -685,7 +685,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet150"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet150"::: ]]> @@ -865,7 +865,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet11"::: ]]> @@ -924,7 +924,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/CPP/mousesizing.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/VB/mousesizing.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.vb" id="Snippet14"::: ]]> @@ -989,7 +989,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb" id="Snippet05"::: ]]> @@ -1061,7 +1061,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet12"::: ]]> @@ -1155,7 +1155,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewBindingCompleteEventArgs.xml b/xml/System.Windows.Forms/DataGridViewBindingCompleteEventArgs.xml index 91afb8c57c4..a10154e39bf 100644 --- a/xml/System.Windows.Forms/DataGridViewBindingCompleteEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewBindingCompleteEventArgs.xml @@ -38,7 +38,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet333"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet333"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet333"::: ]]> @@ -132,7 +132,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet333"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet333"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet333"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewButtonCell.xml b/xml/System.Windows.Forms/DataGridViewButtonCell.xml index 86330cc8b08..6596c922e57 100644 --- a/xml/System.Windows.Forms/DataGridViewButtonCell.xml +++ b/xml/System.Windows.Forms/DataGridViewButtonCell.xml @@ -53,7 +53,7 @@ The following code example demonstrates how to use a to perform actions on particular rows. You can use similar code when working with individual objects. In this example, a event handler first determines whether a click is on a button cell, then retrieves a business object associated with the row. This example is part of a larger example available in [How to: Access Objects in a Windows Forms DataGridViewComboBoxCell Drop-Down List](/dotnet/desktop/winforms/controls/access-objects-in-a-wf-datagridviewcomboboxcell-drop-down-list). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/vb/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.vb" id="Snippet100"::: ]]> @@ -272,7 +272,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet10"::: ]]> @@ -1252,7 +1252,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet010"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet010"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet010"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewButtonColumn.xml b/xml/System.Windows.Forms/DataGridViewButtonColumn.xml index cfb8a092395..bf6180818e8 100644 --- a/xml/System.Windows.Forms/DataGridViewButtonColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewButtonColumn.xml @@ -61,7 +61,7 @@ The following code example demonstrates how to use a to perform actions on particular rows. In this example, a event handler first determines whether a click is on a button cell, then retrieves a business object associated with the row. This example is part of a larger example available in [How to: Access Objects in a Windows Forms DataGridViewComboBoxCell Drop-Down List](/dotnet/desktop/winforms/controls/access-objects-in-a-wf-datagridviewcomboboxcell-drop-down-list). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/vb/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.vb" id="Snippet100"::: ]]> @@ -176,7 +176,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet10"::: ]]> @@ -280,7 +280,7 @@ The following code example demonstrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewContentAlignment/VB/changecolumnalignment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.vb" id="Snippet1"::: ]]> @@ -348,7 +348,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet10"::: ]]> @@ -411,7 +411,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet10"::: ]]> @@ -511,7 +511,7 @@ The following code example demonstrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet010"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet010"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet010"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCell.xml b/xml/System.Windows.Forms/DataGridViewCell.xml index c68f8d19da4..ed95c290101 100644 --- a/xml/System.Windows.Forms/DataGridViewCell.xml +++ b/xml/System.Windows.Forms/DataGridViewCell.xml @@ -58,7 +58,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/cpp/datagridviewcell.tooltiptext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/VB/datagridviewcell.tooltiptext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.vb" id="Snippet1"::: ]]> @@ -207,7 +207,7 @@ The following code example demonstrates how to override the method to customize the borders of the cells. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet20"::: ]]> @@ -268,7 +268,7 @@ The following code example demonstrates how to use the method of the class to determine the available drawing area in a cell. This code example is part of a larger example provided in [How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CommitEdit/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb" id="Snippet20"::: ]]> @@ -402,7 +402,7 @@ The following code example demonstrates how to use the property to determine which columns to check for integer values. In this example, the cells in the `Description` column are ignored when the contents of the selected cells are summed. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -717,7 +717,7 @@ The following code example demonstrates how to override the property in a `CalendarCell` class that derives from . This example is part of a larger code example provided in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet200"::: ]]> @@ -1023,7 +1023,7 @@ The following code example demonstrates how to use the property. In this example, the property is used to determine if the current cell's contents have been edited and not committed and, if the cell has been modified, the edited value is used. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -1094,7 +1094,7 @@ The following code example demonstrates how to override the property in a `CalendarCell` class that derives from . This example is part of a larger code example provided in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet200"::: ]]> @@ -1277,7 +1277,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet9"::: ]]> @@ -1383,7 +1383,7 @@ The following code example demonstrates how to use the property. In this example, the property is used to determine if the current cell's contents have been edited and not committed and, if the cell has been modified, the is used. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -1454,7 +1454,7 @@ The following code example demonstrates how to use the property to determine the type of the cell contents. In this example, the property is used to determine whether the cell contains a before attempting to convert the value. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -2407,7 +2407,7 @@ The following code example demonstrates how to override the method in a simple class that derives from the class. This example is part of a larger code example provided in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet200"::: ]]> @@ -3877,7 +3877,7 @@ The following code example demonstrates the use of this method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet10"::: ]]> @@ -4029,7 +4029,7 @@ The following code example illustrates the use of this method. This example is part of a larger example available in [How to: Customize Cells and Columns in the Windows Forms DataGridView Control by Extending Their Behavior and Appearance](/dotnet/desktop/winforms/controls/customize-cells-and-columns-in-the-datagrid-by-extending-behavior). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/InvalidateCell/rollovercell.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRolloverCell/VB/rollovercell.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/InvalidateCell/rollovercell.vb" id="Snippet220"::: ]]> @@ -4085,7 +4085,7 @@ The following code example illustrates the use of this method. This example is part of a larger example available in [How to: Customize Cells and Columns in the Windows Forms DataGridView Control by Extending Their Behavior and Appearance](/dotnet/desktop/winforms/controls/customize-cells-and-columns-in-the-datagrid-by-extending-behavior). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/InvalidateCell/rollovercell.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRolloverCell/VB/rollovercell.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/InvalidateCell/rollovercell.vb" id="Snippet220"::: ]]> @@ -4376,7 +4376,7 @@ The following code example demonstrates how to override the method of a . This code example is part of a larger example provided in [How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CommitEdit/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb" id="Snippet20"::: ]]> @@ -4433,7 +4433,7 @@ The following code example illustrates the use of this method. This example is part of a larger example available in [How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CommitEdit/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb" id="Snippet20"::: ]]> @@ -4926,7 +4926,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet080"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet080"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet080"::: ]]> @@ -5123,7 +5123,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -5259,7 +5259,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/cpp/datagridviewcell.tooltiptext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/VB/datagridviewcell.tooltiptext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.vb" id="Snippet1"::: ]]> @@ -5363,7 +5363,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet211"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet211"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet211"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet211"::: ]]> @@ -5428,7 +5428,7 @@ The following code example demonstrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellBorderStyle.xml b/xml/System.Windows.Forms/DataGridViewCellBorderStyle.xml index 493acd210c6..6d37c41c89e 100644 --- a/xml/System.Windows.Forms/DataGridViewCellBorderStyle.xml +++ b/xml/System.Windows.Forms/DataGridViewCellBorderStyle.xml @@ -33,7 +33,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet030"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet030"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet030"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellCancelEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellCancelEventArgs.xml index 45998c0ad7f..a2dbea49eb1 100644 --- a/xml/System.Windows.Forms/DataGridViewCellCancelEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellCancelEventArgs.xml @@ -29,7 +29,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet220"::: ]]> @@ -113,7 +113,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet220"::: ]]> @@ -158,7 +158,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet220"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellCancelEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellCancelEventHandler.xml index 653194800eb..fb252618488 100644 --- a/xml/System.Windows.Forms/DataGridViewCellCancelEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellCancelEventHandler.xml @@ -50,7 +50,7 @@ The following code example uses a delegate to check if valid track and release dates are entered. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/RowValidated/rowoperations.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowOperations/VB/rowoperations.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/RowValidated/rowoperations.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellCollection.xml b/xml/System.Windows.Forms/DataGridViewCellCollection.xml index 9868f8cd70a..1582739e7b1 100644 --- a/xml/System.Windows.Forms/DataGridViewCellCollection.xml +++ b/xml/System.Windows.Forms/DataGridViewCellCollection.xml @@ -282,7 +282,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridViewCellCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet371"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet371"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet371"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventArgs.xml index 501898f6559..d292cb292f4 100644 --- a/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventArgs.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet20"::: ]]> @@ -159,7 +159,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet22"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet22"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventHandler.xml index 9a11f7cf5b3..a5f305bc02e 100644 --- a/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventHandler.xml @@ -65,7 +65,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventArgs.xml index 6759c0784e9..9573ff2cc16 100644 --- a/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventArgs.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet20"::: ]]> @@ -117,7 +117,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet24"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventHandler.xml index 3221bac817c..0c2c0515bfa 100644 --- a/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventHandler.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet24"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellEventArgs.xml index f55b7767d31..a31003457cf 100644 --- a/xml/System.Windows.Forms/DataGridViewCellEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellEventArgs.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet15"::: ]]> @@ -150,7 +150,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet220"::: ]]> @@ -195,7 +195,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet220"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellEventHandler.xml index 2764ad8e8d2..3f108504ba3 100644 --- a/xml/System.Windows.Forms/DataGridViewCellEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellEventHandler.xml @@ -85,7 +85,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet15"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellFormattingEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellFormattingEventArgs.xml index cbcdf411f75..385e359463f 100644 --- a/xml/System.Windows.Forms/DataGridViewCellFormattingEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellFormattingEventArgs.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet1"::: ]]> @@ -141,7 +141,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet1"::: ]]> @@ -215,7 +215,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet1"::: ]]> @@ -270,7 +270,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet1"::: ]]> @@ -328,7 +328,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet1"::: ]]> @@ -386,7 +386,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/cpp/datagridviewcell.tooltiptext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/VB/datagridviewcell.tooltiptext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellFormattingEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellFormattingEventHandler.xml index da3b780b628..f6fa18ce6a4 100644 --- a/xml/System.Windows.Forms/DataGridViewCellFormattingEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellFormattingEventHandler.xml @@ -69,7 +69,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellMouseEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellMouseEventArgs.xml index b1bb63b5e22..6ce8f43ede5 100644 --- a/xml/System.Windows.Forms/DataGridViewCellMouseEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellMouseEventArgs.xml @@ -52,7 +52,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet160"::: ]]> @@ -147,7 +147,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet160"::: ]]> @@ -194,7 +194,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellPaintingEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellPaintingEventArgs.xml index 995adb7a22a..41988e8f595 100644 --- a/xml/System.Windows.Forms/DataGridViewCellPaintingEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellPaintingEventArgs.xml @@ -40,7 +40,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Customize the Appearance of Cells in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-cells-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> @@ -187,7 +187,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet302"::: ]]> @@ -235,7 +235,7 @@ The following code example illustrates the use of this property. For more information, see [How to: Customize the Appearance of Cells in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-cells-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> @@ -288,7 +288,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> @@ -342,7 +342,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet302"::: ]]> @@ -393,7 +393,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> @@ -447,7 +447,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet302"::: ]]> @@ -504,7 +504,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet302"::: ]]> @@ -553,7 +553,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> @@ -721,7 +721,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet302"::: ]]> @@ -771,7 +771,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> @@ -819,7 +819,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet302"::: ]]> @@ -872,7 +872,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellPaintingEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellPaintingEventHandler.xml index 8b847fa05ad..57b9376a668 100644 --- a/xml/System.Windows.Forms/DataGridViewCellPaintingEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellPaintingEventHandler.xml @@ -52,7 +52,7 @@ This code is part of a larger example available in [How to: Customize the Appearance of Cells in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-cells-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellParsingEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellParsingEventArgs.xml index 904dfede81e..b81a0c2474a 100644 --- a/xml/System.Windows.Forms/DataGridViewCellParsingEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellParsingEventArgs.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet2"::: ]]> @@ -167,7 +167,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet2"::: ]]> @@ -226,7 +226,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet303"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet303"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet303"::: ]]> @@ -285,7 +285,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet2"::: ]]> @@ -340,7 +340,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet303"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet303"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet303"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellParsingEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellParsingEventHandler.xml index 3561c57a98f..2f99d446ac5 100644 --- a/xml/System.Windows.Forms/DataGridViewCellParsingEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellParsingEventHandler.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellStateChangedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellStateChangedEventArgs.xml index 50bd667c494..3534a8363c1 100644 --- a/xml/System.Windows.Forms/DataGridViewCellStateChangedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellStateChangedEventArgs.xml @@ -42,7 +42,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet135"::: ]]> @@ -138,7 +138,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet135"::: ]]> @@ -185,7 +185,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet135"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellStyle.xml b/xml/System.Windows.Forms/DataGridViewCellStyle.xml index 7581487d77f..967d7b819b7 100644 --- a/xml/System.Windows.Forms/DataGridViewCellStyle.xml +++ b/xml/System.Windows.Forms/DataGridViewCellStyle.xml @@ -56,7 +56,7 @@ The following code example demonstrates the effect of setting properties on multiple objects. This example sets the background color of cells in the by setting the property on the property. The background color is overridden on alternating rows because the property is set on the property. The example also determines the format of dates in the column named `Last Prepared` by setting the property on the column's property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet10"::: ]]> @@ -186,7 +186,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet072"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet072"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet072"::: ]]> @@ -270,7 +270,7 @@ The following code example sets the background color of cells in the by setting the property on the property. Note that the background color is overridden on alternating rows because the property is set on the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -372,7 +372,7 @@ The following code example illustrates the use of this property. In this example, a event handler displays the value of the property when the cell value equals . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet50"::: ]]> @@ -465,7 +465,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet5"::: ]]> @@ -510,7 +510,7 @@ The following code example demonstrates how to set the and properties for cells in alternating rows. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -573,7 +573,7 @@ The following code example sets the format of dates in the column named `Last Fixed` to "Month, year" by setting the property on the column's property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -854,7 +854,7 @@ The following code example illustrates the use of this property. In this example, a event handler displays the value of the property when the cell value equals . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet50"::: ]]> @@ -906,7 +906,7 @@ This code example is part of a larger example. For the complete example, see [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet10"::: ]]> @@ -946,7 +946,7 @@ The following code example illustrates the use of this property in a control intended primarily for display. In this example, the visual appearance of the control is customized in several ways, and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -991,7 +991,7 @@ The following code example illustrates the use of this property in a control intended primarily for display. In this example, the visual appearance of the control is customized in several ways, and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -1169,7 +1169,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet074"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet074"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet074"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellStyleContentChangedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellStyleContentChangedEventArgs.xml index 629f776ea1d..d363618a983 100644 --- a/xml/System.Windows.Forms/DataGridViewCellStyleContentChangedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellStyleContentChangedEventArgs.xml @@ -64,7 +64,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet306"::: ]]> @@ -122,7 +122,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet306"::: ]]> @@ -172,7 +172,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet306"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventArgs.xml index ad02b2a8b5c..9baf26b431f 100644 --- a/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventArgs.xml @@ -50,7 +50,7 @@ The following code example fills the with information from hidden cells in the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet20"::: ]]> @@ -114,7 +114,7 @@ The following code example sets the property depending on which cell the cursor is over. In this example, the is filled with information from hidden columns in the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventHandler.xml index 3e2622066e9..542a897e793 100644 --- a/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventHandler.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet30"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellValidatingEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellValidatingEventArgs.xml index ff1a0110eec..8e2c3ff146f 100644 --- a/xml/System.Windows.Forms/DataGridViewCellValidatingEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellValidatingEventArgs.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet40"::: ]]> @@ -98,7 +98,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in [How to: Validate Data in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-validate-data-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewDataValidation/VB/datavalidation.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.vb" id="Snippet20"::: ]]> @@ -153,7 +153,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet40"::: ]]> @@ -201,7 +201,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in [How to: Validate Data in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-validate-data-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewDataValidation/VB/datavalidation.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellValidatingEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellValidatingEventHandler.xml index c235c2fde82..0b047f4f4d7 100644 --- a/xml/System.Windows.Forms/DataGridViewCellValidatingEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellValidatingEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet40"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellValueEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellValueEventArgs.xml index a6185afea77..2e7bce044a9 100644 --- a/xml/System.Windows.Forms/DataGridViewCellValueEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellValueEventArgs.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet10"::: ]]> @@ -138,7 +138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/CPP/virtualmode.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/VB/virtualmode.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.vb" id="Snippet120"::: ]]> @@ -190,7 +190,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet10"::: ]]> @@ -247,7 +247,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellValueEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellValueEventHandler.xml index e038fddc6ee..5bac000f061 100644 --- a/xml/System.Windows.Forms/DataGridViewCellValueEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellValueEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCheckBoxCell.xml b/xml/System.Windows.Forms/DataGridViewCheckBoxCell.xml index 8564c34867d..f1f838102bb 100644 --- a/xml/System.Windows.Forms/DataGridViewCheckBoxCell.xml +++ b/xml/System.Windows.Forms/DataGridViewCheckBoxCell.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet20"::: ]]> @@ -537,7 +537,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> @@ -593,7 +593,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet20"::: ]]> @@ -640,7 +640,7 @@ The following code example demonstrates how to use the property to determine the type of the cell contents. In this example, the property is used to determine whether the cell contains a before attempting to convert the value. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -940,7 +940,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> @@ -1853,7 +1853,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> @@ -1953,7 +1953,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCheckBoxColumn.xml b/xml/System.Windows.Forms/DataGridViewCheckBoxColumn.xml index b9a851dd953..57141c9d225 100644 --- a/xml/System.Windows.Forms/DataGridViewCheckBoxColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewCheckBoxColumn.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet20"::: ]]> @@ -228,7 +228,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet20"::: ]]> @@ -296,7 +296,7 @@ The following code example demonstrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewContentAlignment/VB/changecolumnalignment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.vb" id="Snippet1"::: ]]> @@ -369,7 +369,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> @@ -441,7 +441,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet20"::: ]]> @@ -517,7 +517,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> @@ -592,7 +592,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> @@ -699,7 +699,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewClipboardCopyMode.xml b/xml/System.Windows.Forms/DataGridViewClipboardCopyMode.xml index 65c9175307f..e031ad1d6d0 100644 --- a/xml/System.Windows.Forms/DataGridViewClipboardCopyMode.xml +++ b/xml/System.Windows.Forms/DataGridViewClipboardCopyMode.xml @@ -33,7 +33,7 @@ The following code example demonstrates how to enable copying in the control. For the complete example, see [How to: Enable Users to Copy Multiple Cells to the Clipboard from the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/enable-users-to-copy-multiple-cells-to-the-clipboard-datagridview). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewClipboardDemo/VB/datagridviewclipboarddemo.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumn.xml b/xml/System.Windows.Forms/DataGridViewColumn.xml index 1a323873abc..e5e089a897d 100644 --- a/xml/System.Windows.Forms/DataGridViewColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewColumn.xml @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet100"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet100"::: ]]> @@ -235,7 +235,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet109"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet109"::: ]]> @@ -321,7 +321,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -456,7 +456,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet130"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet130"::: ]]> @@ -538,10 +538,10 @@ The following code example shows how to choose what property each column will represent. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._CollectionBound/VB/collectionbound.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.vb" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._CollectionBound/VB/collectionbound.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.vb" id="Snippet10"::: ]]> @@ -598,7 +598,7 @@ The following code example uses the property to set the content alignment of various columns. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewContentAlignment/VB/changecolumnalignment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.vb" id="Snippet1"::: ]]> @@ -668,7 +668,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet170"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet170"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet170"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet170"::: ]]> @@ -775,7 +775,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridViewColumn1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet370"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet370"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet370"::: ]]> @@ -826,7 +826,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet110"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet110"::: ]]> @@ -883,7 +883,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in [How to: Set the Sizing Modes of the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-set-the-sizing-modes-of-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.vb" id="Snippet30"::: ]]> @@ -948,7 +948,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet7"::: ]]> @@ -1066,7 +1066,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet150"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet150"::: ]]> @@ -1124,7 +1124,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet160"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet160"::: ]]> @@ -1361,7 +1361,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet107"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet107"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet107"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet107"::: ]]> @@ -1417,7 +1417,7 @@ The following code example shows how to set the column name. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._CollectionBound/VB/collectionbound.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.vb" id="Snippet10"::: ]]> @@ -1466,7 +1466,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet11"::: ]]> @@ -1517,7 +1517,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/CPP/mousesizing.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/VB/mousesizing.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.vb" id="Snippet12"::: ]]> @@ -1638,7 +1638,7 @@ The following code example demonstrates how to use the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet066"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet066"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet066"::: ]]> @@ -1701,7 +1701,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet145"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet145"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet145"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet145"::: ]]> @@ -1803,7 +1803,7 @@ The following code example demonstrates how to use the property in the initialization of a that contains values. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet20"::: ]]> @@ -1862,7 +1862,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet9"::: ]]> @@ -1921,7 +1921,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet108"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet108"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet108"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet108"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnCollection.xml b/xml/System.Windows.Forms/DataGridViewColumnCollection.xml index 48ba8279a90..3649507788b 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnCollection.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnCollection.xml @@ -54,7 +54,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet20"::: ]]> @@ -138,7 +138,7 @@ The following code example illustrates the use of this method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet20"::: ]]> @@ -334,7 +334,7 @@ The following code example illustrates the use of this method. This example is part of a larger example available in [How to: Set the Sizing Modes of the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-set-the-sizing-modes-of-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.vb" id="Snippet40"::: ]]> @@ -439,7 +439,7 @@ The following code example illustrates the use of this method. This example is part of a larger example available in [Column Fill Mode in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/column-fill-mode-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CancelEdit/fillcolumns.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewFillColumnsDemo/vb/fillcolumns.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CancelEdit/fillcolumns.vb" id="Snippet20"::: ]]> @@ -521,7 +521,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridViewColumnCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet372"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet372"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet372"::: ]]> @@ -725,7 +725,7 @@ The following code example illustrates how to use this method to get the number of selected columns. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb" id="Snippet30"::: ]]> @@ -772,7 +772,7 @@ The following code example illustrates the use of this method. This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet20"::: ]]> @@ -837,7 +837,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet170"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet170"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet170"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet170"::: ]]> @@ -945,7 +945,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet170"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet170"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet170"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet170"::: ]]> @@ -1133,7 +1133,7 @@ The following code example illustrates the use of this method. For more information, see [How to: Add an Unbound Column to a Data-Bound Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/unbound-column-to-a-data-bound-datagridview). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet010"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet010"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet010"::: ]]> @@ -1414,7 +1414,7 @@ The following code example illustrates the use of this method. For more information, see [How to: Remove Autogenerated Columns from a Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/remove-autogenerated-columns-from-a-wf-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet110"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnDividerDoubleClickEventArgs.xml b/xml/System.Windows.Forms/DataGridViewColumnDividerDoubleClickEventArgs.xml index f7fc9f0da46..c5254d502c8 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnDividerDoubleClickEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnDividerDoubleClickEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet319"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet319"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet319"::: ]]> @@ -132,7 +132,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet319"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet319"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet319"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnEventArgs.xml b/xml/System.Windows.Forms/DataGridViewColumnEventArgs.xml index d4277ad857e..1e2754c0188 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnEventArgs.xml @@ -64,7 +64,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet314"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet314"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet314"::: ]]> @@ -145,7 +145,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet314"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet314"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet314"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnHeaderCell.xml b/xml/System.Windows.Forms/DataGridViewColumnHeaderCell.xml index 68f61101650..b573295a624 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnHeaderCell.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnHeaderCell.xml @@ -601,7 +601,7 @@ The following code demonstrates how to use the property in a programmatic sort. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SelectedColumns/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnHeadersHeightSizeMode.xml b/xml/System.Windows.Forms/DataGridViewColumnHeadersHeightSizeMode.xml index 0001e389dea..1c653ff3af5 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnHeadersHeightSizeMode.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnHeadersHeightSizeMode.xml @@ -37,7 +37,7 @@ The following code example illustrates the use of this enumeration in a display-only, non-interactive control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnSortMode.xml b/xml/System.Windows.Forms/DataGridViewColumnSortMode.xml index 11bd9c6a38b..737f1b970b4 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnSortMode.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnSortMode.xml @@ -33,7 +33,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Set the Sort Modes for Columns in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/set-the-sort-modes-for-columns-wf-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet066"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet066"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet066"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnStateChangedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewColumnStateChangedEventArgs.xml index 5f0b153ec36..35eae985a0a 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnStateChangedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnStateChangedEventArgs.xml @@ -54,7 +54,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet328"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet328"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet328"::: ]]> @@ -148,7 +148,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet328"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet328"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet328"::: ]]> @@ -198,7 +198,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet328"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet328"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet328"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewComboBoxCell.xml b/xml/System.Windows.Forms/DataGridViewComboBoxCell.xml index 845a889453e..ac19d894120 100644 --- a/xml/System.Windows.Forms/DataGridViewComboBoxCell.xml +++ b/xml/System.Windows.Forms/DataGridViewComboBoxCell.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -269,7 +269,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -364,7 +364,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -514,7 +514,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -620,7 +620,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -674,7 +674,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo The following code example demonstrates how to use the property to determine the type of the cell contents. In this example, the property is used to determine whether the cell contains a before attempting to convert the value. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -998,7 +998,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet30"::: ]]> @@ -1099,7 +1099,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet30"::: ]]> @@ -1501,7 +1501,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet30"::: ]]> @@ -1593,7 +1593,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewComboBoxColumn.xml b/xml/System.Windows.Forms/DataGridViewComboBoxColumn.xml index 0dc944aaffb..e649aef0091 100644 --- a/xml/System.Windows.Forms/DataGridViewComboBoxColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewComboBoxColumn.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet0"::: ]]> @@ -254,7 +254,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -379,7 +379,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -475,7 +475,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -678,7 +678,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -757,7 +757,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -834,7 +834,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet30"::: ]]> @@ -905,7 +905,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet30"::: ]]> @@ -973,7 +973,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet30"::: ]]> @@ -1094,7 +1094,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewComboBoxEditingControl.xml b/xml/System.Windows.Forms/DataGridViewComboBoxEditingControl.xml index 93ad4b9ade3..9fc965e1944 100644 --- a/xml/System.Windows.Forms/DataGridViewComboBoxEditingControl.xml +++ b/xml/System.Windows.Forms/DataGridViewComboBoxEditingControl.xml @@ -54,7 +54,7 @@ The following code example demonstrates how to use an event handler to add a handler for a event. In the example, the editing control is cast to a to handle the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewContentAlignment.xml b/xml/System.Windows.Forms/DataGridViewContentAlignment.xml index 63607cc721c..0426881c9e4 100644 --- a/xml/System.Windows.Forms/DataGridViewContentAlignment.xml +++ b/xml/System.Windows.Forms/DataGridViewContentAlignment.xml @@ -33,7 +33,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Format Data in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-format-data-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet072"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet072"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet072"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewDataErrorContexts.xml b/xml/System.Windows.Forms/DataGridViewDataErrorContexts.xml index f3104aa31d9..1ecdb967229 100644 --- a/xml/System.Windows.Forms/DataGridViewDataErrorContexts.xml +++ b/xml/System.Windows.Forms/DataGridViewDataErrorContexts.xml @@ -39,7 +39,7 @@ The following code example illustrates the use of this type. This example is part of a larger example available in [How to: Handle Errors That Occur During Data Entry in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/handle-errors-that-occur-during-data-entry-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewDataErrorContexts/Overview/errorhandling.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DataError/VB/errorhandling.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewDataErrorContexts/Overview/errorhandling.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewDataErrorEventArgs.xml b/xml/System.Windows.Forms/DataGridViewDataErrorEventArgs.xml index 1ce8cee5bc7..88e60642a9b 100644 --- a/xml/System.Windows.Forms/DataGridViewDataErrorEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewDataErrorEventArgs.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet50"::: ]]> @@ -138,7 +138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet50"::: ]]> @@ -191,7 +191,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet50"::: ]]> @@ -258,7 +258,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet50"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewDataErrorEventHandler.xml b/xml/System.Windows.Forms/DataGridViewDataErrorEventHandler.xml index 0774f143799..55635203eba 100644 --- a/xml/System.Windows.Forms/DataGridViewDataErrorEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewDataErrorEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet50"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewEditMode.xml b/xml/System.Windows.Forms/DataGridViewEditMode.xml index d5bf49c8060..244b03a5514 100644 --- a/xml/System.Windows.Forms/DataGridViewEditMode.xml +++ b/xml/System.Windows.Forms/DataGridViewEditMode.xml @@ -35,7 +35,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Specify the Edit Mode for the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-specify-the-edit-mode-for-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet067"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet067"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet067"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventArgs.xml b/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventArgs.xml index d049c80db7c..a05faa9aac0 100644 --- a/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventArgs.xml @@ -41,7 +41,7 @@ For more information about how to handle events, see [Handling and Raising Event The following code example illustrates how to handle this event to change the property of the current cell. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that the event is associated with the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet210"::: ]]> @@ -141,7 +141,7 @@ For more information about how to handle events, see [Handling and Raising Event The following code example illustrates how to handle this event to change the property of the current cell. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that the event is associated with the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet210"::: ]]> @@ -193,7 +193,7 @@ For more information about how to handle events, see [Handling and Raising Event The following code example illustrates the use of this property. In the example, a event handler adds a handler for a event. The editing control is cast to a to handle the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventHandler.xml b/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventHandler.xml index 7bd01a25396..498de9253fd 100644 --- a/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventHandler.xml @@ -54,7 +54,7 @@ The following code example illustrates how to handle this event to change the property of the current cell. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that the event is associated with the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet210"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewElementStates.xml b/xml/System.Windows.Forms/DataGridViewElementStates.xml index c23ca03a7da..12722b5ca82 100644 --- a/xml/System.Windows.Forms/DataGridViewElementStates.xml +++ b/xml/System.Windows.Forms/DataGridViewElementStates.xml @@ -43,7 +43,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Perform a Custom Action Based on Changes in a Cell of a Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/perform-a-custom-action-based-on-changes-in-a-cell-of-a-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet135"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewHeaderBorderStyle.xml b/xml/System.Windows.Forms/DataGridViewHeaderBorderStyle.xml index 86db7ee6631..ee1e6742622 100644 --- a/xml/System.Windows.Forms/DataGridViewHeaderBorderStyle.xml +++ b/xml/System.Windows.Forms/DataGridViewHeaderBorderStyle.xml @@ -28,7 +28,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Change the Border and Gridline Styles in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/change-the-border-and-gridline-styles-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet030"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet030"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet030"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewHitTestType.xml b/xml/System.Windows.Forms/DataGridViewHitTestType.xml index 6e5b2c52c9b..a33df93f433 100644 --- a/xml/System.Windows.Forms/DataGridViewHitTestType.xml +++ b/xml/System.Windows.Forms/DataGridViewHitTestType.xml @@ -33,7 +33,7 @@ The following code example illustrates the use of this type. This example is part of a larger example available in the property reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewImageCell.xml b/xml/System.Windows.Forms/DataGridViewImageCell.xml index 17db3c9d7fe..e1798fa947a 100644 --- a/xml/System.Windows.Forms/DataGridViewImageCell.xml +++ b/xml/System.Windows.Forms/DataGridViewImageCell.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet10"::: ]]> @@ -330,7 +330,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet20"::: ]]> @@ -422,7 +422,7 @@ The following code example demonstrates how to use the property to determine the type of the cell contents. In this example, the property is used to determine whether the cell contains a before attempting to convert the value. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewImageCellLayout.xml b/xml/System.Windows.Forms/DataGridViewImageCellLayout.xml index 8bd5dc05b00..a61f3f993b1 100644 --- a/xml/System.Windows.Forms/DataGridViewImageCellLayout.xml +++ b/xml/System.Windows.Forms/DataGridViewImageCellLayout.xml @@ -29,7 +29,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewImageColumn.xml b/xml/System.Windows.Forms/DataGridViewImageColumn.xml index 5bb8a0db7e1..905dbf311fb 100644 --- a/xml/System.Windows.Forms/DataGridViewImageColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewImageColumn.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet0"::: ]]> @@ -237,7 +237,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -343,7 +343,7 @@ The following code example demonstrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewContentAlignment/VB/changecolumnalignment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.vb" id="Snippet1"::: ]]> @@ -419,7 +419,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet20"::: ]]> @@ -546,7 +546,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet5"::: ]]> @@ -614,7 +614,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewLinkCell.xml b/xml/System.Windows.Forms/DataGridViewLinkCell.xml index bb2e5405b73..ee46a6d6dc5 100644 --- a/xml/System.Windows.Forms/DataGridViewLinkCell.xml +++ b/xml/System.Windows.Forms/DataGridViewLinkCell.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -127,7 +127,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -307,7 +307,7 @@ The following code example demonstrates how to use the property to determine the type of the cell contents. In this example, the property is used to determine whether the cell contains a before attempting to convert the value. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -554,7 +554,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -600,7 +600,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -1141,7 +1141,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -1195,7 +1195,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -1270,7 +1270,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewLinkColumn.xml b/xml/System.Windows.Forms/DataGridViewLinkColumn.xml index 8c11fdc93f5..c8c9af812ae 100644 --- a/xml/System.Windows.Forms/DataGridViewLinkColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewLinkColumn.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -164,7 +164,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -235,7 +235,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -344,7 +344,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -409,7 +409,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -568,7 +568,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -637,7 +637,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -702,7 +702,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewPaintParts.xml b/xml/System.Windows.Forms/DataGridViewPaintParts.xml index 37cffc1bb16..1ae7550b87d 100644 --- a/xml/System.Windows.Forms/DataGridViewPaintParts.xml +++ b/xml/System.Windows.Forms/DataGridViewPaintParts.xml @@ -39,7 +39,7 @@ The following code example illustrates the use of this type. This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRow.xml b/xml/System.Windows.Forms/DataGridViewRow.xml index 522a06bbc50..c6ca700637d 100644 --- a/xml/System.Windows.Forms/DataGridViewRow.xml +++ b/xml/System.Windows.Forms/DataGridViewRow.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet209"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet209"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet209"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet209"::: ]]> @@ -210,7 +210,7 @@ The following code example demonstrates how to override the method to customize the borders of the row header cells. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet30"::: ]]> @@ -275,7 +275,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet211"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet211"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet211"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet211"::: ]]> @@ -325,7 +325,7 @@ The following example demonstrates how to use the method to copy a row, and then populate the copy with the cell values from the original row. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet60"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet60"::: ]]> @@ -392,7 +392,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet130"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet130"::: ]]> @@ -663,7 +663,7 @@ The following code example demonstrates how to use the property to access a business object bound to a row. This code example is part of a larger example provided in [How to: Access Objects Bound to Windows Forms DataGridView Rows](/dotnet/desktop/winforms/controls/how-to-access-objects-bound-to-windows-forms-datagridview-rows). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewRow/DataBoundItem/datagridviewobjectbinding.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewObjectBinding/VB/datagridviewobjectbinding.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewRow/DataBoundItem/datagridviewobjectbinding.vb" id="Snippet10"::: ]]> @@ -729,7 +729,7 @@ The following code example illustrates how to use this property in a control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -826,7 +826,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet210"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet210"::: ]]> @@ -960,7 +960,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet50"::: ]]> @@ -1019,7 +1019,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet7"::: ]]> @@ -1169,7 +1169,7 @@ The following code example uses the method to determine the new padding for a row that has been resized. This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet40"::: ]]> @@ -1294,7 +1294,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet209"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet209"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet209"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet209"::: ]]> @@ -1351,7 +1351,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet208"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet208"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet208"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet208"::: ]]> @@ -1470,7 +1470,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet209"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet209"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet209"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet209"::: ]]> @@ -1530,7 +1530,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet207"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet207"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet207"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet207"::: ]]> @@ -1796,7 +1796,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet11"::: ]]> @@ -1856,7 +1856,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/CPP/mousesizing.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/VB/mousesizing.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.vb" id="Snippet15"::: ]]> @@ -1904,7 +1904,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb" id="Snippet05"::: ]]> @@ -2103,7 +2103,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowCancelEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowCancelEventArgs.xml index 60a91cc2154..315e3865395 100644 --- a/xml/System.Windows.Forms/DataGridViewRowCancelEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowCancelEventArgs.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/CPP/virtualmode.cpp" id="Snippet180"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/VB/virtualmode.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.vb" id="Snippet180"::: ]]> @@ -142,7 +142,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/CPP/virtualmode.cpp" id="Snippet180"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/VB/virtualmode.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.vb" id="Snippet180"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowCollection.xml b/xml/System.Windows.Forms/DataGridViewRowCollection.xml index 1108d1b4584..2a70d4bca86 100644 --- a/xml/System.Windows.Forms/DataGridViewRowCollection.xml +++ b/xml/System.Windows.Forms/DataGridViewRowCollection.xml @@ -718,7 +718,7 @@ The following code example demonstrates how to use the method when the row for new records is selected to work around the bug indicated in the Remarks section. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet30"::: ]]> @@ -896,7 +896,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridViewRowCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet373"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet373"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet373"::: ]]> @@ -1412,7 +1412,7 @@ The following code example illustrates the use of this method to get the number of selected rows. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb" id="Snippet20"::: ]]> @@ -2068,7 +2068,7 @@ The following code example demonstrates how to use the method to insert rows before selected rows to work around the bug indicated in the Remarks section. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet40"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventArgs.xml index 8d3487136ba..a0eb8a3a0f1 100644 --- a/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventArgs.xml @@ -50,7 +50,7 @@ The following code example handles the event to provide a based on the title of the employee. In this example, there are two shortcut menus, one for managers and one for all other employees. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet00"::: ]]> @@ -155,7 +155,7 @@ The following code example handles the event to provide a based on the title of the employee. In this example, there are two shortcut menus, one for managers and one for all other employees. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet10"::: ]]> @@ -208,7 +208,7 @@ The following code example handles the event to provide a based on the title of the employee. In this example, there are two shortcut menus, one for managers and one for all other employees. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventHandler.xml b/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventHandler.xml index 14579288f06..7eba7440aaa 100644 --- a/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventHandler.xml @@ -62,7 +62,7 @@ In the following code example, the event is handled to provide a based on the title of the employee. In this example, two there are two context menus, one for managers and one for all other employees. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowDividerDoubleClickEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowDividerDoubleClickEventArgs.xml index b6b92f9ad87..98cb9eaa28a 100644 --- a/xml/System.Windows.Forms/DataGridViewRowDividerDoubleClickEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowDividerDoubleClickEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet342"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet342"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet342"::: ]]> @@ -129,7 +129,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet342"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet342"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet342"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowErrorTextNeededEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowErrorTextNeededEventArgs.xml index e1869309e5c..e97a45afeba 100644 --- a/xml/System.Windows.Forms/DataGridViewRowErrorTextNeededEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowErrorTextNeededEventArgs.xml @@ -52,7 +52,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet346"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet346"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet346"::: ]]> @@ -119,7 +119,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet24"::: ]]> @@ -168,7 +168,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet346"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet346"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet346"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowEventArgs.xml index ac16be9eea1..2c3ea8e8cf9 100644 --- a/xml/System.Windows.Forms/DataGridViewRowEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowEventArgs.xml @@ -64,7 +64,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet120"::: ]]> @@ -151,7 +151,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet120"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowEventHandler.xml b/xml/System.Windows.Forms/DataGridViewRowEventHandler.xml index b17c103be49..d4b0a71e1e4 100644 --- a/xml/System.Windows.Forms/DataGridViewRowEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewRowEventHandler.xml @@ -77,7 +77,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowHeadersWidthSizeMode.xml b/xml/System.Windows.Forms/DataGridViewRowHeadersWidthSizeMode.xml index 9a9a907add6..faa35264d8e 100644 --- a/xml/System.Windows.Forms/DataGridViewRowHeadersWidthSizeMode.xml +++ b/xml/System.Windows.Forms/DataGridViewRowHeadersWidthSizeMode.xml @@ -39,7 +39,7 @@ The following code example illustrates the use of this enumeration in a display-only, non-interactive control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowHeightInfoNeededEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowHeightInfoNeededEventArgs.xml index 74dc648519d..9648b277dfa 100644 --- a/xml/System.Windows.Forms/DataGridViewRowHeightInfoNeededEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowHeightInfoNeededEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet351"::: ]]> @@ -85,7 +85,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet351"::: ]]> @@ -136,7 +136,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet351"::: ]]> @@ -187,7 +187,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet351"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowHeightInfoPushedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowHeightInfoPushedEventArgs.xml index a8df0d34420..d6520500a90 100644 --- a/xml/System.Windows.Forms/DataGridViewRowHeightInfoPushedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowHeightInfoPushedEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet352"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet352"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet352"::: ]]> @@ -87,7 +87,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet352"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet352"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet352"::: ]]> @@ -137,7 +137,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet352"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet352"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet352"::: ]]> @@ -187,7 +187,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet352"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet352"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet352"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowPostPaintEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowPostPaintEventArgs.xml index b4425d60a76..a3cd02cf640 100644 --- a/xml/System.Windows.Forms/DataGridViewRowPostPaintEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowPostPaintEventArgs.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to handle the event to make the content of a cell span the entire row. This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet30"::: ]]> @@ -169,7 +169,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet355"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet355"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet355"::: ]]> @@ -220,7 +220,7 @@ The following code example demonstrates how to use the method to draw a focus around the visible cells of the row. This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet30"::: ]]> @@ -282,7 +282,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet355"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet355"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet355"::: ]]> @@ -334,7 +334,7 @@ The following code example demonstrates how to use the property to paint a custom background. Although the code actually uses the property, this property is nearly identical to the property of . The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet25"::: ]]> @@ -388,7 +388,7 @@ The following code example demonstrates how to use the to determine the color to use to draw the content. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet34"::: ]]> @@ -441,7 +441,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet355"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet355"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet355"::: ]]> @@ -489,7 +489,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet355"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet355"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet355"::: ]]> @@ -729,7 +729,7 @@ The following code example demonstrates how to use the property to determine the bounds of the visible cells in a row. This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet30"::: ]]> @@ -782,7 +782,7 @@ The following code example demonstrates how to use the property to access the current row. The code gets the value of the cell at the intersection of the selected row and the third column, and then paints this value over the entire row. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet35"::: ]]> @@ -833,7 +833,7 @@ The following code example demonstrates how to use the property to determine whether the current row is selected. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet34"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowPostPaintEventHandler.xml b/xml/System.Windows.Forms/DataGridViewRowPostPaintEventHandler.xml index 69f1d8b19b4..420ff28cf59 100644 --- a/xml/System.Windows.Forms/DataGridViewRowPostPaintEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewRowPostPaintEventHandler.xml @@ -50,7 +50,7 @@ The following code example presents a delegate that paints textual content that spans the entire row below the normal cell values. This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet30"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowPrePaintEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowPrePaintEventArgs.xml index e9d931e6e62..e5426560a5b 100644 --- a/xml/System.Windows.Forms/DataGridViewRowPrePaintEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowPrePaintEventArgs.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to handle the event to draw a custom background for selected cells. This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet20"::: ]]> @@ -169,7 +169,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet356"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet356"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet356"::: ]]> @@ -220,7 +220,7 @@ The following code example demonstrates how to use the method to draw a focus around the visible cells of the row. The code actually uses the method, which is nearly identical to the method of . This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet30"::: ]]> @@ -283,7 +283,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet356"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet356"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet356"::: ]]> @@ -335,7 +335,7 @@ The following code example demonstrates how to use the property to paint the custom background. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet25"::: ]]> @@ -389,7 +389,7 @@ The following code example demonstrates how to use the property to paint a custom background for the selected row. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet25"::: ]]> @@ -442,7 +442,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet356"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet356"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet356"::: ]]> @@ -490,7 +490,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet356"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet356"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet356"::: ]]> @@ -741,7 +741,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet20"::: ]]> @@ -792,7 +792,7 @@ The following code example demonstrates how to use the property to calculate the bounds of the row to paint a custom background. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet25"::: ]]> @@ -845,7 +845,7 @@ The following code example demonstrates how to use the property to access the current row. Although the code actually uses the property, this property is nearly identical to the property of . The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet35"::: ]]> @@ -896,7 +896,7 @@ The following code example demonstrates how to use the property to determine whether a row is selected. If the row is selected, the code paints a custom background. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet25"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowPrePaintEventHandler.xml b/xml/System.Windows.Forms/DataGridViewRowPrePaintEventHandler.xml index 528e9ce535e..ea97152467c 100644 --- a/xml/System.Windows.Forms/DataGridViewRowPrePaintEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewRowPrePaintEventHandler.xml @@ -50,7 +50,7 @@ The following code example presents a delegate that paints a gradient row background if the row is selected. This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowStateChangedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowStateChangedEventArgs.xml index 9f618073469..bc49e762e1b 100644 --- a/xml/System.Windows.Forms/DataGridViewRowStateChangedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowStateChangedEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet359"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet359"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet359"::: ]]> @@ -145,7 +145,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet359"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet359"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet359"::: ]]> @@ -194,7 +194,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet359"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet359"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet359"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowsAddedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowsAddedEventArgs.xml index 3e0455a1f06..da4531ab49a 100644 --- a/xml/System.Windows.Forms/DataGridViewRowsAddedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowsAddedEventArgs.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet20"::: ]]> @@ -129,7 +129,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet357"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet357"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet357"::: ]]> @@ -182,7 +182,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet357"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet357"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet357"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowsAddedEventHandler.xml b/xml/System.Windows.Forms/DataGridViewRowsAddedEventHandler.xml index edab94082d5..6019b6ff84f 100644 --- a/xml/System.Windows.Forms/DataGridViewRowsAddedEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewRowsAddedEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet30"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowsRemovedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowsRemovedEventArgs.xml index fa040d698b1..1aa1a85cfdc 100644 --- a/xml/System.Windows.Forms/DataGridViewRowsRemovedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowsRemovedEventArgs.xml @@ -38,7 +38,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet358"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet358"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet358"::: ]]> @@ -129,7 +129,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet358"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet358"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet358"::: ]]> @@ -177,7 +177,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet358"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet358"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet358"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewSelectionMode.xml b/xml/System.Windows.Forms/DataGridViewSelectionMode.xml index 6652e662baa..0d699b5c102 100644 --- a/xml/System.Windows.Forms/DataGridViewSelectionMode.xml +++ b/xml/System.Windows.Forms/DataGridViewSelectionMode.xml @@ -33,7 +33,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Set the Selection Mode of the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-set-the-selection-mode-of-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet065"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet065"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet065"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewSortCompareEventArgs.xml b/xml/System.Windows.Forms/DataGridViewSortCompareEventArgs.xml index bf0ddd90d33..110bdbbebfc 100644 --- a/xml/System.Windows.Forms/DataGridViewSortCompareEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewSortCompareEventArgs.xml @@ -42,7 +42,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -160,7 +160,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -217,7 +217,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -277,7 +277,7 @@ The following code example demonstrates the use of in a multiple column sort. In this example the ID column is used to determine the final order if there are identical values in the sorted column, so no additional sorting will be done if there are duplicate values in the ID column. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -330,7 +330,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -384,7 +384,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -442,7 +442,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewSortCompareEventHandler.xml b/xml/System.Windows.Forms/DataGridViewSortCompareEventHandler.xml index 2ffcdce151f..42c5453211f 100644 --- a/xml/System.Windows.Forms/DataGridViewSortCompareEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewSortCompareEventHandler.xml @@ -50,7 +50,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewTextBoxCell.xml b/xml/System.Windows.Forms/DataGridViewTextBoxCell.xml index 714d3812567..e7ae86f5a43 100644 --- a/xml/System.Windows.Forms/DataGridViewTextBoxCell.xml +++ b/xml/System.Windows.Forms/DataGridViewTextBoxCell.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -94,7 +94,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -258,7 +258,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo The following code example demonstrates how to use the property to determine the type of the cell contents. In this example, the property is used to determine whether the cell contains a before attempting to convert the value. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewTextBoxColumn.xml b/xml/System.Windows.Forms/DataGridViewTextBoxColumn.xml index 6fea91782c1..297973fc94e 100644 --- a/xml/System.Windows.Forms/DataGridViewTextBoxColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewTextBoxColumn.xml @@ -50,7 +50,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.vb" id="Snippet20"::: ]]> @@ -161,7 +161,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -284,7 +284,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet066"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet066"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet066"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewTriState.xml b/xml/System.Windows.Forms/DataGridViewTriState.xml index a186cf0f5ef..d46c87b94f8 100644 --- a/xml/System.Windows.Forms/DataGridViewTriState.xml +++ b/xml/System.Windows.Forms/DataGridViewTriState.xml @@ -33,7 +33,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet074"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet074"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet074"::: ]]> diff --git a/xml/System.Windows.Forms/DataObject.xml b/xml/System.Windows.Forms/DataObject.xml index eb40b5ded5f..334e532cae5 100644 --- a/xml/System.Windows.Forms/DataObject.xml +++ b/xml/System.Windows.Forms/DataObject.xml @@ -85,13 +85,13 @@ The class provides additional methods tha :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/Overview/source.vb" id="Snippet1"::: The next example retrieves the data stored in a . First, a new is created with text data. Then, the data is retrieved, specifying its format as a string, and displayed in a text box. The data format is automatically converted from text to string. This code requires that `textBox1` has been created. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/Overview/source.vb" id="Snippet2"::: ]]> @@ -139,7 +139,7 @@ The class provides additional methods tha :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.DataObject2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source.vb" id="Snippet1"::: ]]> @@ -188,7 +188,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.DataObject3 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -235,7 +235,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.DataObject4 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject4 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -592,7 +592,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/Overview/source.vb" id="Snippet1"::: ]]> @@ -662,7 +662,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.GetData2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/GetData/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetData2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/GetData/source1.vb" id="Snippet1"::: ]]> @@ -744,7 +744,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.GetData Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/GetData/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetData Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/GetData/source.vb" id="Snippet1"::: ]]> @@ -883,7 +883,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.GetDataPresent Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/GetDataPresent/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetDataPresent Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/GetDataPresent/source.vb" id="Snippet1"::: ]]> @@ -966,7 +966,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.GetDataPresent1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/GetDataPresent/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetDataPresent1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/GetDataPresent/source1.vb" id="Snippet1"::: ]]> @@ -1083,7 +1083,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.GetFormats1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/GetFormats/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetFormats1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/GetFormats/source1.vb" id="Snippet1"::: ]]> @@ -1145,7 +1145,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.GetFormats Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/GetFormats/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetFormats Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/GetFormats/source.vb" id="Snippet1"::: ]]> @@ -1463,7 +1463,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.SetData3 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/SetData/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source3.vb" id="Snippet1"::: ]]> @@ -1537,7 +1537,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.SetData1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/SetData/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source1.vb" id="Snippet1"::: ]]> @@ -1609,7 +1609,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.SetData2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/SetData/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source2.vb" id="Snippet1"::: ]]> @@ -1687,7 +1687,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.SetData Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/SetData/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DateRangeEventArgs.xml b/xml/System.Windows.Forms/DateRangeEventArgs.xml index c76e98448d3..acbe3b3cf83 100644 --- a/xml/System.Windows.Forms/DateRangeEventArgs.xml +++ b/xml/System.Windows.Forms/DateRangeEventArgs.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -182,7 +182,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DateRangeEventHandler.xml b/xml/System.Windows.Forms/DateRangeEventHandler.xml index 9e31fedb7cd..5d6f72dfba8 100644 --- a/xml/System.Windows.Forms/DateRangeEventHandler.xml +++ b/xml/System.Windows.Forms/DateRangeEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DateTimePicker.xml b/xml/System.Windows.Forms/DateTimePicker.xml index 783e44cc719..ab19abc9d26 100644 --- a/xml/System.Windows.Forms/DateTimePicker.xml +++ b/xml/System.Windows.Forms/DateTimePicker.xml @@ -94,7 +94,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/Overview/source.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/Overview/source.vb" id="Snippet1"::: ]]> @@ -451,7 +451,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DateTimePicker.CalendarFont/CPP/calendarfont.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/CalendarFont/calendarfont.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarFont/VB/calendarfont.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarFont/calendarfont.vb" id="Snippet1"::: ]]> @@ -504,7 +504,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DateTimePicker.CalendarForeColor/CPP/calendarforecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/CalendarForeColor/calendarforecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarForeColor/VB/calendarforecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarForeColor/calendarforecolor.vb" id="Snippet1"::: ]]> @@ -559,7 +559,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DateTimePicker.CalendarMonthBackground/CPP/calendarmonthbackground.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/CalendarMonthBackground/calendarmonthbackground.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarMonthBackground/VB/calendarmonthbackground.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarMonthBackground/calendarmonthbackground.vb" id="Snippet1"::: ]]> @@ -841,7 +841,7 @@ To run the example code, paste it into a project that contains an instance of type named `DateTimePicker1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet376"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet376"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet376"::: ]]> @@ -1050,7 +1050,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/CustomFormat/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CustomFormat/source.vb" id="Snippet1"::: ]]> @@ -1381,7 +1381,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/DropDown/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/DropDown/form1.vb" id="Snippet2"::: ]]> @@ -1437,7 +1437,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/DropDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/DropDown/form1.vb" id="Snippet1"::: ]]> @@ -1602,7 +1602,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/CustomFormat/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CustomFormat/source.vb" id="Snippet1"::: ]]> @@ -1650,7 +1650,7 @@ To run the example code, paste it into a project that contains an instance of type named `DateTimePicker1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet374"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet374"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet374"::: ]]> @@ -1733,7 +1733,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/Overview/source.vb" id="Snippet1"::: ]]> @@ -1795,7 +1795,7 @@ The maximum date is set to 12/31/9998 23:59:59. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/DropDown/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/DropDown/form1.vb" id="Snippet2"::: ]]> @@ -1874,7 +1874,7 @@ The maximum date is set to December 31, 9998. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/Overview/source.vb" id="Snippet1"::: ]]> @@ -2791,7 +2791,7 @@ The value assigned is less than the @@ -2879,7 +2879,7 @@ The value assigned is less than the @@ -2933,7 +2933,7 @@ The value assigned is less than the @@ -3124,7 +3124,7 @@ The value assigned is less than the @@ -3174,7 +3174,7 @@ The value assigned is less than the diff --git a/xml/System.Windows.Forms/DateTimePickerFormat.xml b/xml/System.Windows.Forms/DateTimePickerFormat.xml index 32d23a55843..6882c04c66d 100644 --- a/xml/System.Windows.Forms/DateTimePickerFormat.xml +++ b/xml/System.Windows.Forms/DateTimePickerFormat.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/DropDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/DropDown/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DialogResult.xml b/xml/System.Windows.Forms/DialogResult.xml index 23dde65d0b0..7321231932b 100644 --- a/xml/System.Windows.Forms/DialogResult.xml +++ b/xml/System.Windows.Forms/DialogResult.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/DockStyle.xml b/xml/System.Windows.Forms/DockStyle.xml index c9a2066d2cc..ed37e973462 100644 --- a/xml/System.Windows.Forms/DockStyle.xml +++ b/xml/System.Windows.Forms/DockStyle.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection.xml b/xml/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection.xml index 1021ab4ee6a..ed40662b70b 100644 --- a/xml/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection.xml +++ b/xml/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown.DomainUpDownItemCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown.DomainUpDownItemCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -94,7 +94,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown.DomainUpDownItemCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown.DomainUpDownItemCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DomainUpDown.xml b/xml/System.Windows.Forms/DomainUpDown.xml index b8bb68a1fe7..26ee483d26c 100644 --- a/xml/System.Windows.Forms/DomainUpDown.xml +++ b/xml/System.Windows.Forms/DomainUpDown.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -110,7 +110,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -263,7 +263,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -373,7 +373,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -616,7 +616,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -682,7 +682,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -729,7 +729,7 @@ To run the example code, paste it into a project that contains an instance of type named `DomainUpDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet381"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet381"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet381"::: ]]> @@ -788,7 +788,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -956,7 +956,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DragAction.xml b/xml/System.Windows.Forms/DragAction.xml index 3c59c2b5c54..6f2908301f5 100644 --- a/xml/System.Windows.Forms/DragAction.xml +++ b/xml/System.Windows.Forms/DragAction.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/DragDropEffects.xml b/xml/System.Windows.Forms/DragDropEffects.xml index a67cdb7c330..7b6e8d8d142 100644 --- a/xml/System.Windows.Forms/DragDropEffects.xml +++ b/xml/System.Windows.Forms/DragDropEffects.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DragEventArgs.xml b/xml/System.Windows.Forms/DragEventArgs.xml index c50520496e5..9b0a5b1a237 100644 --- a/xml/System.Windows.Forms/DragEventArgs.xml +++ b/xml/System.Windows.Forms/DragEventArgs.xml @@ -58,7 +58,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: The following example illustrates how are passed between the source and target of a drag-and-drop operation. In this example, a control is the source of the data, and the control is the target. The example assumes that the control has been populated with a list of valid filenames. When the user drags one of the displayed filenames from the control onto the control, the file referenced in the filename is opened. @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextDragDrop/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextDragDrop/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form1.vb" id="Snippet1"::: ]]> @@ -223,7 +223,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> @@ -284,7 +284,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> @@ -374,7 +374,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> @@ -447,7 +447,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> @@ -555,7 +555,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> @@ -610,7 +610,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DragEventHandler.xml b/xml/System.Windows.Forms/DragEventHandler.xml index 5fcc58e117e..dcbaf19b8cc 100644 --- a/xml/System.Windows.Forms/DragEventHandler.xml +++ b/xml/System.Windows.Forms/DragEventHandler.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DrawItemEventArgs.xml b/xml/System.Windows.Forms/DrawItemEventArgs.xml index d27f301298b..9c11f37e654 100644 --- a/xml/System.Windows.Forms/DrawItemEventArgs.xml +++ b/xml/System.Windows.Forms/DrawItemEventArgs.xml @@ -53,7 +53,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are fixed sized and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control that is named `listBox1` has been added to a form and that the event is handled by the event handler defined in the example code. The example also assumes that items have been added to the with the text of "Apple", "Orange", and "Plum" in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -213,7 +213,7 @@ To run the example code, paste it into a project that contains an instance of type that is named `ListBox1`. Then make sure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet153"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet153"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet153"::: ]]> @@ -259,7 +259,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are fixed sized and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control that is named `listBox1` has been added to a form and that the event is handled by the event handler defined in the example code. The example also assumes that items have been added to the with the text of "Apple", "Orange", and "Plum" in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -362,7 +362,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are a fixed size and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control named `listBox1` was added to a form and that the event is handled by the event handler that is defined in the example code. The example also assumes that items were added to the with the text of "Apple", "Orange", and "Plum", in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -410,7 +410,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are a fixed size and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control named `listBox1` was added to a form and that the event is handled by the event handler that is defined in the example code. The example also assumes that items were added to the with the text of "Apple", "Orange", and "Plum", in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -469,7 +469,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are a fixed size and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control named `listBox1` was added to a form and that the event is handled by the event handler that is defined in the example code. The example also assumes that items were added to the with the text of "Apple", "Orange", and "Plum", in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -517,7 +517,7 @@ To run the example code, paste it into a project that contains an instance of type that is named `ListBox1`. Then make sure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet153"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet153"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet153"::: ]]> @@ -563,7 +563,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are a fixed size and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control named `listBox1` was added to a form and that the event is handled by the event handler that is defined in the example code. The example also assumes that items were added to the with the text of "Apple", "Orange", and "Plum", in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -614,7 +614,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are a fixed size and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control named `listBox1` was added to a form and that the event is handled by the event handler that is defined in the example code. The example also assumes that items were added to the with the text of "Apple", "Orange", and "Plum", in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -667,7 +667,7 @@ To run the example code, paste it into a project that contains an instance of type that is named `ListBox1`. Then make sure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet153"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet153"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet153"::: ]]> diff --git a/xml/System.Windows.Forms/DrawItemEventHandler.xml b/xml/System.Windows.Forms/DrawItemEventHandler.xml index d90f9597aed..5bcd9e948d3 100644 --- a/xml/System.Windows.Forms/DrawItemEventHandler.xml +++ b/xml/System.Windows.Forms/DrawItemEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MenuItemOwnerDraw/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventHandler/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MenuItemOwnerDraw/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventHandler/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DrawItemState.xml b/xml/System.Windows.Forms/DrawItemState.xml index fc55c146ca0..537fcac5fd4 100644 --- a/xml/System.Windows.Forms/DrawItemState.xml +++ b/xml/System.Windows.Forms/DrawItemState.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DrawListViewColumnHeaderEventArgs.xml b/xml/System.Windows.Forms/DrawListViewColumnHeaderEventArgs.xml index 268d8061831..956c0c19e01 100644 --- a/xml/System.Windows.Forms/DrawListViewColumnHeaderEventArgs.xml +++ b/xml/System.Windows.Forms/DrawListViewColumnHeaderEventArgs.xml @@ -53,7 +53,7 @@ A component provides a way to switch between the details view and the list view. In the list view, only the event is fired. In this case, the text and background are both drawn in the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet1"::: ]]> @@ -161,7 +161,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet470"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet470"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet470"::: ]]> @@ -212,7 +212,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet5"::: ]]> @@ -262,7 +262,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet470"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet470"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet470"::: ]]> @@ -310,7 +310,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet5"::: ]]> @@ -369,7 +369,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet470"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet470"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet470"::: ]]> @@ -509,7 +509,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet470"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet470"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet470"::: ]]> @@ -558,7 +558,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet470"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet470"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet470"::: ]]> @@ -613,7 +613,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet5"::: ]]> @@ -669,7 +669,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet5"::: ]]> @@ -724,7 +724,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet470"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet470"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet470"::: ]]> diff --git a/xml/System.Windows.Forms/DrawListViewItemEventArgs.xml b/xml/System.Windows.Forms/DrawListViewItemEventArgs.xml index df6486476bd..e31f8949cbf 100644 --- a/xml/System.Windows.Forms/DrawListViewItemEventArgs.xml +++ b/xml/System.Windows.Forms/DrawListViewItemEventArgs.xml @@ -53,7 +53,7 @@ A component provides a way to switch between the details view and the list view. In the list view, only the event is fired. In this case, the text and background are both drawn in the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet1"::: ]]> @@ -146,7 +146,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> @@ -247,7 +247,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet471"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet471"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet471"::: ]]> @@ -294,7 +294,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> @@ -360,7 +360,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> @@ -470,7 +470,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> @@ -525,7 +525,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> @@ -578,7 +578,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet471"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet471"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet471"::: ]]> @@ -633,7 +633,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/DrawListViewSubItemEventArgs.xml b/xml/System.Windows.Forms/DrawListViewSubItemEventArgs.xml index 055372429a2..e55a8202b45 100644 --- a/xml/System.Windows.Forms/DrawListViewSubItemEventArgs.xml +++ b/xml/System.Windows.Forms/DrawListViewSubItemEventArgs.xml @@ -55,7 +55,7 @@ A component provides a way to switch between the details view and the list view. In the list view, only the event is fired. In this case, the text and background are both drawn in the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet1"::: ]]> @@ -168,7 +168,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -218,7 +218,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -276,7 +276,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -341,7 +341,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet472"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet472"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet472"::: ]]> @@ -501,7 +501,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -564,7 +564,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -615,7 +615,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -676,7 +676,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet472"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet472"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet472"::: ]]> @@ -731,7 +731,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet472"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet472"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet472"::: ]]> @@ -788,7 +788,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -846,7 +846,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DrawMode.xml b/xml/System.Windows.Forms/DrawMode.xml index da8a710531a..50754178001 100644 --- a/xml/System.Windows.Forms/DrawMode.xml +++ b/xml/System.Windows.Forms/DrawMode.xml @@ -41,7 +41,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are fixed sized and the event to perform the drawing of each item into the . The example uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control called `listBox1` has been added to a form and that the event is handled by the event handler defined in the example. The example also assumes that items have been added to the with the text of "Apple", "Orange", and "Plum" in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DrawToolTipEventArgs.xml b/xml/System.Windows.Forms/DrawToolTipEventArgs.xml index 7455ef18c31..665c1b159de 100644 --- a/xml/System.Windows.Forms/DrawToolTipEventArgs.xml +++ b/xml/System.Windows.Forms/DrawToolTipEventArgs.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -170,7 +170,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet5"::: ]]> @@ -225,7 +225,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet618"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet618"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet618"::: ]]> @@ -278,7 +278,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet3"::: ]]> @@ -324,7 +324,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet4"::: ]]> @@ -370,7 +370,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet4"::: ]]> @@ -433,7 +433,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet4"::: ]]> @@ -530,7 +530,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet4"::: ]]> @@ -593,7 +593,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet2"::: ]]> @@ -646,7 +646,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/DrawToolTipEventHandler.xml b/xml/System.Windows.Forms/DrawToolTipEventHandler.xml index 113eabbdd86..7f88832f5c5 100644 --- a/xml/System.Windows.Forms/DrawToolTipEventHandler.xml +++ b/xml/System.Windows.Forms/DrawToolTipEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DrawTreeNodeEventArgs.xml b/xml/System.Windows.Forms/DrawTreeNodeEventArgs.xml index dcb829ec3ca..d5266f39e00 100644 --- a/xml/System.Windows.Forms/DrawTreeNodeEventArgs.xml +++ b/xml/System.Windows.Forms/DrawTreeNodeEventArgs.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet1"::: ]]> @@ -154,7 +154,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet3"::: ]]> @@ -216,7 +216,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet3"::: ]]> @@ -270,7 +270,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet3"::: ]]> @@ -332,7 +332,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet3"::: ]]> @@ -390,7 +390,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/ErrorBlinkStyle.xml b/xml/System.Windows.Forms/ErrorBlinkStyle.xml index f587331a696..a6c2758eb5d 100644 --- a/xml/System.Windows.Forms/ErrorBlinkStyle.xml +++ b/xml/System.Windows.Forms/ErrorBlinkStyle.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ErrorIconAlignment.xml b/xml/System.Windows.Forms/ErrorIconAlignment.xml index 8f7f5ba3e38..72b7ae83c9b 100644 --- a/xml/System.Windows.Forms/ErrorIconAlignment.xml +++ b/xml/System.Windows.Forms/ErrorIconAlignment.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ErrorProvider.xml b/xml/System.Windows.Forms/ErrorProvider.xml index 508902dfdd9..67640d977b8 100644 --- a/xml/System.Windows.Forms/ErrorProvider.xml +++ b/xml/System.Windows.Forms/ErrorProvider.xml @@ -79,13 +79,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: The following code example shows how to use the with a and to indicate a data error to the user. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ErrorProvider Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorProvider/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ErrorProvider Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorProvider/Overview/source.vb" id="Snippet1"::: ]]> @@ -314,7 +314,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> @@ -367,7 +367,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> @@ -577,7 +577,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ErrorProvider Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorProvider/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ErrorProvider Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorProvider/Overview/source.vb" id="Snippet1"::: ]]> @@ -647,7 +647,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ErrorProvider Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorProvider/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ErrorProvider Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorProvider/Overview/source.vb" id="Snippet1"::: ]]> @@ -737,7 +737,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/CPP/filedialogform.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/DoEvents/filedialogform.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb" id="Snippet2"::: ]]> @@ -1066,7 +1066,7 @@ To run the example code, paste it into a project that contains an instance of type named `ErrorProvider1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet382"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet382"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet382"::: ]]> @@ -1124,7 +1124,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> @@ -1177,7 +1177,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> @@ -1231,7 +1231,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FeatureSupport.xml b/xml/System.Windows.Forms/FeatureSupport.xml index 803ebff9b5f..6218f8ab3ed 100644 --- a/xml/System.Windows.Forms/FeatureSupport.xml +++ b/xml/System.Windows.Forms/FeatureSupport.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> @@ -255,7 +255,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FileDialog.xml b/xml/System.Windows.Forms/FileDialog.xml index f74bdcb373e..7ded6432231 100644 --- a/xml/System.Windows.Forms/FileDialog.xml +++ b/xml/System.Windows.Forms/FileDialog.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OpenFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -420,7 +420,7 @@ The following code example demonstrates how to use the collection. To run this example, paste the following code into a Windows Form and call `InitializeDialogAndButton` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/CustomPlaces/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb" id="Snippet1"::: ]]> @@ -473,7 +473,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/DefaultExt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb" id="Snippet1"::: ]]> @@ -594,7 +594,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/DefaultExt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb" id="Snippet1"::: ]]> @@ -655,7 +655,7 @@ The following code example allows the user to select a number of images and display them in controls on a Form. It demonstrates initializing an , setting the and properties, and allowing the user to select multiple files by setting the property to true. This code example assumes that your form already has an control named `openFileDialog1`, a named `SelectFileButton`, and a named `flowLayoutPanel1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/FileNames/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.vb" id="Snippet1"::: ]]> @@ -700,7 +700,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/CPP/filedialogform.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/DoEvents/filedialogform.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb" id="Snippet1"::: ]]> @@ -766,7 +766,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OpenFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -832,7 +832,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OpenFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -952,7 +952,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OpenFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -1168,7 +1168,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OpenFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -1383,7 +1383,7 @@ The following code example saves files with the extension ".data.txt". This code example requires that your application host a named `saveFileDialog1` and a named `button1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.vb" id="Snippet1"::: ]]> @@ -1439,7 +1439,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/CPP/filedialogform.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/DoEvents/filedialogform.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/FileDialogCustomPlace.xml b/xml/System.Windows.Forms/FileDialogCustomPlace.xml index 9f24373fb7f..e1ab74e4e0e 100644 --- a/xml/System.Windows.Forms/FileDialogCustomPlace.xml +++ b/xml/System.Windows.Forms/FileDialogCustomPlace.xml @@ -104,7 +104,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form and call `InitializeDialogAndButton` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/CustomPlaces/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FileDialogCustomPlacesCollection.xml b/xml/System.Windows.Forms/FileDialogCustomPlacesCollection.xml index b8366b1d4fe..08bc21fb05b 100644 --- a/xml/System.Windows.Forms/FileDialogCustomPlacesCollection.xml +++ b/xml/System.Windows.Forms/FileDialogCustomPlacesCollection.xml @@ -54,7 +54,7 @@ The following code example demonstrates how to use the . To run this example, paste the following code into a Windows Form and call `InitializeDialogAndButton` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/CustomPlaces/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb" id="Snippet1"::: ]]> @@ -150,7 +150,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form and call `InitializeDialogAndButton` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/CustomPlaces/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb" id="Snippet1"::: ]]> @@ -204,7 +204,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form and call `InitializeDialogAndButton` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/CustomPlaces/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FlowDirection.xml b/xml/System.Windows.Forms/FlowDirection.xml index bb889d4ca5f..b23d21bdbc6 100644 --- a/xml/System.Windows.Forms/FlowDirection.xml +++ b/xml/System.Windows.Forms/FlowDirection.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FlowDirection/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FlowDirection/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/FlowLayoutPanel.xml b/xml/System.Windows.Forms/FlowLayoutPanel.xml index 5c78308c9a7..2bccbe565ee 100644 --- a/xml/System.Windows.Forms/FlowLayoutPanel.xml +++ b/xml/System.Windows.Forms/FlowLayoutPanel.xml @@ -79,7 +79,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FlowDirection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FlowDirection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -169,7 +169,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FlowDirection/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FlowDirection/Overview/form1.vb" id="Snippet4"::: ]]> @@ -386,7 +386,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/cpp/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FlowDirection/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FlowDirection/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/FolderBrowserDialog.xml b/xml/System.Windows.Forms/FolderBrowserDialog.xml index 9aaa3a87eeb..82fa7913ab4 100644 --- a/xml/System.Windows.Forms/FolderBrowserDialog.xml +++ b/xml/System.Windows.Forms/FolderBrowserDialog.xml @@ -67,7 +67,7 @@ This class provides a way to prompt the user to browse, create, and eventually s :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -117,7 +117,7 @@ This class provides a way to prompt the user to browse, create, and eventually s :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -292,7 +292,7 @@ This class provides a way to prompt the user to browse, create, and eventually s :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -556,7 +556,7 @@ This class provides a way to prompt the user to browse, create, and eventually s :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -671,7 +671,7 @@ This class provides a way to prompt the user to browse, create, and eventually s :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -801,7 +801,7 @@ When is `tru :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FontDialog.xml b/xml/System.Windows.Forms/FontDialog.xml index a0136dde14a..6bca2407959 100644 --- a/xml/System.Windows.Forms/FontDialog.xml +++ b/xml/System.Windows.Forms/FontDialog.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic FontDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic FontDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -321,7 +321,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Apply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb" id="Snippet1"::: ]]> @@ -372,7 +372,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic FontDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic FontDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -495,7 +495,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic FontDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic FontDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -552,7 +552,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Apply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb" id="Snippet1"::: ]]> @@ -609,7 +609,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/HookProc Example/CPP/fontdialogoverride.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CommonDialog/HookProc/fontdialogoverride.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/HookProc Example/VB/fontdialogoverride.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CommonDialog/HookProc/fontdialogoverride.vb" id="Snippet1"::: ]]> @@ -672,7 +672,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Apply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb" id="Snippet1"::: ]]> @@ -732,7 +732,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Apply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb" id="Snippet1"::: ]]> @@ -996,7 +996,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/FontDialog.ShowApply/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/ShowApply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/FontDialog.ShowApply/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/ShowApply/form1.vb" id="Snippet1"::: ]]> @@ -1054,7 +1054,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic FontDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic FontDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -1113,7 +1113,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Apply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Form+ControlCollection.xml b/xml/System.Windows.Forms/Form+ControlCollection.xml index ad2e40e47be..e54a8cc7a6a 100644 --- a/xml/System.Windows.Forms/Form+ControlCollection.xml +++ b/xml/System.Windows.Forms/Form+ControlCollection.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ControlCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form+ControlCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form+ControlCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -141,7 +141,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ControlCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form+ControlCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form+ControlCollection/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Form.xml b/xml/System.Windows.Forms/Form.xml index e2eeac2afda..f673a8993f6 100644 --- a/xml/System.Windows.Forms/Form.xml +++ b/xml/System.Windows.Forms/Form.xml @@ -96,7 +96,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.AcceptButton Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb" id="Snippet1"::: ]]> @@ -138,7 +138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.AcceptButton Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.AcceptButton Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb" id="Snippet1"::: ]]> @@ -241,7 +241,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Activate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Activate/form1.vb" id="Snippet1"::: ]]> @@ -294,7 +294,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Activate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Activate/form1.vb" id="Snippet1"::: ]]> @@ -388,7 +388,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ActiveForm Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ActiveForm/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ActiveForm Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ActiveForm/source.vb" id="Snippet1"::: ]]> @@ -451,7 +451,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ActiveMdiChild Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ActiveMdiChild/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ActiveMdiChild Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ActiveMdiChild/source.vb" id="Snippet1"::: ]]> @@ -506,7 +506,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.AddOwnedForm/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/AddOwnedForm/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.AddOwnedForm/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/AddOwnedForm/form1.vb" id="Snippet1"::: ]]> @@ -855,7 +855,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.AutoScroll/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/AutoScroll/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoScroll/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/AutoScroll/form1.vb" id="Snippet1"::: ]]> @@ -923,7 +923,7 @@ The following example shows a form created using code that automatically resizes to fit its contents. When run, the form displays a , a for entering a URL, and a for displaying that URL inside of the user's default Web browser. The example uses a to lay out the contained controls one after the other. It also sets the and to grow and shrink to fit the contents of its form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AutoSizeMode/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -1020,7 +1020,7 @@ The following example shows a form created using code that automatically resizes to fit its contents. When run, the form displays a , a for entering a URL, and a for displaying that URL inside of the user's default Web browser. The example uses a to lay out the contained controls one after the other. It also sets the and to grow and shrink to fit the contents of its form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AutoSizeMode/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -1189,7 +1189,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.AcceptButton Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb" id="Snippet1"::: ]]> @@ -1339,7 +1339,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ClientSize Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ClientSize/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ClientSize Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ClientSize/source.vb" id="Snippet1"::: ]]> @@ -1460,7 +1460,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Activate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Activate/form1.vb" id="Snippet1"::: ]]> @@ -1538,7 +1538,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.Closing/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Closing/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.Closing/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Closing/form1.vb" id="Snippet1"::: ]]> @@ -1597,7 +1597,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ControlBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ControlBox/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ControlBox/source.vb" id="Snippet1"::: ]]> @@ -1788,7 +1788,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet393"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet393"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet393"::: ]]> @@ -1960,7 +1960,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.DesktopBounds Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/DesktopBounds/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DesktopBounds Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/DesktopBounds/source.vb" id="Snippet1"::: ]]> @@ -2026,7 +2026,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.DesktopLocation Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/DesktopLocation/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DesktopLocation Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/DesktopLocation/source.vb" id="Snippet1"::: ]]> @@ -2100,7 +2100,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.DialogResult Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/DialogResult/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DialogResult Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/DialogResult/source.vb" id="Snippet1"::: ]]> @@ -2313,7 +2313,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.AcceptButton Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb" id="Snippet1"::: ]]> @@ -2516,7 +2516,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet395"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet395"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet395"::: ]]> @@ -2579,7 +2579,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet394"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet394"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet394"::: ]]> @@ -2827,7 +2827,7 @@ To display a Help button, the value of the form's @@ -2888,7 +2888,7 @@ To display a Help button, the value of the form's named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet388"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet388"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet388"::: ]]> @@ -2990,7 +2990,7 @@ To display a Help button, the value of the form's named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet400"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet400"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet400"::: ]]> @@ -3040,7 +3040,7 @@ To display a Help button, the value of the form's named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet401"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet401"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet401"::: ]]> @@ -3177,7 +3177,7 @@ To display a Help button, the value of the form's property as well as changing the `BackColor` property of an MDI Form. To run this example, paste the following code in a new form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/IsMdiContainer/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MdiClientExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/IsMdiContainer/form1.vb" id="Snippet1"::: ]]> @@ -3287,7 +3287,7 @@ To display a Help button, the value of the form's @@ -3338,7 +3338,7 @@ To display a Help button, the value of the form's @@ -3386,7 +3386,7 @@ To display a Help button, the value of the form's @@ -3618,7 +3618,7 @@ To display a Help button, the value of the form's @@ -3705,7 +3705,7 @@ To display a Help button, the value of the form's named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet389"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet389"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet389"::: ]]> @@ -3773,7 +3773,7 @@ To display a Help button, the value of the form's @@ -3823,7 +3823,7 @@ To display a Help button, the value of the form's named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet390"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet390"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet390"::: ]]> @@ -3873,7 +3873,7 @@ To display a Help button, the value of the form's named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet397"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet397"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet397"::: ]]> @@ -3939,7 +3939,7 @@ To display a Help button, the value of the form's @@ -4049,7 +4049,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.MDIParent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/MdiParent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.MDIParent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/MdiParent/form1.vb" id="Snippet1"::: ]]> @@ -4131,7 +4131,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MainMenu.MainMenu Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Menu/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.MainMenu Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Menu/source.vb" id="Snippet1"::: ]]> @@ -4188,7 +4188,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet398"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet398"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet398"::: ]]> @@ -4243,7 +4243,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet399"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet399"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet399"::: ]]> @@ -4363,7 +4363,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.AcceptButton Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb" id="Snippet1"::: ]]> @@ -4469,7 +4469,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet391"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet391"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet391"::: ]]> @@ -4535,7 +4535,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.Modal/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Modal/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.Modal/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Modal/form1.vb" id="Snippet1"::: ]]> @@ -4745,7 +4745,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet6"::: ]]> @@ -4821,7 +4821,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.Closing/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Closing/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.Closing/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Closing/form1.vb" id="Snippet1"::: ]]> @@ -6539,7 +6539,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.Opacity/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Opacity/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.Opacity/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Opacity/form1.vb" id="Snippet1"::: ]]> @@ -6609,7 +6609,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.OwnedForms/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/OwnedForms/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.OwnedForms/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/OwnedForms/form1.vb" id="Snippet1"::: ]]> @@ -7009,7 +7009,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet404"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet404"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet404"::: ]]> @@ -7072,7 +7072,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet405"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet405"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet405"::: ]]> @@ -7250,7 +7250,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet402"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet402"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet402"::: ]]> @@ -7543,7 +7543,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FormExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/MaximumSize/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/MaximumSize/form1.vb" id="Snippet2"::: ]]> @@ -7594,7 +7594,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Activate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Activate/form1.vb" id="Snippet1"::: ]]> @@ -7853,7 +7853,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ShowDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ShowDialog/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ShowDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ShowDialog/source.vb" id="Snippet1"::: ]]> @@ -7925,7 +7925,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ShowDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ShowDialog/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ShowDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ShowDialog/source.vb" id="Snippet1"::: ]]> @@ -8159,7 +8159,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.ShowInTaskbar/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ShowInTaskbar/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.ShowInTaskbar/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ShowInTaskbar/form1.vb" id="Snippet1"::: ]]> @@ -8206,7 +8206,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet403"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet403"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet403"::: ]]> @@ -8329,7 +8329,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.Opacity/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Opacity/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.Opacity/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Opacity/form1.vb" id="Snippet1"::: ]]> @@ -8384,7 +8384,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.SizeGripStyle/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/SizeGripStyle/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.SizeGripStyle/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/SizeGripStyle/form1.vb" id="Snippet1"::: ]]> @@ -8444,7 +8444,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.StartPosition Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/StartPosition/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.StartPosition Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/StartPosition/source.vb" id="Snippet1"::: ]]> @@ -8727,7 +8727,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.Modal/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Modal/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.Modal/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Modal/form1.vb" id="Snippet1"::: ]]> @@ -8781,7 +8781,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.TopMost/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/TopMost/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.TopMost/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/TopMost/form1.vb" id="Snippet1"::: ]]> @@ -8859,7 +8859,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.TransparencyKey Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/TransparencyKey/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.TransparencyKey Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/TransparencyKey/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FormBorderStyle.xml b/xml/System.Windows.Forms/FormBorderStyle.xml index 2b9dbe40aea..f09392c27be 100644 --- a/xml/System.Windows.Forms/FormBorderStyle.xml +++ b/xml/System.Windows.Forms/FormBorderStyle.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/FormBorderStyle/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FormBorderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/FormBorderStyle/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FormBorderStyle/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FormClosedEventArgs.xml b/xml/System.Windows.Forms/FormClosedEventArgs.xml index 59cf319b237..496cba9163a 100644 --- a/xml/System.Windows.Forms/FormClosedEventArgs.xml +++ b/xml/System.Windows.Forms/FormClosedEventArgs.xml @@ -38,7 +38,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet395"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet395"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet395"::: ]]> @@ -138,7 +138,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet395"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet395"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet395"::: ]]> diff --git a/xml/System.Windows.Forms/FormClosingEventArgs.xml b/xml/System.Windows.Forms/FormClosingEventArgs.xml index 352c4497ef1..a3b9134e1e3 100644 --- a/xml/System.Windows.Forms/FormClosingEventArgs.xml +++ b/xml/System.Windows.Forms/FormClosingEventArgs.xml @@ -40,7 +40,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet394"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet394"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet394"::: ]]> @@ -143,7 +143,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet394"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet394"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet394"::: ]]> diff --git a/xml/System.Windows.Forms/FormStartPosition.xml b/xml/System.Windows.Forms/FormStartPosition.xml index a152b6271d9..27b6c76bc9b 100644 --- a/xml/System.Windows.Forms/FormStartPosition.xml +++ b/xml/System.Windows.Forms/FormStartPosition.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/FormStartPosition/CPP/formstartposition.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FormStartPosition/Overview/formstartposition.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/FormStartPosition/VB/formstartposition.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FormStartPosition/Overview/formstartposition.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FormWindowState.xml b/xml/System.Windows.Forms/FormWindowState.xml index e63ab12b7ef..fec650f0e86 100644 --- a/xml/System.Windows.Forms/FormWindowState.xml +++ b/xml/System.Windows.Forms/FormWindowState.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/FormWindowState/CPP/formwindowstate.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FormWindowState/Overview/formwindowstate.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/FormWindowState/VB/formwindowstate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FormWindowState/Overview/formwindowstate.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FrameStyle.xml b/xml/System.Windows.Forms/FrameStyle.xml index 8414d3bcfa5..6e83de87790 100644 --- a/xml/System.Windows.Forms/FrameStyle.xml +++ b/xml/System.Windows.Forms/FrameStyle.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseButtons/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/GiveFeedbackEventArgs.xml b/xml/System.Windows.Forms/GiveFeedbackEventArgs.xml index 5c8d06707d9..f9674d4f4c4 100644 --- a/xml/System.Windows.Forms/GiveFeedbackEventArgs.xml +++ b/xml/System.Windows.Forms/GiveFeedbackEventArgs.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet3"::: ]]> @@ -234,7 +234,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet3"::: ]]> @@ -298,7 +298,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/GiveFeedbackEventHandler.xml b/xml/System.Windows.Forms/GiveFeedbackEventHandler.xml index 3a253c0bed9..fad193ca6e4 100644 --- a/xml/System.Windows.Forms/GiveFeedbackEventHandler.xml +++ b/xml/System.Windows.Forms/GiveFeedbackEventHandler.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/GridColumnStylesCollection.xml b/xml/System.Windows.Forms/GridColumnStylesCollection.xml index cb39f5dc35e..aa1b0cc5c18 100644 --- a/xml/System.Windows.Forms/GridColumnStylesCollection.xml +++ b/xml/System.Windows.Forms/GridColumnStylesCollection.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic GridColumnStylesCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridColumnStylesCollection/Overview/Source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -125,7 +125,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet1"::: ]]> @@ -163,7 +163,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic GridColumnStylesCollection.AddRange Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridColumnStylesCollection/AddRange/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.AddRange Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/AddRange/source.vb" id="Snippet1"::: ]]> @@ -198,7 +198,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridColumnStylesCollection_Members/CPP/gridcolumnstylescollection_members.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridColumnStylesCollection/Clear/gridcolumnstylescollection_members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_Members/VB/gridcolumnstylescollection_members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Clear/gridcolumnstylescollection_members.vb" id="Snippet1"::: ]]> @@ -291,7 +291,7 @@ ## Examples The following code example uses the method to determine if a with a given exists in the . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source2.vb" id="Snippet1"::: ]]> @@ -338,7 +338,7 @@ ## Examples The following code example uses the method to determine if a contains a specific . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source1.vb" id="Snippet1"::: ]]> @@ -394,7 +394,7 @@ ## Examples The following code example uses the method to determine if a contains a associated with a specified . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source.vb" id="Snippet1"::: ]]> @@ -440,7 +440,7 @@ ## Examples The following code example uses the method to determine if a given exists in a . If so, the method returns the index of the , and the method is invoked with the index to remove the element from the collection. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.IndexOf Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/IndexOf/source.vb" id="Snippet1"::: ]]> @@ -495,7 +495,7 @@ ## Examples The following code example gets the using the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source.vb" id="Snippet1"::: ]]> @@ -539,7 +539,7 @@ ## Examples The following code example returns the named in the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source1.vb" id="Snippet1"::: ]]> @@ -588,7 +588,7 @@ ## Examples The following code example gets a from a in a , and then passes it as an argument to the method. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source2.vb" id="Snippet1"::: ]]> @@ -705,7 +705,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridColumnStylesCollection_RemoveAt/CPP/gridcolumnstylescollection_removeat.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridColumnStylesCollection/Remove/gridcolumnstylescollection_removeat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_RemoveAt/VB/gridcolumnstylescollection_removeat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Remove/gridcolumnstylescollection_removeat.vb" id="Snippet1"::: ]]> @@ -752,7 +752,7 @@ ## Examples The following code example uses the method to determine if a given exists in a . If so, the method returns the index of the , and the method is invoked with the index to remove the element from the collection. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.IndexOf Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/IndexOf/source.vb" id="Snippet1"::: ]]> @@ -789,7 +789,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridColumnStylesCollection_ResetPropertyDescriptor/CPP/resetpropertydescriptor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridColumnStylesCollection/ResetPropertyDescriptors/gridcolumnstylescollection_resetpropertydescriptor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_ResetPropertyDescriptor/VB/gridcolumnstylescollection_resetpropertydescriptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/ResetPropertyDescriptors/gridcolumnstylescollection_resetpropertydescriptor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/GridTableStylesCollection.xml b/xml/System.Windows.Forms/GridTableStylesCollection.xml index 4ff9ee4094a..b69fd5aeca1 100644 --- a/xml/System.Windows.Forms/GridTableStylesCollection.xml +++ b/xml/System.Windows.Forms/GridTableStylesCollection.xml @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet1"::: ]]> @@ -107,7 +107,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet4"::: ]]> @@ -145,7 +145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet5"::: ]]> @@ -180,7 +180,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic GridTableStylesCollection.Clear Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridTableStylesCollection/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridTableStylesCollection.Clear Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridTableStylesCollection/Clear/source.vb" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic GridTableStylesCollection.CollectionChanged Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridTableStylesCollection/CollectionChanged/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridTableStylesCollection.CollectionChanged Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridTableStylesCollection/CollectionChanged/source.vb" id="Snippet1"::: ]]> @@ -268,7 +268,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet6"::: ]]> @@ -350,7 +350,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet2"::: ]]> @@ -397,7 +397,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/GroupBox.xml b/xml/System.Windows.Forms/GroupBox.xml index be91ffd84e1..d2193c3bbbf 100644 --- a/xml/System.Windows.Forms/GroupBox.xml +++ b/xml/System.Windows.Forms/GroupBox.xml @@ -78,7 +78,7 @@ The following code example instantiates and creates a and two controls. The radio buttons are added to the group box and the group box is added to the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GroupBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -121,7 +121,7 @@ The following code example instantiates and creates a and two controls. The option buttons (also known as radio buttons) are added to the group box, and the group box is added to the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GroupBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -263,7 +263,7 @@ To run the example code, paste it into a project that contains an instance of type named `GroupBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet406"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet406"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet406"::: ]]> @@ -608,7 +608,7 @@ The following code example instantiates and creates a and two controls. The option buttons (also known as radio buttons) are added to the group box and the group box is added to the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GroupBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBox/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/GroupBoxRenderer.xml b/xml/System.Windows.Forms/GroupBoxRenderer.xml index 0d71e1249c9..b0dad406407 100644 --- a/xml/System.Windows.Forms/GroupBoxRenderer.xml +++ b/xml/System.Windows.Forms/GroupBoxRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBoxRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBoxRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -113,7 +113,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBoxRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBoxRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -182,7 +182,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBoxRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBoxRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -480,7 +480,7 @@ The following code example uses the property to change whether a group box is rendered using visual styles. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBoxRenderer/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBoxRenderer/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/HScrollBar.xml b/xml/System.Windows.Forms/HScrollBar.xml index 5fd1e9da03b..1ebe6460333 100644 --- a/xml/System.Windows.Forms/HScrollBar.xml +++ b/xml/System.Windows.Forms/HScrollBar.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic HScrollBar Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HScrollBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic HScrollBar Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HScrollBar/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HandledMouseEventArgs.xml b/xml/System.Windows.Forms/HandledMouseEventArgs.xml index e1d74808c05..39967f3e72a 100644 --- a/xml/System.Windows.Forms/HandledMouseEventArgs.xml +++ b/xml/System.Windows.Forms/HandledMouseEventArgs.xml @@ -33,7 +33,7 @@ ## Examples The following code example demonstrates how to mark the mouse wheel event as handled in a custom control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.vb" id="Snippet1"::: ]]> @@ -177,7 +177,7 @@ ## Examples The following code example demonstrates how to mark the mouse wheel event as handled in a custom control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Help.xml b/xml/System.Windows.Forms/Help.xml index 441daceb394..4bdf6b61107 100644 --- a/xml/System.Windows.Forms/Help.xml +++ b/xml/System.Windows.Forms/Help.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Help/CPP/helpsnippet.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/Overview/helpsnippet.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ The `url` argument can be of the form *C:\path\sample.chm* or */folder/file.htm* :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/ShowHelp/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/ShowHelp/form1.vb" id="Snippet1"::: ]]> @@ -179,7 +179,7 @@ If `keyword` is `null`, the table of contents for the Help file will be displaye :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Help/CPP/helpsnippet.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/Overview/helpsnippet.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb" id="Snippet4"::: ]]> @@ -240,7 +240,7 @@ Compiled Help files provide table of contents, index, search, and keyword links :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/ShowHelp/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/ShowHelp/form1.vb" id="Snippet2"::: ]]> @@ -308,7 +308,7 @@ Compiled Help files provide table-of-contents, index, search, and keyword links :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Help/CPP/helpsnippet.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/Overview/helpsnippet.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb" id="Snippet3"::: ]]> @@ -372,7 +372,7 @@ Compiled Help files provide table-of-contents, index, search, and keyword links :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Help/CPP/helpsnippet.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/Overview/helpsnippet.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb" id="Snippet2"::: ]]> @@ -428,7 +428,7 @@ Compiled Help files provide table-of-contents, index, search, and keyword links :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyUp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bottom/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HelpEventArgs.xml b/xml/System.Windows.Forms/HelpEventArgs.xml index d803e495783..aecdf63c9d3 100644 --- a/xml/System.Windows.Forms/HelpEventArgs.xml +++ b/xml/System.Windows.Forms/HelpEventArgs.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/CPP/helpevent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/HelpRequested/helpevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/VB/helpevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/HelpRequested/helpevent.vb" id="Snippet1"::: ]]> @@ -138,7 +138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/CPP/helpevent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/HelpRequested/helpevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/VB/helpevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/HelpRequested/helpevent.vb" id="Snippet1"::: ]]> @@ -190,7 +190,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet39"::: ]]> diff --git a/xml/System.Windows.Forms/HelpEventHandler.xml b/xml/System.Windows.Forms/HelpEventHandler.xml index 5105fcc6991..61316a25024 100644 --- a/xml/System.Windows.Forms/HelpEventHandler.xml +++ b/xml/System.Windows.Forms/HelpEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/CPP/helpevent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/HelpRequested/helpevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/VB/helpevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/HelpRequested/helpevent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HelpNavigator.xml b/xml/System.Windows.Forms/HelpNavigator.xml index 506b03c11ff..14301fb8fba 100644 --- a/xml/System.Windows.Forms/HelpNavigator.xml +++ b/xml/System.Windows.Forms/HelpNavigator.xml @@ -39,7 +39,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Help/CPP/helpsnippet.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/Overview/helpsnippet.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HelpProvider.xml b/xml/System.Windows.Forms/HelpProvider.xml index 2023a97978e..ddf8a6f73f7 100644 --- a/xml/System.Windows.Forms/HelpProvider.xml +++ b/xml/System.Windows.Forms/HelpProvider.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/CPP/helpprovider.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/Overview/helpprovider.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb" id="Snippet1"::: ]]> @@ -114,7 +114,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/CPP/helpprovider.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/Overview/helpprovider.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb" id="Snippet1"::: ]]> @@ -311,7 +311,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.KeyEventsHelpAndErrors/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/GetHelpString/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.KeyEventsHelpAndErrors/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/GetHelpString/form1.vb" id="Snippet1"::: ]]> @@ -448,7 +448,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/CPP/helpprovider.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/Overview/helpprovider.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb" id="Snippet1"::: ]]> @@ -588,7 +588,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb" id="Snippet1"::: ]]> @@ -652,7 +652,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/CPP/helpprovider.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/Overview/helpprovider.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb" id="Snippet1"::: ]]> @@ -708,7 +708,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/CPP/helpprovider.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/Overview/helpprovider.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HorizontalAlignment.xml b/xml/System.Windows.Forms/HorizontalAlignment.xml index 00fc60c7228..ede217e613e 100644 --- a/xml/System.Windows.Forms/HorizontalAlignment.xml +++ b/xml/System.Windows.Forms/HorizontalAlignment.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/HorizontalAlignment/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HorizontalAlignment/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/HorizontalAlignment/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HorizontalAlignment/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlDocument.xml b/xml/System.Windows.Forms/HtmlDocument.xml index 5df6ab4900e..2f976366bb3 100644 --- a/xml/System.Windows.Forms/HtmlDocument.xml +++ b/xml/System.Windows.Forms/HtmlDocument.xml @@ -71,7 +71,7 @@ The following code example uses data from the Northwind database to create an `HTML TABLE` dynamically using . The method is also used, first to add cells (`TD` elements) to rows (`TR` elements), then to add rows to the table, and finally to append the table to the end of the current document. The code example requires that your application has a control named `WebBrowser1`. The code should be called after a document has been loaded. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -205,7 +205,7 @@ The following code example iterates through all of the elements in a document and sets `Enabled=True`, enabling any elements that may have been disabled by default to prevent user input while the document was loading. The code example requires that your application contains a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -346,7 +346,7 @@ The following code example creates a new `DIV` element and appends it to the bottom of the document using the method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -396,7 +396,7 @@ The following code example detects a click on the document, finds the element, and uses to align the element with the top of the Web page. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -550,7 +550,7 @@ The following code example uses data from the Northwind database to create an HTML table using . The method is also used, first to add cells (`TD` elements) to rows (`TR` elements), then to add rows to the table, and finally to append the table to the end of the current document. The code example requires that your application has a control called `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -712,7 +712,7 @@ The following code example casts the to an `IHTMLDocument2` pointer and displays the value of the `lastModified` property, which tells when the owner of the document last updated its contents. The code example requires that you have a on your form named `Button6`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -950,7 +950,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet424"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet424"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet424"::: ]]> @@ -1037,7 +1037,7 @@ The following code example iterates through all of the `Form` elements on a Web page and clears all user input, setting the forms back to their default values. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -1087,7 +1087,7 @@ The following code example retrieves a named `TABLE` from a document, counts up the number of rows, and displays the result in the Web page. The code example requires that you have a control in your project named `WebBrowser1`, and that you have loaded a Web page with a `TABLE` whose `ID` attribute is `Table1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -1136,7 +1136,7 @@ The following code example detects a click on the document, finds the element, and uses to align the element with the top of the Web page. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -1179,7 +1179,7 @@ HTML pages often use the `META` tag to embed arbitrary information about the document. The following HTML code example retrieves all of the `META` tags within an HTML document, finds the `META` tag with the name `Description`, and displays it to the user. The code example requires that your application has a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -1254,7 +1254,7 @@ The following code example examines the `ALT` attribute of all of the images in the document, and sets a default `ALT` attribute if a value is not already set. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -1289,7 +1289,7 @@ window.alert("Name is " + name + "; address is " + address); ``` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -1380,7 +1380,7 @@ window.alert("Name is " + name + "; address is " + address); ``` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -1453,7 +1453,7 @@ window.alert("Name is " + name + "; address is " + address); ``` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -1581,7 +1581,7 @@ window.alert("Name is " + name + "; address is " + address); To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet425"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet425"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet425"::: ]]> @@ -1635,7 +1635,7 @@ window.alert("Name is " + name + "; address is " + address); To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet426"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet426"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet426"::: ]]> @@ -1687,7 +1687,7 @@ window.alert("Name is " + name + "; address is " + address); To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet427"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet427"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet427"::: ]]> @@ -1739,7 +1739,7 @@ window.alert("Name is " + name + "; address is " + address); To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet428"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet428"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet428"::: ]]> @@ -1791,7 +1791,7 @@ window.alert("Name is " + name + "; address is " + address); To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet429"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet429"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet429"::: ]]> @@ -1843,7 +1843,7 @@ window.alert("Name is " + name + "; address is " + address); To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet430"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet430"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet430"::: ]]> @@ -1968,7 +1968,7 @@ window.alert("Name is " + name + "; address is " + address); The following code example prepares the DOM for writing and writes a new document using the method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -2104,7 +2104,7 @@ window.alert("Name is " + name + "; address is " + address); The following code example creates an HTML hyperlink to the current document using the URL of the document as the link's location and the title of the document as the link text. The code example requires that your application has a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet14"::: ]]> @@ -2278,7 +2278,7 @@ window.alert("Name is " + name + "; address is " + address); The following code example opens a new and writes in a new HTML file. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlElement.xml b/xml/System.Windows.Forms/HtmlElement.xml index 585fcc34003..0a7916b50b8 100644 --- a/xml/System.Windows.Forms/HtmlElement.xml +++ b/xml/System.Windows.Forms/HtmlElement.xml @@ -48,7 +48,7 @@ The following code example shows how to examine an arbitrary HTML document and derive a string describing the HTML elements, with indentation and level numbers used to indicate how deeply nested the elements are in the document. This code example requires that your application hosts a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -154,7 +154,7 @@ The following code example creates a new hyperlink using the method and adds it to end of a page using `AppendChild` on the `BODY` element. The example requires that your application contains a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -245,7 +245,7 @@ The following code example handles the event on . If an element was not previous selected using a mouse click, the code assigns the element to a private class variable named `MoveElement`. If an element was selected, the code attempts to append it to the element that was just clicked. This code example requires that your application hosts a control named `WebBrowser1`, and that you have already added an event handler for the event on . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -300,7 +300,7 @@ The following code example examines an arbitrary HTML document and derive a string describing the elements, with indentation and level numbers used to indicate how deeply nested the elements are in the document. It does this by searching the `Children` collection of all elements recursively, starting with the HTML element at the top of the document. This code example requires that your application has a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -350,7 +350,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet432"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet432"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet432"::: ]]> @@ -410,7 +410,7 @@ The following code example demonstrates retrieving this element and expanding its dimensions if the client area is less than 400 pixels wide by 50 pixels high, and also sets the `DIV` to the `contentEditable` state so that the user can input text. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -539,7 +539,7 @@ The following code example uses unmanaged interfaces to take the currently selected text and convert it into a hyperlink, with the URL chosen by the user. This code was written under the assumption that your form has a control named `WebBrowser1`, and that you have added the unmanaged MSHTML library as a reference to your project. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -590,7 +590,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet433"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet433"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet433"::: ]]> @@ -642,7 +642,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet434"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet434"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet434"::: ]]> @@ -690,7 +690,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet435"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet435"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet435"::: ]]> @@ -731,7 +731,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet436"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet436"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet436"::: ]]> @@ -778,7 +778,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet437"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet437"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet437"::: ]]> @@ -974,7 +974,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet438"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet438"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet438"::: ]]> @@ -1024,7 +1024,7 @@ The following code example retrieves all of the `META` tags within an HTML document, using to find the `META` tag with the name `Description`. The example requires that your application has a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -1145,7 +1145,7 @@ The following code example prevents the next `INPUT` element in the tab order from receiving user input focus if the previous element contains less than five characters. The example requires that the previously mentioned HTML file is loaded into an instance of the control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet15"::: ]]> @@ -1298,7 +1298,7 @@ The following code creates a new hyperlink using , and assigns text to the link using the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -1360,7 +1360,7 @@ The following code example inserts a `DIV` element into the top of every page that users view outside of the ADatum.com server. The example requires that your form contains a control named `WebBrowser1`. Your sample must also import the namespace . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -1477,7 +1477,7 @@ The following code example gets a `TABLE` called `dataTable` and uses the unexposed `moveRow` method to move a row from the end of the table to the beginning. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1526,7 +1526,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet442"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet442"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet442"::: ]]> @@ -1576,7 +1576,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet443"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet443"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet443"::: ]]> @@ -1626,7 +1626,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet444"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet444"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet444"::: ]]> @@ -1667,7 +1667,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet440"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet440"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet440"::: ]]> @@ -1716,7 +1716,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet441"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet441"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet441"::: ]]> @@ -1764,7 +1764,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet446"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet446"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet446"::: ]]> @@ -1805,7 +1805,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet449"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet449"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet449"::: ]]> @@ -1845,7 +1845,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet450"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet450"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet450"::: ]]> @@ -1892,7 +1892,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet445"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet445"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet445"::: ]]> @@ -1940,7 +1940,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet447"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet447"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet447"::: ]]> @@ -1988,7 +1988,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet448"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet448"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet448"::: ]]> @@ -2150,7 +2150,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -2226,7 +2226,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -2499,7 +2499,7 @@ The following code example finds all of the `IMG` tags in a document, and uses the property to test whether the `IMG` is hyperlinked to another page; if it is, the code assigns the URL to the `ALT` attribute of the `IMG` tag, so that users can mouse over the image to see where it will take them. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -2617,7 +2617,7 @@ The following code example finds an element by name and scrolls through the page so that the top of the element is aligned with the top of the visible page. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -2785,7 +2785,7 @@ The following code example adds a new `IMG` element to the current document, using to set the `SRC` attribute for the image. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -2922,7 +2922,7 @@ The following code example finds all of the `IMG` tags in a document, and uses the `TagName` property to test whether the `IMG` is hyperlinked to another page; if it is, the code assigns the URL to the `ALT` attribute of the `IMG` tag, so that users can mouse over the image to see where it will take them. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlElementCollection.xml b/xml/System.Windows.Forms/HtmlElementCollection.xml index cd59ee8a7c8..f0db793853e 100644 --- a/xml/System.Windows.Forms/HtmlElementCollection.xml +++ b/xml/System.Windows.Forms/HtmlElementCollection.xml @@ -42,7 +42,7 @@ The following code example uses objects to print out a textual representation of the Document Object Model (DOM) of a page. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -83,7 +83,7 @@ The following code example finds a `FORM` object using its name, and submits its data to the server programmatically. The code example requires that your application hosts a control named `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -130,7 +130,7 @@ The following code example finds a `FORM` object using its name, and submits its data to the server programmatically. The code example requires that your application hosts a control named `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -274,7 +274,7 @@ The following code example finds a `FORM` object using its name, and submits its data to the server programmatically. The code example requires that your application hosts a control named `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlElementErrorEventArgs.xml b/xml/System.Windows.Forms/HtmlElementErrorEventArgs.xml index 7e2a8592eec..376b312a425 100644 --- a/xml/System.Windows.Forms/HtmlElementErrorEventArgs.xml +++ b/xml/System.Windows.Forms/HtmlElementErrorEventArgs.xml @@ -35,7 +35,7 @@ The following code example demonstrates how to suppress a script error and display your own custom dialog box. This code example requires that your application host a control named `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet16"::: ]]> @@ -82,7 +82,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet451"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet451"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet451"::: ]]> @@ -136,7 +136,7 @@ The following code example demonstrates how to suppress a script error and display your own custom dialog box. This code example requires that your application host a control named `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet16"::: ]]> @@ -182,7 +182,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet451"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet451"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet451"::: ]]> @@ -227,7 +227,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet451"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet451"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet451"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlElementEventArgs.xml b/xml/System.Windows.Forms/HtmlElementEventArgs.xml index d994ddce952..64012cce70f 100644 --- a/xml/System.Windows.Forms/HtmlElementEventArgs.xml +++ b/xml/System.Windows.Forms/HtmlElementEventArgs.xml @@ -44,7 +44,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -86,7 +86,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -133,7 +133,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -199,7 +199,7 @@ This example requires that you have configured `Document_MouseDown` as a handler for the event on . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.vb" id="Snippet2"::: ]]> @@ -244,7 +244,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -285,7 +285,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -378,7 +378,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -419,7 +419,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -486,7 +486,7 @@ This example requires that you have configured `Document_MouseDown` as a handler for the event on . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.vb" id="Snippet2"::: ]]> @@ -550,7 +550,7 @@ This example requires that you have configured `Document_MouseDown` as a handler for the event on . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.vb" id="Snippet2"::: ]]> @@ -595,7 +595,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -636,7 +636,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -697,7 +697,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlElementEventHandler.xml b/xml/System.Windows.Forms/HtmlElementEventHandler.xml index 190d644f98a..f4b6851341f 100644 --- a/xml/System.Windows.Forms/HtmlElementEventHandler.xml +++ b/xml/System.Windows.Forms/HtmlElementEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/HtmlElementEventHandler/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementEventHandler/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/HtmlElementEventHandler/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementEventHandler/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlElementInsertionOrientation.xml b/xml/System.Windows.Forms/HtmlElementInsertionOrientation.xml index 49f6e8e3b94..e10e77ec20e 100644 --- a/xml/System.Windows.Forms/HtmlElementInsertionOrientation.xml +++ b/xml/System.Windows.Forms/HtmlElementInsertionOrientation.xml @@ -28,7 +28,7 @@ The following code example inserts a `DIV` element into the top of every page that users view outside of the ADatum.com server. The example requires that your form contains a control named `WebBrowser1`. Your example must also import the namespace . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlWindow.xml b/xml/System.Windows.Forms/HtmlWindow.xml index 7496a30a15e..9beacbebb25 100644 --- a/xml/System.Windows.Forms/HtmlWindow.xml +++ b/xml/System.Windows.Forms/HtmlWindow.xml @@ -46,7 +46,7 @@ The following code example contains two methods. The first opens a URL in a window named `displayWindow`, which it creates with a status bar displayed. The second opens another URL in the same window, but specifies that only the location bar should be displayed. Notice that the dimensions of the window and the controls that are displayed depends on which URL is opened first. The code example requires that your form contains a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -171,7 +171,7 @@ The following code example opens a window, and closes it if the user has not used it in the past five minutes. The code example was written under the assumption that your form has a control named `WebBrowser1`, a named `Button1`, and a class named `Timer1`. To run this example successfully, change the first argument supplied to to a valid URL. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -241,7 +241,7 @@ Building/Desk: The following example displays a dialog box when the user submits `NewOrderForm`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -320,7 +320,7 @@ The following example displays a @@ -375,7 +375,7 @@ The following example displays a @@ -455,7 +455,7 @@ The following example displays a event handler is attached, otherwise the example will not work. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet16"::: ]]> @@ -540,7 +540,7 @@ The following example displays a @@ -623,7 +623,7 @@ The following example displays a named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet452"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet452"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet452"::: ]]> @@ -704,7 +704,7 @@ The following example displays a control named `WebBrowser1`, a named `Button1`, and a class named `Timer1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -752,7 +752,7 @@ The following example displays a named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet453"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet453"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet453"::: ]]> @@ -793,7 +793,7 @@ The following example displays a named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet454"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet454"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet454"::: ]]> @@ -1290,7 +1290,7 @@ The following example displays a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -1502,7 +1502,7 @@ The following example displays a control on the form. The code example requires that your form contains an instance of the control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -1624,7 +1624,7 @@ The following example displays a named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet455"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet455"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet455"::: ]]> @@ -1675,7 +1675,7 @@ The following example displays a @@ -1751,7 +1751,7 @@ The following example displays a named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet456"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet456"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet456"::: ]]> @@ -1807,7 +1807,7 @@ The following example displays a @@ -1958,7 +1958,7 @@ The following example displays a named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet457"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet457"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet457"::: ]]> @@ -2039,7 +2039,7 @@ The following example displays a diff --git a/xml/System.Windows.Forms/HtmlWindowCollection.xml b/xml/System.Windows.Forms/HtmlWindowCollection.xml index d58028e0d7b..5460ace9242 100644 --- a/xml/System.Windows.Forms/HtmlWindowCollection.xml +++ b/xml/System.Windows.Forms/HtmlWindowCollection.xml @@ -53,7 +53,7 @@ The following code example inspects each document within a page containing frames and creates a table of all of the outgoing hyperlinks from each page for future inspection. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/IButtonControl.xml b/xml/System.Windows.Forms/IButtonControl.xml index 393671c0655..686de197b68 100644 --- a/xml/System.Windows.Forms/IButtonControl.xml +++ b/xml/System.Windows.Forms/IButtonControl.xml @@ -34,7 +34,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IButtonControl Implementation/CPP/mybutton.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IButtonControl/Overview/mybutton.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IButtonControl Implementation/VB/mybutton.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IButtonControl/Overview/mybutton.vb" id="Snippet1"::: ]]> @@ -84,7 +84,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IButtonControl Implementation/CPP/mybutton.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IButtonControl/Overview/mybutton.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IButtonControl Implementation/VB/mybutton.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IButtonControl/Overview/mybutton.vb" id="Snippet1"::: ]]> @@ -136,7 +136,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IButtonControl Implementation/CPP/mybutton.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IButtonControl/Overview/mybutton.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IButtonControl Implementation/VB/mybutton.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IButtonControl/Overview/mybutton.vb" id="Snippet1"::: ]]> @@ -181,7 +181,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IButtonControl Implementation/CPP/mybutton.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IButtonControl/Overview/mybutton.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IButtonControl Implementation/VB/mybutton.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IButtonControl/Overview/mybutton.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/IContainerControl.xml b/xml/System.Windows.Forms/IContainerControl.xml index b433855686c..6a24dd41796 100644 --- a/xml/System.Windows.Forms/IContainerControl.xml +++ b/xml/System.Windows.Forms/IContainerControl.xml @@ -29,7 +29,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IContainerControl Implementation/CPP/mycontainercontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb" id="Snippet1"::: ]]> @@ -81,7 +81,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IContainerControl Implementation/CPP/mycontainercontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb" id="Snippet1"::: ]]> @@ -127,7 +127,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IContainerControl Implementation/CPP/mycontainercontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/IDataGridViewEditingControl.xml b/xml/System.Windows.Forms/IDataGridViewEditingControl.xml index f4bb9921b7f..03f09c23486 100644 --- a/xml/System.Windows.Forms/IDataGridViewEditingControl.xml +++ b/xml/System.Windows.Forms/IDataGridViewEditingControl.xml @@ -48,7 +48,7 @@ The following code example provides an implementation of this interface that derives from . This example is part of a larger example available in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet300"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet300"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet300"::: ]]> @@ -103,7 +103,7 @@ The following code example provides an implementation of this member. This example is part of a larger example available in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet303"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet303"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet303"::: ]]> @@ -184,7 +184,7 @@ The following code example provides an implementation of this member. This example is part of a larger example available in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet301"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet301"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet301"::: ]]> @@ -320,7 +320,7 @@ The following code example provides an implementation of this member. This example is part of a larger example available in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet305"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet305"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet305"::: ]]> @@ -364,7 +364,7 @@ The following code example provides an implementation of this member. This example is part of a larger example available in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet311"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet311"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet311"::: ]]> diff --git a/xml/System.Windows.Forms/IDataObject.xml b/xml/System.Windows.Forms/IDataObject.xml index ab6f09a8ece..2134ae90bf8 100644 --- a/xml/System.Windows.Forms/IDataObject.xml +++ b/xml/System.Windows.Forms/IDataObject.xml @@ -111,7 +111,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetData1/CPP/getdata1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetData/getdata1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetData1/VB/getdata1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata1.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetData2/CPP/getdata2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetData/getdata2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetData2/VB/getdata2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata2.vb" id="Snippet1"::: ]]> @@ -244,7 +244,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetData3/CPP/getdata3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetData/getdata3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetData3/VB/getdata3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata3.vb" id="Snippet1"::: ]]> @@ -315,7 +315,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetDataPresent1/CPP/getdatapresent1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent1/VB/getdatapresent1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent1.vb" id="Snippet1"::: ]]> @@ -373,7 +373,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetDataPresent2/CPP/getdatapresent2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent2/VB/getdatapresent2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent2.vb" id="Snippet1"::: ]]> @@ -446,7 +446,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetDataPresent3/CPP/getdatapresent3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent3/VB/getdatapresent3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent3.vb" id="Snippet1"::: ]]> @@ -510,7 +510,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetFormats1/CPP/getformats1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetFormats/getformats1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetFormats1/VB/getformats1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetFormats/getformats1.vb" id="Snippet1"::: ]]> @@ -567,7 +567,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetFormats2/CPP/getformats2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetFormats/getformats2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetFormats2/VB/getformats2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetFormats/getformats2.vb" id="Snippet1"::: ]]> @@ -631,7 +631,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SetData1/CPP/setdata1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/SetData/setdata1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SetData1/VB/setdata1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata1.vb" id="Snippet1"::: ]]> @@ -696,7 +696,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SetData2/CPP/setdata2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/SetData/setdata2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SetData2/VB/setdata2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata2.vb" id="Snippet1"::: ]]> @@ -761,7 +761,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SetData3/CPP/setdata3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/SetData/setdata3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SetData3/VB/setdata3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata3.vb" id="Snippet1"::: ]]> @@ -828,7 +828,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SetData4/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/SetData/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SetData4/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/IFeatureSupport.xml b/xml/System.Windows.Forms/IFeatureSupport.xml index c4c1e83be63..ac3ef99b265 100644 --- a/xml/System.Windows.Forms/IFeatureSupport.xml +++ b/xml/System.Windows.Forms/IFeatureSupport.xml @@ -36,7 +36,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> @@ -88,7 +88,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/IWin32Window.xml b/xml/System.Windows.Forms/IWin32Window.xml index a777868d610..5598b546c48 100644 --- a/xml/System.Windows.Forms/IWin32Window.xml +++ b/xml/System.Windows.Forms/IWin32Window.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic IWin32Window Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IWin32Window/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic IWin32Window Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IWin32Window/Overview/source.vb" id="Snippet1"::: ]]> @@ -93,7 +93,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic IWin32Window Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IWin32Window/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic IWin32Window Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IWin32Window/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ImageList+ImageCollection.xml b/xml/System.Windows.Forms/ImageList+ImageCollection.xml index 3a642c4ad05..1f59cc7b096 100644 --- a/xml/System.Windows.Forms/ImageList+ImageCollection.xml +++ b/xml/System.Windows.Forms/ImageList+ImageCollection.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ImageList Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ImageList+ImageCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ImageList Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ImageList+ImageCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -121,7 +121,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb" id="Snippet2"::: ]]> @@ -382,7 +382,7 @@ The following example demonstrates how to use . To run this example, paste the following code into a Windows Form that contains an named `imageList1` and a button and call the `AddStripToCollection` method in this example when handling the button's event. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ImageList.xml b/xml/System.Windows.Forms/ImageList.xml index a846b2a5bb2..131eb0c576e 100644 --- a/xml/System.Windows.Forms/ImageList.xml +++ b/xml/System.Windows.Forms/ImageList.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ImageList Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ImageList+ImageCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ImageList Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ImageList+ImageCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -131,7 +131,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb" id="Snippet2"::: ]]> @@ -304,7 +304,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb" id="Snippet2"::: ]]> @@ -578,7 +578,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb" id="Snippet2"::: ]]> @@ -635,7 +635,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb" id="Snippet2"::: ]]> @@ -761,7 +761,7 @@ To run the example code, paste it into a project that contains an instance of type named `ImageList1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet160"::: ]]> diff --git a/xml/System.Windows.Forms/ImeMode.xml b/xml/System.Windows.Forms/ImeMode.xml index 8fb972027e0..08867b63dc1 100644 --- a/xml/System.Windows.Forms/ImeMode.xml +++ b/xml/System.Windows.Forms/ImeMode.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/InputLanguageChanged/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ImeMode/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/InputLanguageChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ImeMode/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/InputLanguage.xml b/xml/System.Windows.Forms/InputLanguage.xml index e1f99e5b0d2..9788e885226 100644 --- a/xml/System.Windows.Forms/InputLanguage.xml +++ b/xml/System.Windows.Forms/InputLanguage.xml @@ -44,13 +44,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/Overview/source.vb" id="Snippet1"::: The next example sets the default input language as the current input language. The example requires that `textBox1` has been instantiated and that `textBox1.MultiLine` has been set to `true`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/Overview/source.vb" id="Snippet2"::: ]]> @@ -92,7 +92,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.Culture Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/Culture/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.Culture Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/Culture/source.vb" id="Snippet1"::: ]]> @@ -134,7 +134,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.CurrentInputLanguage Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/CurrentInputLanguage/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.CurrentInputLanguage Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/CurrentInputLanguage/source.vb" id="Snippet1"::: ]]> @@ -176,7 +176,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.DefaultInputLanguage Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/DefaultInputLanguage/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.DefaultInputLanguage Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/DefaultInputLanguage/source.vb" id="Snippet1"::: ]]> @@ -280,7 +280,7 @@ Specifically, this method performs the following operations: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.FromCulture Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/FromCulture/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.FromCulture Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/FromCulture/source.vb" id="Snippet1"::: ]]> @@ -359,7 +359,7 @@ Specifically, this method performs the following operations: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.Handle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/Handle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.Handle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/Handle/source.vb" id="Snippet1"::: ]]> @@ -402,7 +402,7 @@ Specifically, this method performs the following operations: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.InstalledInputLanguages Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/InstalledInputLanguages/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.InstalledInputLanguages Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/InstalledInputLanguages/source.vb" id="Snippet1"::: ]]> @@ -445,7 +445,7 @@ Specifically, this method performs the following operations: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.LayoutName Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/LayoutName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.LayoutName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/LayoutName/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/InputLanguageChangedEventArgs.xml b/xml/System.Windows.Forms/InputLanguageChangedEventArgs.xml index 35de722723e..fca50e00338 100644 --- a/xml/System.Windows.Forms/InputLanguageChangedEventArgs.xml +++ b/xml/System.Windows.Forms/InputLanguageChangedEventArgs.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/InputLanguageChanged/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ImeMode/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/InputLanguageChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ImeMode/Overview/form1.vb" id="Snippet1"::: ]]> @@ -267,7 +267,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet400"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet400"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet400"::: ]]> @@ -317,7 +317,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet400"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet400"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet400"::: ]]> @@ -365,7 +365,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet400"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet400"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet400"::: ]]> diff --git a/xml/System.Windows.Forms/InputLanguageChangedEventHandler.xml b/xml/System.Windows.Forms/InputLanguageChangedEventHandler.xml index 684582c6518..41bf316df05 100644 --- a/xml/System.Windows.Forms/InputLanguageChangedEventHandler.xml +++ b/xml/System.Windows.Forms/InputLanguageChangedEventHandler.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/InputLanguageChanged/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ImeMode/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/InputLanguageChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ImeMode/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/InputLanguageChangingEventArgs.xml b/xml/System.Windows.Forms/InputLanguageChangingEventArgs.xml index b221ee4ff86..294e1b28aeb 100644 --- a/xml/System.Windows.Forms/InputLanguageChangingEventArgs.xml +++ b/xml/System.Windows.Forms/InputLanguageChangingEventArgs.xml @@ -49,7 +49,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet401"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet401"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet401"::: ]]> @@ -178,7 +178,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet401"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet401"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet401"::: ]]> @@ -225,7 +225,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet401"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet401"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet401"::: ]]> @@ -274,7 +274,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet401"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet401"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet401"::: ]]> diff --git a/xml/System.Windows.Forms/InvalidateEventArgs.xml b/xml/System.Windows.Forms/InvalidateEventArgs.xml index 943a5b81314..6a7aca4cb92 100644 --- a/xml/System.Windows.Forms/InvalidateEventArgs.xml +++ b/xml/System.Windows.Forms/InvalidateEventArgs.xml @@ -39,7 +39,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet40"::: ]]> @@ -123,7 +123,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet40"::: ]]> diff --git a/xml/System.Windows.Forms/ItemChangedEventArgs.xml b/xml/System.Windows.Forms/ItemChangedEventArgs.xml index 7e2a11f5404..eb796b3df63 100644 --- a/xml/System.Windows.Forms/ItemChangedEventArgs.xml +++ b/xml/System.Windows.Forms/ItemChangedEventArgs.xml @@ -39,7 +39,7 @@ To run the example code, paste it into a project that contains an instance of type named `CurrencyManager1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet191"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet191"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet191"::: ]]> @@ -87,7 +87,7 @@ To run the example code, paste it into a project that contains an instance of type named `CurrencyManager1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet191"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet191"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet191"::: ]]> diff --git a/xml/System.Windows.Forms/ItemCheckEventArgs.xml b/xml/System.Windows.Forms/ItemCheckEventArgs.xml index 5de54e8f78a..11c5ee545e3 100644 --- a/xml/System.Windows.Forms/ItemCheckEventArgs.xml +++ b/xml/System.Windows.Forms/ItemCheckEventArgs.xml @@ -44,10 +44,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet2"::: ]]> @@ -140,10 +140,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet2"::: ]]> @@ -195,10 +195,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet2"::: ]]> @@ -254,7 +254,7 @@ To run the example code, paste it into a project that contains an instance of type named `CheckedListBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet156"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet156"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet156"::: ]]> diff --git a/xml/System.Windows.Forms/ItemCheckedEventArgs.xml b/xml/System.Windows.Forms/ItemCheckedEventArgs.xml index 81e9ff597c7..e8944ceb5fd 100644 --- a/xml/System.Windows.Forms/ItemCheckedEventArgs.xml +++ b/xml/System.Windows.Forms/ItemCheckedEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet475"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet475"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet475"::: ]]> @@ -117,7 +117,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet475"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet475"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet475"::: ]]> diff --git a/xml/System.Windows.Forms/ItemDragEventArgs.xml b/xml/System.Windows.Forms/ItemDragEventArgs.xml index 75539a79c08..e2ee4b235a2 100644 --- a/xml/System.Windows.Forms/ItemDragEventArgs.xml +++ b/xml/System.Windows.Forms/ItemDragEventArgs.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewDragDrop/CPP/treeviewdragdrop.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewDragDrop/VB/treeviewdragdrop.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.vb" id="Snippet2"::: ]]> @@ -184,7 +184,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewDragDrop/CPP/treeviewdragdrop.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewDragDrop/VB/treeviewdragdrop.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.vb" id="Snippet2"::: ]]> @@ -238,7 +238,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewDragDrop/CPP/treeviewdragdrop.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewDragDrop/VB/treeviewdragdrop.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ItemDragEventHandler.xml b/xml/System.Windows.Forms/ItemDragEventHandler.xml index 31394e4559c..beb38188f14 100644 --- a/xml/System.Windows.Forms/ItemDragEventHandler.xml +++ b/xml/System.Windows.Forms/ItemDragEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewDragDrop/CPP/treeviewdragdrop.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewDragDrop/VB/treeviewdragdrop.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/KeyEventArgs.xml b/xml/System.Windows.Forms/KeyEventArgs.xml index ed3832d0687..9169b6ce0b1 100644 --- a/xml/System.Windows.Forms/KeyEventArgs.xml +++ b/xml/System.Windows.Forms/KeyEventArgs.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyEventArgs.Modifiers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb" id="Snippet1"::: **Example 2** @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet3"::: **Example 3** @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> @@ -154,7 +154,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyEventArgs.Modifiers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb" id="Snippet1"::: **Example 2** @@ -162,7 +162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet3"::: ]]> @@ -206,7 +206,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyEventArgs.Modifiers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -267,7 +267,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> @@ -312,7 +312,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyEventArgs.Modifiers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb" id="Snippet1"::: **Example 2** @@ -320,7 +320,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet3"::: **Example 3** @@ -328,7 +328,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> @@ -382,7 +382,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet48"::: ]]> @@ -425,7 +425,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet48"::: ]]> @@ -472,7 +472,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyEventArgs.Modifiers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -517,7 +517,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyEventArgs.Modifiers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -572,7 +572,7 @@ The following code example prevents numeric keystrokes from reaching the control named `textBox1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/SuppressKeyPress/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/keyeventargs.suppresskeypress/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/SuppressKeyPress/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/KeyEventHandler.xml b/xml/System.Windows.Forms/KeyEventHandler.xml index 7c556284623..2fcb5689149 100644 --- a/xml/System.Windows.Forms/KeyEventHandler.xml +++ b/xml/System.Windows.Forms/KeyEventHandler.xml @@ -50,11 +50,11 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet3"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/KeyPressEventArgs.xml b/xml/System.Windows.Forms/KeyPressEventArgs.xml index 10b6cefab88..c388a76e509 100644 --- a/xml/System.Windows.Forms/KeyPressEventArgs.xml +++ b/xml/System.Windows.Forms/KeyPressEventArgs.xml @@ -53,13 +53,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Overview/source.vb" id="Snippet1"::: You must create a new instance of this class. You must also set the event handler. You can do this in the constructor for your class. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/CPP/source2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Overview/source2.vb" id="Snippet2"::: When the specified event is raised in the control, the attached method is called and the application can execute code in response to the event. @@ -170,7 +170,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyPressEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyPressEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Handled/form1.vb" id="Snippet1"::: ]]> @@ -261,7 +261,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyPressEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyPressEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Handled/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/KeyPressEventHandler.xml b/xml/System.Windows.Forms/KeyPressEventHandler.xml index 6956e17c429..98d0c175fbe 100644 --- a/xml/System.Windows.Forms/KeyPressEventHandler.xml +++ b/xml/System.Windows.Forms/KeyPressEventHandler.xml @@ -52,11 +52,11 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyPressEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyPressEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Handled/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Keys.xml b/xml/System.Windows.Forms/Keys.xml index a5842b546fe..d7169799b0e 100644 --- a/xml/System.Windows.Forms/Keys.xml +++ b/xml/System.Windows.Forms/Keys.xml @@ -81,7 +81,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/KeysConverter.xml b/xml/System.Windows.Forms/KeysConverter.xml index a9abf912130..e35ce4b795b 100644 --- a/xml/System.Windows.Forms/KeysConverter.xml +++ b/xml/System.Windows.Forms/KeysConverter.xml @@ -45,7 +45,7 @@ The following code example demonstrates how to use the class to convert a to a . This example assumes that you have a named `TextBox1` on a named `Form1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeysConverter/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Label.xml b/xml/System.Windows.Forms/Label.xml index d7fdac863ca..730af9b66d4 100644 --- a/xml/System.Windows.Forms/Label.xml +++ b/xml/System.Windows.Forms/Label.xml @@ -92,7 +92,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Label Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Label Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb" id="Snippet1"::: ]]> @@ -272,7 +272,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LabelAutoSize/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/AutoSize/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LabelAutoSize/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/AutoSize/form1.vb" id="Snippet1"::: ]]> @@ -332,7 +332,7 @@ To run the example code, paste it into a project that contains an instance of type named Label1. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet458"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet458"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet458"::: ]]> @@ -578,7 +578,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Label Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb" id="Snippet1"::: ]]> @@ -1002,7 +1002,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Label_Image/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/Image/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Label_Image/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/Image/form1.vb" id="Snippet1"::: ]]> @@ -1061,7 +1061,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Label Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb" id="Snippet1"::: ]]> @@ -1149,7 +1149,7 @@ For example, consider a button control whose @@ -1286,7 +1286,7 @@ If you set the property, the @@ -2073,7 +2073,7 @@ If you set the property, the @@ -2141,7 +2141,7 @@ If you set the property, the @@ -2538,7 +2538,7 @@ If you set the property, the named Label1. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet459"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet459"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet459"::: ]]> @@ -2668,7 +2668,7 @@ You can set the `UseCompatibleTextRendering` property to `true` for a specific c :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Label Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LabelEditEventArgs.xml b/xml/System.Windows.Forms/LabelEditEventArgs.xml index 423133650af..d23d2973c52 100644 --- a/xml/System.Windows.Forms/LabelEditEventArgs.xml +++ b/xml/System.Windows.Forms/LabelEditEventArgs.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView3/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LabelEditEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView3/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LabelEditEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -195,7 +195,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView3/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LabelEditEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView3/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LabelEditEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -241,7 +241,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView3/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LabelEditEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView3/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LabelEditEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -289,7 +289,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet463"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet463"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet463"::: ]]> diff --git a/xml/System.Windows.Forms/LayoutEventArgs.xml b/xml/System.Windows.Forms/LayoutEventArgs.xml index 9c1f34a9720..470748e8f8d 100644 --- a/xml/System.Windows.Forms/LayoutEventArgs.xml +++ b/xml/System.Windows.Forms/LayoutEventArgs.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LayoutEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LayoutEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -182,7 +182,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet51"::: ]]> @@ -228,7 +228,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LayoutEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LayoutEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -284,7 +284,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LayoutEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LayoutEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LayoutEventHandler.xml b/xml/System.Windows.Forms/LayoutEventHandler.xml index 554f60ed451..e55a1949adb 100644 --- a/xml/System.Windows.Forms/LayoutEventHandler.xml +++ b/xml/System.Windows.Forms/LayoutEventHandler.xml @@ -50,7 +50,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LayoutEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LayoutEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LayoutSettings.xml b/xml/System.Windows.Forms/LayoutSettings.xml index 10870b9efe4..422ee18f681 100644 --- a/xml/System.Windows.Forms/LayoutSettings.xml +++ b/xml/System.Windows.Forms/LayoutSettings.xml @@ -40,7 +40,7 @@ The following example shows how to initialize a object for a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/LinkArea.xml b/xml/System.Windows.Forms/LinkArea.xml index 3479b3d59b3..58d0aa7ef05 100644 --- a/xml/System.Windows.Forms/LinkArea.xml +++ b/xml/System.Windows.Forms/LinkArea.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LinkBehavior.xml b/xml/System.Windows.Forms/LinkBehavior.xml index 26c816ae273..b5d5d21a279 100644 --- a/xml/System.Windows.Forms/LinkBehavior.xml +++ b/xml/System.Windows.Forms/LinkBehavior.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkBehavior/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LinkClickedEventArgs.xml b/xml/System.Windows.Forms/LinkClickedEventArgs.xml index 71e41301c35..de6581d5b18 100644 --- a/xml/System.Windows.Forms/LinkClickedEventArgs.xml +++ b/xml/System.Windows.Forms/LinkClickedEventArgs.xml @@ -47,7 +47,7 @@ To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet541"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet541"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet541"::: ]]> @@ -229,7 +229,7 @@ The values for and To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet541"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet541"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet541"::: ]]> diff --git a/xml/System.Windows.Forms/LinkLabel+Link.xml b/xml/System.Windows.Forms/LinkLabel+Link.xml index cc13c8b0bbe..070cc9ad8a7 100644 --- a/xml/System.Windows.Forms/LinkLabel+Link.xml +++ b/xml/System.Windows.Forms/LinkLabel+Link.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -327,7 +327,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -529,7 +529,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LinkLabel+LinkCollection.xml b/xml/System.Windows.Forms/LinkLabel+LinkCollection.xml index a5c9ccb02ae..0617a98b650 100644 --- a/xml/System.Windows.Forms/LinkLabel+LinkCollection.xml +++ b/xml/System.Windows.Forms/LinkLabel+LinkCollection.xml @@ -178,7 +178,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkBehavior/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb" id="Snippet1"::: ]]> @@ -240,7 +240,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LinkLabel Overview/CPP/linklabelex.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkLabel+LinkCollection/Add/linklabelex.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LinkLabel Overview/VB/linklabelex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkLabel+LinkCollection/Add/linklabelex.vb" id="Snippet1"::: ]]> @@ -491,7 +491,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkBehavior/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LinkLabel.xml b/xml/System.Windows.Forms/LinkLabel.xml index 608ac5f6ef7..2eaaeeee00c 100644 --- a/xml/System.Windows.Forms/LinkLabel.xml +++ b/xml/System.Windows.Forms/LinkLabel.xml @@ -77,13 +77,13 @@ The following example demonstrates using the class. The example handles the event by opening a Web site. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkLabel/Overview/form.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelSimple/VB/form.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkLabel/Overview/form.vb" id="Snippet1"::: The following example demonstrates using the class, with multiple sections defined, to display a label on a form. The example demonstrates setting the , , , , and properties to customize the look of the . The first is specified using the property. Additional links are added to the using the method. The example handles the event by starting the Web browser for hyperlinks, and displaying a for other links. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -124,7 +124,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -174,7 +174,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkBehavior/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb" id="Snippet1"::: ]]> @@ -298,7 +298,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -453,7 +453,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -514,7 +514,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -568,13 +568,13 @@ The following example demonstrates using the class. The example handles the event by opening a Web site. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkLabel/Overview/form.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelSimple/VB/form.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkLabel/Overview/form.vb" id="Snippet1"::: The following example demonstrates using the class, with multiple sections defined, to display a label on a form. The example demonstrates setting the , , , , and properties to customize the look of the . The first is specified using the property. Additional links are added to the using the method. The example handles the event by starting the Web browser for hyperlinks, and displaying a for other links. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -626,7 +626,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -697,7 +697,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -753,7 +753,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkBehavior/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1892,7 +1892,7 @@ To run the example code, paste it into a project that contains an instance of type named `LinkLabel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet460"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet460"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet460"::: ]]> @@ -2037,7 +2037,7 @@ You can set the `UseCompatibleTextRendering` property to `true` for a specific c :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LinkLabelLinkClickedEventArgs.xml b/xml/System.Windows.Forms/LinkLabelLinkClickedEventArgs.xml index 9c3e65e8554..8d055cde72d 100644 --- a/xml/System.Windows.Forms/LinkLabelLinkClickedEventArgs.xml +++ b/xml/System.Windows.Forms/LinkLabelLinkClickedEventArgs.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -169,7 +169,7 @@ To run the example code, paste it into a project that contains an instance of type named `LinkLabel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet461"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet461"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet461"::: ]]> @@ -216,7 +216,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LinkLabelLinkClickedEventHandler.xml b/xml/System.Windows.Forms/LinkLabelLinkClickedEventHandler.xml index e450b292590..82b553c5f35 100644 --- a/xml/System.Windows.Forms/LinkLabelLinkClickedEventHandler.xml +++ b/xml/System.Windows.Forms/LinkLabelLinkClickedEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListBox+ObjectCollection.xml b/xml/System.Windows.Forms/ListBox+ObjectCollection.xml index 234d6cd0bb1..8f2d3452a80 100644 --- a/xml/System.Windows.Forms/ListBox+ObjectCollection.xml +++ b/xml/System.Windows.Forms/ListBox+ObjectCollection.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -245,7 +245,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -315,7 +315,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -866,7 +866,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.SelectedIndex/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndex/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListBox+SelectedIndexCollection.xml b/xml/System.Windows.Forms/ListBox+SelectedIndexCollection.xml index d04adc06c3d..7ff57df94ae 100644 --- a/xml/System.Windows.Forms/ListBox+SelectedIndexCollection.xml +++ b/xml/System.Windows.Forms/ListBox+SelectedIndexCollection.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindString/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -320,7 +320,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindString/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListBox.xml b/xml/System.Windows.Forms/ListBox.xml index 413871a8f0a..c86e6d89a33 100644 --- a/xml/System.Windows.Forms/ListBox.xml +++ b/xml/System.Windows.Forms/ListBox.xml @@ -119,7 +119,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -155,7 +155,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -496,7 +496,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox.BeginUpdate Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/BeginUpdate/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox.BeginUpdate Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/BeginUpdate/source.vb" id="Snippet1"::: ]]> @@ -587,7 +587,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.SelectedIndex/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndex/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet1"::: ]]> @@ -697,7 +697,7 @@ The following code example demonstrates a simple two-column . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/ColumnWidth/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBox.MultiColumn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/ColumnWidth/form1.vb" id="Snippet1"::: ]]> @@ -948,7 +948,7 @@ The following code example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are fixed sized and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example requires that a control called `listBox1` has been added to a form and that the event is handled by the event handler defined in the example code. The example also requires that items have been added to the with the text of "Apple", "Orange", and "Plum" in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1006,7 +1006,7 @@ The following code example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are fixed sized and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example requires that a control called `listBox1` has been added to a form and that the event is handled by the event handler defined in the example code. The example also requires that items have been added to the with the text of "Apple", "Orange", and "Plum" in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1055,7 +1055,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox.BeginUpdate Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/BeginUpdate/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox.BeginUpdate Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/BeginUpdate/source.vb" id="Snippet1"::: ]]> @@ -1120,7 +1120,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindString2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/FindString/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/FindString/form1.vb" id="Snippet1"::: ]]> @@ -1177,7 +1177,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindString/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1244,7 +1244,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindStringExact/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/FindStringExact/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindStringExact/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/FindStringExact/form1.vb" id="Snippet1"::: ]]> @@ -1300,7 +1300,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindStringExact2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/FindStringExact/form11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindStringExact2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/FindStringExact/form11.vb" id="Snippet1"::: ]]> @@ -1541,7 +1541,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.GetSelected/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/GetSelected/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.GetSelected/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/GetSelected/form1.vb" id="Snippet1"::: ]]> @@ -1601,7 +1601,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.HorizontalExtent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/HorizontalExtent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.HorizontalExtent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/HorizontalExtent/form1.vb" id="Snippet1"::: ]]> @@ -1662,7 +1662,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.HorizontalExtent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/HorizontalExtent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.HorizontalExtent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/HorizontalExtent/form1.vb" id="Snippet1"::: ]]> @@ -1721,7 +1721,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.AllowDrop/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/IndexFromPoint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.AllowDrop/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/IndexFromPoint/form1.vb" id="Snippet1"::: ]]> @@ -1772,7 +1772,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.AllowDrop/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/IndexFromPoint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.AllowDrop/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/IndexFromPoint/form1.vb" id="Snippet1"::: ]]> @@ -1850,7 +1850,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.HorizontalExtent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/HorizontalExtent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.HorizontalExtent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/HorizontalExtent/form1.vb" id="Snippet1"::: ]]> @@ -1988,7 +1988,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -2046,7 +2046,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2144,7 +2144,7 @@ The following code example demonstrates a simple two-column . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/ColumnWidth/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBox.MultiColumn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/ColumnWidth/form1.vb" id="Snippet1"::: ]]> @@ -2328,7 +2328,7 @@ The following code example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are fixed sized and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example requires that a control called `listBox1` has been added to a form and that the event is handled by the event handler defined in the example code. The example also requires that items have been added to the with the text of "Apple", "Orange", and "Plum" in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2846,7 +2846,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.PreferredHeight/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/PreferredHeight/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.PreferredHeight/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/PreferredHeight/form1.vb" id="Snippet1"::: ]]> @@ -3156,7 +3156,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -3222,7 +3222,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.SelectedIndex/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndex/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet1"::: ]]> @@ -3282,7 +3282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.SelectedIndexChanged/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/SelectedIndexChanged/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndexChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/SelectedIndexChanged/form1.vb" id="Snippet1"::: ]]> @@ -3344,7 +3344,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindString/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -3417,7 +3417,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.SelectedIndexChanged/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/SelectedIndexChanged/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndexChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/SelectedIndexChanged/form1.vb" id="Snippet1"::: ]]> @@ -3524,7 +3524,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.GetSelected/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/GetSelected/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.GetSelected/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/GetSelected/form1.vb" id="Snippet1"::: ]]> @@ -3697,7 +3697,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -3745,7 +3745,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListBoxSort/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/Sort/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxSort/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/Sort/form1.vb" id="Snippet1"::: ]]> @@ -3807,7 +3807,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.GetSelected/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/GetSelected/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.GetSelected/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/GetSelected/form1.vb" id="Snippet1"::: ]]> @@ -3967,7 +3967,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.SelectedIndex/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndex/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet1"::: ]]> @@ -4092,7 +4092,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.UseTabStops/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/UseTabStops/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.UseTabStops/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/UseTabStops/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListControl.xml b/xml/System.Windows.Forms/ListControl.xml index 15bf608b277..54dbc0b42ab 100644 --- a/xml/System.Windows.Forms/ListControl.xml +++ b/xml/System.Windows.Forms/ListControl.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListControl/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -234,7 +234,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListControl/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -281,7 +281,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet142"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet142"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet142"::: ]]> @@ -366,7 +366,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListControl/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -412,7 +412,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet143"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet143"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet143"::: ]]> @@ -538,7 +538,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet144"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet144"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet144"::: ]]> @@ -647,7 +647,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet145"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet145"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet145"::: ]]> @@ -753,7 +753,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet146"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet146"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet146"::: ]]> @@ -850,7 +850,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet147"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet147"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet147"::: ]]> @@ -1502,7 +1502,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListControl/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListControl/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb" id="Snippet3"::: ]]> @@ -1549,7 +1549,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListControl/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1686,7 +1686,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListControl/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1733,7 +1733,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet148"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet148"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet148"::: ]]> diff --git a/xml/System.Windows.Forms/ListControlConvertEventArgs.xml b/xml/System.Windows.Forms/ListControlConvertEventArgs.xml index 101445fdbe8..8329f8ee2b6 100644 --- a/xml/System.Windows.Forms/ListControlConvertEventArgs.xml +++ b/xml/System.Windows.Forms/ListControlConvertEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet144"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet144"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet144"::: ]]> @@ -130,7 +130,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet144"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet144"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet144"::: ]]> diff --git a/xml/System.Windows.Forms/ListView+ColumnHeaderCollection.xml b/xml/System.Windows.Forms/ListView+ColumnHeaderCollection.xml index 406c1c8350a..63785d1cc57 100644 --- a/xml/System.Windows.Forms/ListView+ColumnHeaderCollection.xml +++ b/xml/System.Windows.Forms/ListView+ColumnHeaderCollection.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.ColumnClick/CPP/listviewsort1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.ColumnClick/VB/listviewsort1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.vb" id="Snippet1"::: ]]> @@ -206,7 +206,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.ColumnClick/CPP/listviewsort1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.ColumnClick/VB/listviewsort1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.vb" id="Snippet1"::: ]]> @@ -431,7 +431,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListView+ListViewItemCollection.xml b/xml/System.Windows.Forms/ListView+ListViewItemCollection.xml index 9b38b79aa49..33869bd4db8 100644 --- a/xml/System.Windows.Forms/ListView+ListViewItemCollection.xml +++ b/xml/System.Windows.Forms/ListView+ListViewItemCollection.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet1"::: ]]> @@ -538,7 +538,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListView+SelectedIndexCollection.xml b/xml/System.Windows.Forms/ListView+SelectedIndexCollection.xml index d99c7611b6d..8c8969a7151 100644 --- a/xml/System.Windows.Forms/ListView+SelectedIndexCollection.xml +++ b/xml/System.Windows.Forms/ListView+SelectedIndexCollection.xml @@ -74,10 +74,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/ListView+SelectedListViewItemCollection.xml b/xml/System.Windows.Forms/ListView+SelectedListViewItemCollection.xml index e27b6c7631b..c2133e6e112 100644 --- a/xml/System.Windows.Forms/ListView+SelectedListViewItemCollection.xml +++ b/xml/System.Windows.Forms/ListView+SelectedListViewItemCollection.xml @@ -76,10 +76,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ListView.xml b/xml/System.Windows.Forms/ListView.xml index 26eab4eab4d..0a28e0663d6 100644 --- a/xml/System.Windows.Forms/ListView.xml +++ b/xml/System.Windows.Forms/ListView.xml @@ -120,7 +120,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -281,7 +281,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.AfterLabelEdit/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AfterLabelEdit/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.AfterLabelEdit/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AfterLabelEdit/form1.vb" id="Snippet1"::: ]]> @@ -408,7 +408,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -596,7 +596,7 @@ The following example initializes a in detail view and automatically resizes the columns using the method. To run this example, paste this code into a Windows Form and call the `InitializeResizingListView` method from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet1"::: ]]> @@ -650,7 +650,7 @@ The following code example demonstrates initializing a in detail view and automatically resizing the columns using the method. To run this example, paste this code into a Windows Form and call the `InitializeResizingListView2` method from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet9"::: ]]> @@ -915,7 +915,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView3/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LabelEditEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView3/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LabelEditEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -966,7 +966,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1066,7 +1066,7 @@ The following code example demonstrates the use of this member. In the example, the event handler checks to make sure a cache refresh is really necessary, and then rebuilds the cache. This code example is part of a larger example provided for the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.vb" id="Snippet3"::: ]]> @@ -1143,7 +1143,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -1269,10 +1269,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet3"::: ]]> @@ -1322,7 +1322,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView4/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Clear/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView4/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Clear/form1.vb" id="Snippet1"::: ]]> @@ -1371,7 +1371,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.ColumnClick/CPP/listviewsort1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.ColumnClick/VB/listviewsort1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.vb" id="Snippet1"::: ]]> @@ -1419,7 +1419,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet467"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet467"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet467"::: ]]> @@ -1517,7 +1517,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -1566,7 +1566,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet468"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet468"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet468"::: ]]> @@ -1611,7 +1611,7 @@ The following code example demonstrates handling the event. It also demonstrates the and members. To run this example, paste the code into a Windows Form. Call `InitializeListView1` from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet6"::: ]]> @@ -1854,7 +1854,7 @@ The following code example provides an implementation of a event handler. For the complete example, including the implementation of the event handler, see the reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet5"::: ]]> @@ -1911,7 +1911,7 @@ The following code example provides an implementation of a event handler. For the complete example, see the reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> @@ -1972,7 +1972,7 @@ The following code example provides an implementation of a event handler. For the complete example, see the reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -2027,7 +2027,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2133,7 +2133,7 @@ The following code example demonstrates the method. To run this example, paste the following code into a Windows Form and call the `InitializeFindListView` method from the form's constructor or event handler. Click the button to see the results of the method call. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet3"::: ]]> @@ -2499,7 +2499,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -2561,7 +2561,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet2"::: ]]> @@ -2736,7 +2736,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -2907,7 +2907,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet1"::: ]]> @@ -3001,7 +3001,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet1"::: ]]> @@ -3068,7 +3068,7 @@ When this property is set to `false`, selected items in the @@ -3166,7 +3166,7 @@ When this property is set to `false`, selected items in the method to determine the location of a mouse event in a . To run this example, paste it into a Windows Form that contains a named `listView1` that is populated with items. Associate the event for `listView1` with the `listView1_MouseDown` method in this example. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet7"::: ]]> @@ -3217,7 +3217,7 @@ When this property is set to `false`, selected items in the with hot tracking enabled. To run this example, paste the following code into a Windows Form and call the `InitializeHotTrackingListView` method from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet2"::: ]]> @@ -3329,7 +3329,7 @@ When this property is set to `false`, selected items in the @@ -3413,7 +3413,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet473"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet473"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet473"::: ]]> @@ -3468,10 +3468,10 @@ When this property is set to `false`, selected items in the @@ -3522,7 +3522,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet475"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet475"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet475"::: ]]> @@ -3570,7 +3570,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet476"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet476"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet476"::: ]]> @@ -3617,7 +3617,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet477"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet477"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet477"::: ]]> @@ -3712,7 +3712,7 @@ When this property is set to `false`, selected items in the @@ -3762,7 +3762,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet478"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet478"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet478"::: ]]> @@ -3834,7 +3834,7 @@ When this property is set to `false`, selected items in the @@ -3963,7 +3963,7 @@ When this property is set to `false`, selected items in the @@ -4037,7 +4037,7 @@ When this property is set to `false`, selected items in the @@ -4095,7 +4095,7 @@ When this property is set to `false`, selected items in the @@ -4150,7 +4150,7 @@ When this property is set to `false`, selected items in the @@ -4337,7 +4337,7 @@ When this property is set to `false`, selected items in the @@ -5565,7 +5565,7 @@ When this property is set to `false`, selected items in the component provides a way to switch between the details view and the list view. In the list view, only the event is raised. In this case, the text and background are both drawn in the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet1"::: ]]> @@ -5847,7 +5847,7 @@ When this property is set to `false`, selected items in the to display the square of its index. This code example is part of a larger example provided for the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.vb" id="Snippet2"::: ]]> @@ -5943,7 +5943,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet462"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet462"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet462"::: ]]> @@ -6034,7 +6034,7 @@ When this property is set to `false`, selected items in the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.vb" id="Snippet4"::: ]]> @@ -6083,10 +6083,10 @@ When this property is set to `false`, selected items in the @@ -6156,10 +6156,10 @@ When this property is set to `false`, selected items in the @@ -6226,10 +6226,10 @@ When this property is set to `false`, selected items in the @@ -6327,7 +6327,7 @@ When this property is set to `false`, selected items in the and properties. To run this example, paste the code into a Windows Form and call `InitializeItemsWithToolTips` from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/ShowItemToolTips/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb" id="Snippet4"::: ]]> @@ -6406,7 +6406,7 @@ When this property is set to `false`, selected items in the @@ -6523,7 +6523,7 @@ When this property is set to `false`, selected items in the @@ -6721,7 +6721,7 @@ When this property is set to `false`, selected items in the @@ -6796,7 +6796,7 @@ When this property is set to `false`, selected items in the @@ -7048,7 +7048,7 @@ When this property is set to `false`, selected items in the @@ -7099,7 +7099,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet482"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet482"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet482"::: ]]> @@ -7230,7 +7230,7 @@ When this property is set to `false`, selected items in the whose contents are the first ten thousand squares. It handles searching and uses a cache for increased performance. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewGroup.xml b/xml/System.Windows.Forms/ListViewGroup.xml index fe652d0c844..48db80b3888 100644 --- a/xml/System.Windows.Forms/ListViewGroup.xml +++ b/xml/System.Windows.Forms/ListViewGroup.xml @@ -81,7 +81,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet1"::: ]]> @@ -234,7 +234,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewGroupCollection.xml b/xml/System.Windows.Forms/ListViewGroupCollection.xml index be1cb5e67b6..97346fc03e5 100644 --- a/xml/System.Windows.Forms/ListViewGroupCollection.xml +++ b/xml/System.Windows.Forms/ListViewGroupCollection.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet1"::: ]]> @@ -237,7 +237,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet2"::: ]]> @@ -337,7 +337,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewHitTestInfo.xml b/xml/System.Windows.Forms/ListViewHitTestInfo.xml index e8313acdaf5..0a2ffc196a7 100644 --- a/xml/System.Windows.Forms/ListViewHitTestInfo.xml +++ b/xml/System.Windows.Forms/ListViewHitTestInfo.xml @@ -40,7 +40,7 @@ The following code example demonstrates using the class and the method to determine the location of a event. To run this code, paste it into a Windows Form that contains a named `listView1` that is populated with items. Associate the event for the form and `listView1` with the `HandleMouseDown` method in this example. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewHitTestLocations.xml b/xml/System.Windows.Forms/ListViewHitTestLocations.xml index 0b941cd96e1..e1013096b7d 100644 --- a/xml/System.Windows.Forms/ListViewHitTestLocations.xml +++ b/xml/System.Windows.Forms/ListViewHitTestLocations.xml @@ -39,7 +39,7 @@ The following code example demonstrates using the method to determine the location of a event in a . To run this code, paste it into a Windows Form that contains a named `listView1` that is populated with items. Associate the event for `listview1` and the form with the `HandleMouseDown` method in this example. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewInsertionMark.xml b/xml/System.Windows.Forms/ListViewInsertionMark.xml index 213ff27791d..7e976919d8b 100644 --- a/xml/System.Windows.Forms/ListViewInsertionMark.xml +++ b/xml/System.Windows.Forms/ListViewInsertionMark.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb" id="Snippet1"::: ]]> @@ -142,7 +142,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb" id="Snippet3"::: ]]> @@ -225,7 +225,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb" id="Snippet2"::: ]]> @@ -280,7 +280,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb" id="Snippet3"::: ]]> @@ -333,7 +333,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewItem+ListViewSubItem.xml b/xml/System.Windows.Forms/ListViewItem+ListViewSubItem.xml index 5ca0556d1dd..9043818880f 100644 --- a/xml/System.Windows.Forms/ListViewItem+ListViewSubItem.xml +++ b/xml/System.Windows.Forms/ListViewItem+ListViewSubItem.xml @@ -80,7 +80,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -360,7 +360,7 @@ ListViewItem1.SubItems[1].Font = New Font(ListViewItem1.SubItems[1].Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/TopItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb" id="Snippet1"::: ]]> @@ -410,7 +410,7 @@ ListViewItem1.SubItems[1].Font = New Font(ListViewItem1.SubItems[1].Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/TopItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb" id="Snippet1"::: ]]> @@ -502,7 +502,7 @@ ListViewItem1.SubItems[1].Font = New Font(ListViewItem1.SubItems[1].Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/TopItem/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewItem+ListViewSubItemCollection.xml b/xml/System.Windows.Forms/ListViewItem+ListViewSubItemCollection.xml index 3ec616b3aab..d151dceffd0 100644 --- a/xml/System.Windows.Forms/ListViewItem+ListViewSubItemCollection.xml +++ b/xml/System.Windows.Forms/ListViewItem+ListViewSubItemCollection.xml @@ -169,7 +169,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewItem.xml b/xml/System.Windows.Forms/ListViewItem.xml index 678f3f297af..f1f1cbb7d8f 100644 --- a/xml/System.Windows.Forms/ListViewItem.xml +++ b/xml/System.Windows.Forms/ListViewItem.xml @@ -95,7 +95,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -159,7 +159,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -1026,7 +1026,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.ColumnClick/CPP/listviewsort1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.ColumnClick/VB/listviewsort1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.vb" id="Snippet1"::: ]]> @@ -1411,7 +1411,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -1583,7 +1583,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form that contains a named `findListView`. Ensure that the property is set to an icon view and that the is populated with items. Associate the event of `findListView` with the `findListView_MouseDown` method in this example. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/ShowItemToolTips/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb" id="Snippet1"::: ]]> @@ -1844,7 +1844,7 @@ ListViewItem1.Font = New Font(ListViewItem1.Font, _ The following code example demonstrates how to use the method. To run this code, paste it into a Windows Form and call `InitializeListView1` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/ShowItemToolTips/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb" id="Snippet5"::: ]]> @@ -1912,7 +1912,7 @@ ListViewItem1.Font = New Font(ListViewItem1.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet2"::: ]]> @@ -2184,7 +2184,7 @@ If you set the property, th The following code example demonstrates how to set the property. To run this example, paste the following code into a Windows Form and call the `InitializeIndentedListViewItems` method from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/ShowItemToolTips/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb" id="Snippet2"::: ]]> @@ -2389,7 +2389,7 @@ If you set the property, th The following code example demonstrates how to use the property of a . To run this example, paste the following code into a Windows Form and call the `InitializePositionedListViewItems` from the form's event-handling method. Click the button to see the items repositioned. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/ShowItemToolTips/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb" id="Snippet3"::: ]]> @@ -2494,7 +2494,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView4/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Clear/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView4/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Clear/form1.vb" id="Snippet1"::: ]]> @@ -2705,7 +2705,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -2825,7 +2825,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListViewItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListViewItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -2886,7 +2886,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListViewItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListViewItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -2943,7 +2943,7 @@ If you set the property, th The following code example demonstrates how to use the and properties. To run this example, paste the code into a Windows Form and call `InitializeItemsWithToolTips` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/ShowItemToolTips/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb" id="Snippet4"::: ]]> @@ -3026,7 +3026,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/TopItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewItemMouseHoverEventArgs.xml b/xml/System.Windows.Forms/ListViewItemMouseHoverEventArgs.xml index cc4aa35b1b8..37f04071694 100644 --- a/xml/System.Windows.Forms/ListViewItemMouseHoverEventArgs.xml +++ b/xml/System.Windows.Forms/ListViewItemMouseHoverEventArgs.xml @@ -46,7 +46,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet477"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet477"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet477"::: ]]> @@ -128,7 +128,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet477"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet477"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet477"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewItemSelectionChangedEventArgs.xml b/xml/System.Windows.Forms/ListViewItemSelectionChangedEventArgs.xml index fd1330111e4..89a56e7aa19 100644 --- a/xml/System.Windows.Forms/ListViewItemSelectionChangedEventArgs.xml +++ b/xml/System.Windows.Forms/ListViewItemSelectionChangedEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet478"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet478"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet478"::: ]]> @@ -129,7 +129,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet478"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet478"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet478"::: ]]> @@ -176,7 +176,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet478"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet478"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet478"::: ]]> @@ -222,7 +222,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet478"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet478"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet478"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewItemStates.xml b/xml/System.Windows.Forms/ListViewItemStates.xml index fe6598f67fc..7e851b443fd 100644 --- a/xml/System.Windows.Forms/ListViewItemStates.xml +++ b/xml/System.Windows.Forms/ListViewItemStates.xml @@ -45,7 +45,7 @@ For the complete example, see the reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewVirtualItemsSelectionRangeChangedEventArgs.xml b/xml/System.Windows.Forms/ListViewVirtualItemsSelectionRangeChangedEventArgs.xml index fd882f1aee4..7d19931c7c1 100644 --- a/xml/System.Windows.Forms/ListViewVirtualItemsSelectionRangeChangedEventArgs.xml +++ b/xml/System.Windows.Forms/ListViewVirtualItemsSelectionRangeChangedEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet482"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet482"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet482"::: ]]> @@ -124,7 +124,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet482"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet482"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet482"::: ]]> @@ -176,7 +176,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet482"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet482"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet482"::: ]]> @@ -222,7 +222,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet482"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet482"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet482"::: ]]> diff --git a/xml/System.Windows.Forms/MainMenu.xml b/xml/System.Windows.Forms/MainMenu.xml index 653ff952bed..31890f9be41 100644 --- a/xml/System.Windows.Forms/MainMenu.xml +++ b/xml/System.Windows.Forms/MainMenu.xml @@ -59,7 +59,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -111,7 +111,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -178,7 +178,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -220,7 +220,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -259,7 +259,7 @@ This class is not available in .NET Core 3.1 and later versions. Use named `MainMenu1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet483"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet483"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet483"::: ]]> @@ -362,7 +362,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -454,7 +454,7 @@ This class is not available in .NET Core 3.1 and later versions. Use diff --git a/xml/System.Windows.Forms/MaskInputRejectedEventArgs.xml b/xml/System.Windows.Forms/MaskInputRejectedEventArgs.xml index 070eaa8c0e7..8d433b856bd 100644 --- a/xml/System.Windows.Forms/MaskInputRejectedEventArgs.xml +++ b/xml/System.Windows.Forms/MaskInputRejectedEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet486"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet486"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet486"::: ]]> @@ -134,7 +134,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet486"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet486"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet486"::: ]]> @@ -186,7 +186,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet486"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet486"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet486"::: ]]> diff --git a/xml/System.Windows.Forms/MaskedTextBox.xml b/xml/System.Windows.Forms/MaskedTextBox.xml index 7e67cd37387..242b680eadd 100644 --- a/xml/System.Windows.Forms/MaskedTextBox.xml +++ b/xml/System.Windows.Forms/MaskedTextBox.xml @@ -117,7 +117,7 @@ The following code example initializes the to accept a date, and uses both the and events to alert the user to invalid input. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MaskedTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MaskInputRejectedSample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1325,7 +1325,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet484"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet484"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet484"::: ]]> @@ -1547,7 +1547,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet485"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet485"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet485"::: ]]> @@ -1704,7 +1704,7 @@ The following code example handles the event, and uses a to alert the user if an attempt is made to enter data after all positions in the mask have been used. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MaskedTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MaskInputRejectedSample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1776,7 +1776,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet486"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet486"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet486"::: ]]> @@ -3059,7 +3059,7 @@ ## Examples The following code example demonstrates the use of the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TestMaskedTextBox/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Text/form1.vb" id="Snippet3"::: ]]> @@ -3171,7 +3171,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet487"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet487"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet487"::: ]]> @@ -3376,7 +3376,7 @@ The following code example attempts to parse the user's input as a valid object. If it fails, the event handler displays an error message to the user. If the value is a valid , the code verifies that the date supplied is not prior to today's date. This code example requires that your Windows Forms project contains a control named `MaskedTextBox1` and a control named `ToolTip1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidatingTypeSample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/form1.vb" id="Snippet1"::: ]]> @@ -3610,7 +3610,7 @@ maskedTextBox1.Mask = "99/99/9999"; The following code example attempts to parse the user's input as a valid . If it fails, the event handler displays an error message to the user. If the value is a valid , the code performs an additional check to ensure that the date supplied is not prior to today's date. This code example requires that your Windows Forms project contains a control named `MaskedTextBox1` and a control named `ToolTip1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidatingTypeSample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MeasureItemEventArgs.xml b/xml/System.Windows.Forms/MeasureItemEventArgs.xml index 800ded188c9..f6ba143f392 100644 --- a/xml/System.Windows.Forms/MeasureItemEventArgs.xml +++ b/xml/System.Windows.Forms/MeasureItemEventArgs.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> @@ -173,7 +173,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> @@ -217,7 +217,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> @@ -269,7 +269,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> @@ -326,7 +326,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MeasureItemEventHandler.xml b/xml/System.Windows.Forms/MeasureItemEventHandler.xml index d5961900a58..2318a761751 100644 --- a/xml/System.Windows.Forms/MeasureItemEventHandler.xml +++ b/xml/System.Windows.Forms/MeasureItemEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Menu+MenuItemCollection.xml b/xml/System.Windows.Forms/Menu+MenuItemCollection.xml index 0ccb101653b..8c4a2fff8a9 100644 --- a/xml/System.Windows.Forms/Menu+MenuItemCollection.xml +++ b/xml/System.Windows.Forms/Menu+MenuItemCollection.xml @@ -139,7 +139,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -186,7 +186,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Menu.MenuItems Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Add/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItems Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source3.vb" id="Snippet1"::: ]]> @@ -235,7 +235,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add4 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Add/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add4 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source2.vb" id="Snippet1"::: ]]> @@ -289,7 +289,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Add/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source1.vb" id="Snippet1"::: ]]> @@ -376,7 +376,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.CopyTo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/AddRange/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/AddRange/source.vb" id="Snippet1"::: ]]> @@ -421,7 +421,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ClearItems/CPP/clearitems.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Clear/clearitems.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClearItems/VB/clearitems.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Clear/clearitems.vb" id="Snippet1"::: ]]> @@ -467,7 +467,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ContainsItems/CPP/containsitems.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Contains/containsitems.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContainsItems/VB/containsitems.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Contains/containsitems.vb" id="Snippet1"::: ]]> @@ -552,7 +552,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.CopyTo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/AddRange/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/AddRange/source.vb" id="Snippet1"::: ]]> @@ -595,7 +595,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CountProperty/CPP/countitems.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Count/countitems.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CountProperty/VB/countitems.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Count/countitems.vb" id="Snippet1"::: ]]> @@ -704,7 +704,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IndexOf/CPP/indexof.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/IndexOf/indexof.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IndexOf/VB/indexof.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/IndexOf/indexof.vb" id="Snippet1"::: ]]> @@ -903,7 +903,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RemoveMenuItems/CPP/removeitems.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Remove/removeitems.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RemoveMenuItems/VB/removeitems.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Remove/removeitems.vb" id="Snippet1"::: ]]> @@ -949,7 +949,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RemoveAt/CPP/removeat.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/RemoveAt/removeat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RemoveAt/VB/removeat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/RemoveAt/removeat.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Menu.xml b/xml/System.Windows.Forms/Menu.xml index c77202df8c6..b23adc0dfcb 100644 --- a/xml/System.Windows.Forms/Menu.xml +++ b/xml/System.Windows.Forms/Menu.xml @@ -66,7 +66,7 @@ This class is the base class for the , @@ -145,7 +145,7 @@ This class is the base class for the , @@ -370,7 +370,7 @@ This class is the base class for the , @@ -410,7 +410,7 @@ This class is the base class for the , @@ -505,7 +505,7 @@ This class is the base class for the , @@ -601,7 +601,7 @@ This class is the base class for the , @@ -652,7 +652,7 @@ This class is the base class for the , diff --git a/xml/System.Windows.Forms/MenuItem.xml b/xml/System.Windows.Forms/MenuItem.xml index 64e9a3a6e72..d20e7a08fc5 100644 --- a/xml/System.Windows.Forms/MenuItem.xml +++ b/xml/System.Windows.Forms/MenuItem.xml @@ -70,7 +70,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -123,7 +123,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -169,7 +169,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -219,7 +219,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -271,7 +271,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -323,7 +323,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -383,7 +383,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -439,7 +439,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -489,7 +489,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -538,7 +538,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -579,7 +579,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -627,7 +627,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -668,7 +668,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -713,7 +713,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -789,7 +789,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -840,7 +840,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -884,7 +884,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -930,7 +930,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -975,7 +975,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1013,7 +1013,7 @@ This class is not available in .NET Core 3.1 and later versions. Use named `MenuItem1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet499"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet499"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet499"::: ]]> @@ -1121,7 +1121,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1165,7 +1165,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1211,7 +1211,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1293,7 +1293,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1450,7 +1450,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1494,7 +1494,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1542,7 +1542,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1592,7 +1592,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1630,7 +1630,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1668,7 +1668,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1706,7 +1706,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1751,7 +1751,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1792,7 +1792,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1841,7 +1841,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1892,7 +1892,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1939,7 +1939,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -2013,7 +2013,7 @@ This class is not available in .NET Core 3.1 and later versions. Use diff --git a/xml/System.Windows.Forms/MenuMerge.xml b/xml/System.Windows.Forms/MenuMerge.xml index b60704f579d..d7b243e483c 100644 --- a/xml/System.Windows.Forms/MenuMerge.xml +++ b/xml/System.Windows.Forms/MenuMerge.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MenuItem.MergeMenu1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MenuItem/MergeMenu/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MergeMenu1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MenuItem/MergeMenu/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MenuStrip.xml b/xml/System.Windows.Forms/MenuStrip.xml index ba90af89193..e5d49d6d21f 100644 --- a/xml/System.Windows.Forms/MenuStrip.xml +++ b/xml/System.Windows.Forms/MenuStrip.xml @@ -58,7 +58,7 @@ The replaces and extends the in a multiple-document interface (MDI) scenario. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet10"::: ]]> @@ -100,7 +100,7 @@ The replaces and extends the constructor. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet12"::: ]]> @@ -459,7 +459,7 @@ The replaces and extends the property. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet12"::: ]]> @@ -504,7 +504,7 @@ The replaces and extends the named `MenuStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet489"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet489"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet489"::: ]]> @@ -549,7 +549,7 @@ The replaces and extends the named `MenuStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet490"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet490"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet490"::: ]]> @@ -796,7 +796,7 @@ The replaces and extends the diff --git a/xml/System.Windows.Forms/Message.xml b/xml/System.Windows.Forms/Message.xml index e8145682f4c..ee34f50c536 100644 --- a/xml/System.Windows.Forms/Message.xml +++ b/xml/System.Windows.Forms/Message.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb" id="Snippet1"::: ]]> @@ -462,7 +462,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb" id="Snippet1"::: ]]> @@ -693,7 +693,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MessageBox.xml b/xml/System.Windows.Forms/MessageBox.xml index b4dc67d0c8e..1699416140d 100644 --- a/xml/System.Windows.Forms/MessageBox.xml +++ b/xml/System.Windows.Forms/MessageBox.xml @@ -42,13 +42,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet1"::: The following code example shows how to ask the user a yes or no question and make a decision based on the response. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MessageBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MessageBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -107,7 +107,7 @@ The following code example displays a simple message box. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet6"::: ]]> @@ -261,7 +261,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet1"::: ]]> @@ -379,7 +379,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.vb" id="Snippet2"::: ]]> @@ -451,7 +451,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet5"::: ]]> @@ -519,7 +519,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet3"::: ]]> @@ -599,7 +599,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet4"::: ]]> @@ -674,7 +674,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet2"::: ]]> @@ -763,7 +763,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet2"::: ]]> @@ -847,10 +847,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet2"::: ]]> @@ -943,10 +943,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet3"::: ]]> @@ -1037,7 +1037,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1141,10 +1141,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet9"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet9"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet9"::: ]]> @@ -1241,10 +1241,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet5"::: ]]> @@ -1339,10 +1339,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet4"::: ]]> @@ -1443,10 +1443,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet7"::: ]]> @@ -1548,10 +1548,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet10"::: ]]> @@ -1650,10 +1650,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet6"::: ]]> @@ -1756,10 +1756,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Windows.Forms/MessageBoxButtons.xml b/xml/System.Windows.Forms/MessageBoxButtons.xml index 4e0d74f308b..ed058fc24ee 100644 --- a/xml/System.Windows.Forms/MessageBoxButtons.xml +++ b/xml/System.Windows.Forms/MessageBoxButtons.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MessageBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MessageBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MessageBoxDefaultButton.xml b/xml/System.Windows.Forms/MessageBoxDefaultButton.xml index ad92dc72443..6274efaf058 100644 --- a/xml/System.Windows.Forms/MessageBoxDefaultButton.xml +++ b/xml/System.Windows.Forms/MessageBoxDefaultButton.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/MessageBoxOptions.xml b/xml/System.Windows.Forms/MessageBoxOptions.xml index 8ef70707127..3e3e68a10b3 100644 --- a/xml/System.Windows.Forms/MessageBoxOptions.xml +++ b/xml/System.Windows.Forms/MessageBoxOptions.xml @@ -43,7 +43,7 @@ The following example demonstrates how to display a diff --git a/xml/System.Windows.Forms/MethodInvoker.xml b/xml/System.Windows.Forms/MethodInvoker.xml index e7211b1759c..81049f7cce7 100644 --- a/xml/System.Windows.Forms/MethodInvoker.xml +++ b/xml/System.Windows.Forms/MethodInvoker.xml @@ -38,7 +38,7 @@ The following code example demonstrates how to use a to call a method that updates the title bar of the application form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MethodInvoker/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.methodinvoker/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MethodInvoker/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MonthCalendar.xml b/xml/System.Windows.Forms/MonthCalendar.xml index c21f139f61e..b8f47d586bf 100644 --- a/xml/System.Windows.Forms/MonthCalendar.xml +++ b/xml/System.Windows.Forms/MonthCalendar.xml @@ -85,7 +85,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -138,7 +138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -231,7 +231,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MonthCalendar/CPP/mc.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MonthCalendar/VB/mc.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.vb" id="Snippet2"::: ]]> @@ -327,7 +327,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -378,7 +378,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet1"::: ]]> @@ -615,7 +615,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -670,7 +670,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -877,13 +877,13 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/CPP/selectionrangeobj.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb" id="Snippet1"::: The following code example displays a form containing a control that displays one calendar year. The example demonstrates setting the , , , , , and properties to customize the look of the calendar control. Other properties such as , , and are set to customize which dates are bold. The example also sets the , , , and properties to change the calendar format. The and events are also handled and their status is displayed on the form. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -937,7 +937,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -1258,7 +1258,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -1307,7 +1307,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet1"::: ]]> @@ -1600,7 +1600,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -1659,7 +1659,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -1704,7 +1704,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -1760,7 +1760,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -2470,7 +2470,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MonthCalendar/CPP/mc.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MonthCalendar/VB/mc.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.vb" id="Snippet4"::: ]]> @@ -2596,7 +2596,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MonthCalendar/CPP/mc.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MonthCalendar/VB/mc.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.vb" id="Snippet3"::: ]]> @@ -2772,7 +2772,7 @@ The is only available in applicatio To run the example code, paste it into a project that contains an instance of type named `MonthCalendar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet504"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet504"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet504"::: ]]> @@ -2827,7 +2827,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -2903,7 +2903,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.vb" id="Snippet1"::: ]]> @@ -3049,7 +3049,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.vb" id="Snippet1"::: ]]> @@ -3311,7 +3311,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -3368,7 +3368,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -3424,7 +3424,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -3674,7 +3674,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -3726,7 +3726,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -3772,7 +3772,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.vb" id="Snippet1"::: ]]> @@ -3918,7 +3918,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MouseButtons.xml b/xml/System.Windows.Forms/MouseButtons.xml index e8c33955290..874a3a46ecc 100644 --- a/xml/System.Windows.Forms/MouseButtons.xml +++ b/xml/System.Windows.Forms/MouseButtons.xml @@ -45,13 +45,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.GetCharAtIndex/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseButtons/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.GetCharAtIndex/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseButtons/Overview/form1.vb" id="Snippet1"::: The following example demonstrates using different mouse events to draw the path of the mouse on a . A line segment is added to the for each and events that occur. To update the graphics, the method is called for the on each `MouseDown` and `MouseUp` event. In addition, the graphic path is scrolled up or down when the event occurs. Additional mouse events, like , are identified on screen as well. Also displayed on the screen is additional information about the mouse from the class. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MouseEventArgs.xml b/xml/System.Windows.Forms/MouseEventArgs.xml index 259e271bd07..59126b06b9c 100644 --- a/xml/System.Windows.Forms/MouseEventArgs.xml +++ b/xml/System.Windows.Forms/MouseEventArgs.xml @@ -47,17 +47,17 @@ The following code example handles the event on a control so that clicking the right mouse button selects all the text in the control. This example requires that you have a form that contains a control that is named `textBox1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet1"::: The following code example uses the `Location` property to track clicks of the left mouse button and to draw a series of straight line segments in response to user input. The example does not redraw the lines if you hide the form and then redisplay it; this code has been omitted for simplicity. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet2"::: The following code example uses the and properties to display the current position of the mouse pointer in a window. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -156,7 +156,7 @@ The following code example handles the event on a control so that clicking the right mouse button selects all the text in the control. This example requires that you have a form that contains a control named `textBox1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -212,7 +212,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet54"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet54"::: ]]> @@ -268,7 +268,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet54"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet54"::: ]]> @@ -308,7 +308,7 @@ The following code example uses the property to track left mouse clicks and draw a series of straight line segments in response to user input. The example does not persist the drawn lines if you hide the form and then redisplay it; this code was omitted for simplicity. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -363,7 +363,7 @@ The following code example uses the and properties to display the current position of the mouse pointer in a window. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -416,7 +416,7 @@ The following code example uses the and properties to display the current position of the mouse pointer in a window. To use this code, call `TrackCoordinates` from the form constructor. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/MouseEventHandler.xml b/xml/System.Windows.Forms/MouseEventHandler.xml index 56c539cb35f..1b6a9a0de33 100644 --- a/xml/System.Windows.Forms/MouseEventHandler.xml +++ b/xml/System.Windows.Forms/MouseEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/NativeWindow.xml b/xml/System.Windows.Forms/NativeWindow.xml index e47f6651960..70cc8d4f642 100644 --- a/xml/System.Windows.Forms/NativeWindow.xml +++ b/xml/System.Windows.Forms/NativeWindow.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet2"::: ]]> @@ -234,7 +234,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet3"::: ]]> @@ -481,7 +481,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet3"::: ]]> @@ -538,7 +538,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet3"::: ]]> @@ -650,7 +650,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet2"::: ]]> @@ -767,7 +767,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/NavigateEventArgs.xml b/xml/System.Windows.Forms/NavigateEventArgs.xml index fa5e124fb2e..4d650e74878 100644 --- a/xml/System.Windows.Forms/NavigateEventArgs.xml +++ b/xml/System.Windows.Forms/NavigateEventArgs.xml @@ -43,7 +43,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet204"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet204"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet204"::: ]]> @@ -131,7 +131,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet204"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet204"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet204"::: ]]> diff --git a/xml/System.Windows.Forms/NotifyIcon.xml b/xml/System.Windows.Forms/NotifyIcon.xml index 712203f2bd3..cfdc9e8446d 100644 --- a/xml/System.Windows.Forms/NotifyIcon.xml +++ b/xml/System.Windows.Forms/NotifyIcon.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> @@ -156,7 +156,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> @@ -201,7 +201,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet505"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet505"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet505"::: ]]> @@ -244,7 +244,7 @@ The following code example demonstrates how to handle the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb" id="Snippet4"::: ]]> @@ -292,7 +292,7 @@ The following code example demonstrates how to use the , , and properties. To run this example, paste the example code into a Windows Form that contains a named `notifyIcon1`. Call `SetBalloonTip` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb" id="Snippet2"::: ]]> @@ -338,7 +338,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet507"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet507"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet507"::: ]]> @@ -402,7 +402,7 @@ The following code example demonstrates how to use the , , and properties. To run this example, paste the example code into a Windows Form that contains a named `notifyIcon1`. Call `SetBalloonTip` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb" id="Snippet2"::: ]]> @@ -463,7 +463,7 @@ The following code example demonstrates how to use the , , and properties. To run this example, paste the example code into a Windows Form that contains a named `notifyIcon1`. Call `SetBalloonTip` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb" id="Snippet2"::: ]]> @@ -514,7 +514,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Click/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Click/form1.vb" id="Snippet1"::: ]]> @@ -572,7 +572,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> @@ -700,7 +700,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> @@ -756,7 +756,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> @@ -802,7 +802,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet510"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet510"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet510"::: ]]> @@ -847,7 +847,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet511"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet511"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet511"::: ]]> @@ -893,7 +893,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet512"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet512"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet512"::: ]]> @@ -941,7 +941,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet513"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet513"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet513"::: ]]> @@ -989,7 +989,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet514"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet514"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet514"::: ]]> @@ -1048,7 +1048,7 @@ The following code example demonstrates how to use the method. To run this example, paste the example code into a Windows Form that contains a named `notifyIcon1`. Call `SetBalloonTip` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb" id="Snippet2"::: ]]> @@ -1104,7 +1104,7 @@ The following code example demonstrates how to use the method. To run this example, paste the example code into a Windows Form that contains a named `notifyIcon1`. Associate the `Form1_DoubleClick` method in this example with the form's event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb" id="Snippet1"::: ]]> @@ -1236,7 +1236,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> @@ -1299,7 +1299,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/NumericUpDown.xml b/xml/System.Windows.Forms/NumericUpDown.xml index c291c263ee9..cae71b31b16 100644 --- a/xml/System.Windows.Forms/NumericUpDown.xml +++ b/xml/System.Windows.Forms/NumericUpDown.xml @@ -81,7 +81,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ The following code example demonstrates how to use the property. To run this example, paste the following code into a form and call the `InitializeAcceleratedUpDown` method from the form's constructor or event-handling method. While the code is running, press and hold the up or down arrow to see the acceleration occur. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet6"::: ]]> @@ -295,7 +295,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -434,7 +434,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -482,7 +482,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -544,7 +544,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -606,7 +606,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -1139,7 +1139,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -1350,7 +1350,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -1412,7 +1412,7 @@ To run the example code, paste it into a project that contains an instance of type named `NumericUpDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet515"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet515"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet515"::: ]]> diff --git a/xml/System.Windows.Forms/NumericUpDownAcceleration.xml b/xml/System.Windows.Forms/NumericUpDownAcceleration.xml index be450763acc..73b937d5759 100644 --- a/xml/System.Windows.Forms/NumericUpDownAcceleration.xml +++ b/xml/System.Windows.Forms/NumericUpDownAcceleration.xml @@ -34,7 +34,7 @@ The following code example demonstrates how to use the class. To run this example, paste the following code into a form and call the `InitializeAcceleratedUpDown` method from the form's constructor or event handler. While the code is running, press and hold the up or down arrow to see the acceleration occur. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/NumericUpDownAccelerationCollection.xml b/xml/System.Windows.Forms/NumericUpDownAccelerationCollection.xml index ac08746cfa4..ffff1a1898c 100644 --- a/xml/System.Windows.Forms/NumericUpDownAccelerationCollection.xml +++ b/xml/System.Windows.Forms/NumericUpDownAccelerationCollection.xml @@ -57,7 +57,7 @@ The following code example demonstrates how to use the property. To run this example, paste the following code into a form and call the `InitializeAcceleratedUpDown` method from the form's constructor or event handler. While the code is running, press and hold the up or down arrow to see the acceleration occur. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet6"::: ]]> @@ -130,7 +130,7 @@ The following code example demonstrates how to use the property. To run this example, paste the following code into a form and call the `InitializeAcceleratedUpDown` method from the form's constructor or event handler. While the code is running, press and hold the up or down arrow to see the acceleration occur. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/OSFeature.xml b/xml/System.Windows.Forms/OSFeature.xml index 5a753edf3e5..4e3ece89be8 100644 --- a/xml/System.Windows.Forms/OSFeature.xml +++ b/xml/System.Windows.Forms/OSFeature.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> @@ -136,7 +136,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature.GetVersionPresent Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/OSFeature/Feature/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.GetVersionPresent Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/OSFeature/Feature/source.vb" id="Snippet1"::: ]]> @@ -190,7 +190,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature.GetVersionPresent Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/OSFeature/Feature/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.GetVersionPresent Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/OSFeature/Feature/source.vb" id="Snippet1"::: ]]> @@ -245,10 +245,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.OSFeature.IsPresent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/OSFeature/IsPresent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OSFeature.IsPresent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/OSFeature/IsPresent/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.OSFeature.IsPresent/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/OSFeature/IsPresent/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OSFeature.IsPresent/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/OSFeature/IsPresent/form1.vb" id="Snippet2"::: ]]> @@ -299,7 +299,7 @@ A layered window can be made transparent or translucent by the operating system. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature.LayeredWindows Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/OSFeature/LayeredWindows/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.LayeredWindows Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/OSFeature/LayeredWindows/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/OpenFileDialog.xml b/xml/System.Windows.Forms/OpenFileDialog.xml index b3af0742749..c975a5acc3c 100644 --- a/xml/System.Windows.Forms/OpenFileDialog.xml +++ b/xml/System.Windows.Forms/OpenFileDialog.xml @@ -50,7 +50,7 @@ On a right-to-left operating system, setting the containing form's @@ -181,7 +181,7 @@ On a right-to-left operating system, setting the containing form's controls on a Form. It demonstrates initializing an , setting the and properties, and allowing the user to select multiple files by setting the property to true. This code example assumes that your form already has an control named `openFileDialog1`, a named `SelectFileButton`, and a named `flowLayoutPanel1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/FileNames/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.vb" id="Snippet1"::: ]]> @@ -229,7 +229,7 @@ On a right-to-left operating system, setting the containing form's @@ -288,7 +288,7 @@ On a right-to-left operating system, setting the containing form's @@ -524,7 +524,7 @@ On a right-to-left operating system, setting the containing form's diff --git a/xml/System.Windows.Forms/Padding.xml b/xml/System.Windows.Forms/Padding.xml index 71107749ffc..e007567ac6f 100644 --- a/xml/System.Windows.Forms/Padding.xml +++ b/xml/System.Windows.Forms/Padding.xml @@ -81,7 +81,7 @@ For a full code listing, see [How to: Create a Border Around a Windows Forms Control Using Padding](/dotnet/desktop/winforms/controls/how-to-create-a-border-around-a-windows-forms-control-using-padding). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Padding/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Padding/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Padding/Overview/Form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/PageSetupDialog.xml b/xml/System.Windows.Forms/PageSetupDialog.xml index c507a330ab2..426e2488bf1 100644 --- a/xml/System.Windows.Forms/PageSetupDialog.xml +++ b/xml/System.Windows.Forms/PageSetupDialog.xml @@ -50,7 +50,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PageSetupDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PageSetupDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -505,7 +505,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PageSetupDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PageSetupDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -569,7 +569,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PageSetupDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PageSetupDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -732,7 +732,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PageSetupDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PageSetupDialog/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PaintEventArgs.xml b/xml/System.Windows.Forms/PaintEventArgs.xml index 86ab85b7bf4..9d8a1f38b90 100644 --- a/xml/System.Windows.Forms/PaintEventArgs.xml +++ b/xml/System.Windows.Forms/PaintEventArgs.xml @@ -56,11 +56,11 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Demontrates Form Paint Event/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PaintEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Demontrates Form Paint Event/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PaintEventArgs/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Paint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnPaint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb" id="Snippet1"::: ]]> @@ -109,7 +109,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Paint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnPaint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb" id="Snippet1"::: ]]> @@ -158,7 +158,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet42"::: ]]> @@ -330,11 +330,11 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Demontrates Form Paint Event/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PaintEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Demontrates Form Paint Event/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PaintEventArgs/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Paint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnPaint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PaintEventHandler.xml b/xml/System.Windows.Forms/PaintEventHandler.xml index 362338b7abd..d84f870d5c7 100644 --- a/xml/System.Windows.Forms/PaintEventHandler.xml +++ b/xml/System.Windows.Forms/PaintEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Paint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnPaint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Panel.xml b/xml/System.Windows.Forms/Panel.xml index ea2498369d0..2855ceb501d 100644 --- a/xml/System.Windows.Forms/Panel.xml +++ b/xml/System.Windows.Forms/Panel.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Panel Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Panel/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Panel Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Panel/Overview/source.vb" id="Snippet1"::: ]]> @@ -206,7 +206,7 @@ To run the example code, paste it into a project that contains an instance of type named `Panel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet384"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet384"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet384"::: ]]> @@ -308,7 +308,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Panel.BorderStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Panel/BorderStyle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Panel.BorderStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Panel/BorderStyle/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PictureBox.xml b/xml/System.Windows.Forms/PictureBox.xml index 4d3920201c2..f16c5980718 100644 --- a/xml/System.Windows.Forms/PictureBox.xml +++ b/xml/System.Windows.Forms/PictureBox.xml @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PictureBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PictureBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -136,7 +136,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet2"::: ]]> @@ -234,7 +234,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet2"::: ]]> @@ -277,9 +277,9 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form that contains a named `pictureBox1` and two controls named `startLoadButton` and `cancelLoadButton`. Make sure that the event for the buttons is associated with their event-handling method in this example. You must change the image file path to a path that is valid on your system. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet4"::: ]]> @@ -865,7 +865,7 @@ The following code example demonstrates how to create a bitmap at runtime and display it in a by setting the property. To run this example, paste it into a Windows Form and call `CreateBitmapAtRuntime` from the form's constructor. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/Image/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CreateBitmapAtRuntime/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/Image/Form1.vb" id="Snippet1"::: ]]> @@ -1450,7 +1450,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form that contains a named `pictureBox1` and a named `startLoadButton`. Make sure that the event for the button is associated with the `startLoadButton_Click` method in this example. You must change the image file path to a path that is valid on your system. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet3"::: ]]> @@ -1495,7 +1495,7 @@ The following code example demonstrates how to use the named `PictureBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet516"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet516"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet516"::: ]]> @@ -1540,9 +1540,9 @@ The following code example demonstrates how to use the event. To run this example, paste the following code into a Windows Form that contains a named `pictureBox1`, a named `startLoadButton`, and a named `progressBar1`. Make sure that the `startLoadButton_Click` method is associated with the event for the button and the `pictureBox1_LoadProgressChanged` method is associated with the event for `pictureBox1`. You must change the image file path to a path that is valid on your system. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet5"::: ]]> @@ -2139,7 +2139,7 @@ The following code example demonstrates how to use the property. To run this example, paste the following code into a Windows Form and call the `InitializePictureBoxAndButton` method from the form's constructor or Load-event handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/SizeMode/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PictureBox.SizeMode/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/SizeMode/Form1.vb" id="Snippet10"::: ]]> @@ -2186,7 +2186,7 @@ The following code example demonstrates how to use the named `PictureBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet518"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet518"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet518"::: ]]> @@ -2631,7 +2631,7 @@ The following code example demonstrates how to use the property. To run this example, paste the following code into a Windows Form that contains a named `pictureBox1` and a named `startLoadButton`. Make sure that the event for the button is associated with the `startLoadButton_Click` method in this example. You must change the image file path to one that is valid on your system. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/PictureBoxSizeMode.xml b/xml/System.Windows.Forms/PictureBoxSizeMode.xml index 2a2c5d85d24..b13a7074751 100644 --- a/xml/System.Windows.Forms/PictureBoxSizeMode.xml +++ b/xml/System.Windows.Forms/PictureBoxSizeMode.xml @@ -34,7 +34,7 @@ The following code example demonstrates the use of the property. To run this example, paste the following code into a Windows Form and call the `InitializePictureBoxAndButton` method from the form's constructor or Load-event handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/SizeMode/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PictureBox.SizeMode/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/SizeMode/Form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/PopupEventArgs.xml b/xml/System.Windows.Forms/PopupEventArgs.xml index cbe89d7eb38..0cb68acc072 100644 --- a/xml/System.Windows.Forms/PopupEventArgs.xml +++ b/xml/System.Windows.Forms/PopupEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet619"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet619"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet619"::: ]]> @@ -151,7 +151,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet619"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet619"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet619"::: ]]> @@ -205,7 +205,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet619"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet619"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet619"::: ]]> @@ -258,7 +258,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet619"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet619"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet619"::: ]]> @@ -314,7 +314,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet619"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet619"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet619"::: ]]> diff --git a/xml/System.Windows.Forms/PowerStatus.xml b/xml/System.Windows.Forms/PowerStatus.xml index 2063ecd73d6..3c59cab67d7 100644 --- a/xml/System.Windows.Forms/PowerStatus.xml +++ b/xml/System.Windows.Forms/PowerStatus.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PowerStatusBrowser/CPP/powerstatusbrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PowerStatus/Overview/powerstatusbrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PowerStatusBrowser/VB/powerstatusbrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PowerStatus/Overview/powerstatusbrowser.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PreviewKeyDownEventArgs.xml b/xml/System.Windows.Forms/PreviewKeyDownEventArgs.xml index af74e71a07a..aa0016d3795 100644 --- a/xml/System.Windows.Forms/PreviewKeyDownEventArgs.xml +++ b/xml/System.Windows.Forms/PreviewKeyDownEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -112,7 +112,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -153,7 +153,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -204,7 +204,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -244,7 +244,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -290,7 +290,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -330,7 +330,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -370,7 +370,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -411,7 +411,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> diff --git a/xml/System.Windows.Forms/PrintControllerWithStatusDialog.xml b/xml/System.Windows.Forms/PrintControllerWithStatusDialog.xml index f5f38c0fa45..559a8652d8c 100644 --- a/xml/System.Windows.Forms/PrintControllerWithStatusDialog.xml +++ b/xml/System.Windows.Forms/PrintControllerWithStatusDialog.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintControllerWithStatusDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintControllerWithStatusDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintControllerWithStatusDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintControllerWithStatusDialog/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PrintDialog.xml b/xml/System.Windows.Forms/PrintDialog.xml index b1c801aed8c..0c42e9eb6b9 100644 --- a/xml/System.Windows.Forms/PrintDialog.xml +++ b/xml/System.Windows.Forms/PrintDialog.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -305,7 +305,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -362,7 +362,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -584,7 +584,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintDialog/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PrintPreviewControl.xml b/xml/System.Windows.Forms/PrintPreviewControl.xml index 83096b400eb..77ccfd5310f 100644 --- a/xml/System.Windows.Forms/PrintPreviewControl.xml +++ b/xml/System.Windows.Forms/PrintPreviewControl.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -108,7 +108,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -297,7 +297,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -804,7 +804,7 @@ To run the example code, paste it into a project that contains an instance of type named `PrintPreviewControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet654"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet654"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet654"::: ]]> @@ -992,7 +992,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1074,7 +1074,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PrintPreviewDialog.xml b/xml/System.Windows.Forms/PrintPreviewDialog.xml index 74b24d88e13..f143361b0ec 100644 --- a/xml/System.Windows.Forms/PrintPreviewDialog.xml +++ b/xml/System.Windows.Forms/PrintPreviewDialog.xml @@ -80,7 +80,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet3"::: ]]> @@ -124,7 +124,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet3"::: ]]> @@ -4196,7 +4196,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/ProgressBar.xml b/xml/System.Windows.Forms/ProgressBar.xml index 867345f3ec3..cd7c929f917 100644 --- a/xml/System.Windows.Forms/ProgressBar.xml +++ b/xml/System.Windows.Forms/ProgressBar.xml @@ -79,7 +79,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBarOverview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1052,7 +1052,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBar.Increment/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Increment/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBar.Increment/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Increment/form1.vb" id="Snippet1"::: ]]> @@ -1355,7 +1355,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBarOverview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1421,7 +1421,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBarOverview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1891,7 +1891,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBarOverview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2095,7 +2095,7 @@ To run the example code, paste it into a project that contains an instance of type named `ProgressBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet519"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet519"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet519"::: ]]> @@ -2150,7 +2150,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBarOverview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2468,7 +2468,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBar.Increment/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Increment/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBar.Increment/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Increment/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ProgressBarRenderer.xml b/xml/System.Windows.Forms/ProgressBarRenderer.xml index 4347b2c3c61..3e0098bcb59 100644 --- a/xml/System.Windows.Forms/ProgressBarRenderer.xml +++ b/xml/System.Windows.Forms/ProgressBarRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBarRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -97,7 +97,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBarRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -152,7 +152,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBarRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -310,7 +310,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -370,7 +370,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/cpp/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBarRenderer/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb" id="Snippet6"::: ]]> @@ -424,7 +424,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/PropertyGrid.xml b/xml/System.Windows.Forms/PropertyGrid.xml index 9cdd876c8e3..cfa025ed3fc 100644 --- a/xml/System.Windows.Forms/PropertyGrid.xml +++ b/xml/System.Windows.Forms/PropertyGrid.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyGrid Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PropertyGrid/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyGrid Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PropertyGrid/Overview/source.vb" id="Snippet1"::: ]]> @@ -1618,7 +1618,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet522"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet522"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet522"::: ]]> @@ -1677,7 +1677,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet523"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet523"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet523"::: ]]> @@ -1736,7 +1736,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet524"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet524"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet524"::: ]]> @@ -3088,7 +3088,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet2"::: ]]> @@ -3141,7 +3141,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet532"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet532"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet532"::: ]]> @@ -3193,7 +3193,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet531"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet531"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet531"::: ]]> @@ -3299,7 +3299,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet530"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet530"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet530"::: ]]> @@ -3592,7 +3592,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet533"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet533"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet533"::: ]]> @@ -3812,7 +3812,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet534"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet534"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet534"::: ]]> @@ -4509,7 +4509,7 @@ This member is an explicit interface member implementation. It can be used only To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet521"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet521"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet521"::: ]]> @@ -4560,7 +4560,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/PropertyTabChangedEventArgs.xml b/xml/System.Windows.Forms/PropertyTabChangedEventArgs.xml index bbf701399b6..8303db2cfe1 100644 --- a/xml/System.Windows.Forms/PropertyTabChangedEventArgs.xml +++ b/xml/System.Windows.Forms/PropertyTabChangedEventArgs.xml @@ -51,7 +51,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet531"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet531"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet531"::: ]]> @@ -137,7 +137,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet531"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet531"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet531"::: ]]> @@ -185,7 +185,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet531"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet531"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet531"::: ]]> diff --git a/xml/System.Windows.Forms/PropertyValueChangedEventArgs.xml b/xml/System.Windows.Forms/PropertyValueChangedEventArgs.xml index 642292a92ec..dd05d7d9205 100644 --- a/xml/System.Windows.Forms/PropertyValueChangedEventArgs.xml +++ b/xml/System.Windows.Forms/PropertyValueChangedEventArgs.xml @@ -49,7 +49,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet530"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet530"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet530"::: ]]> @@ -135,7 +135,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet530"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet530"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet530"::: ]]> @@ -188,7 +188,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet530"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet530"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet530"::: ]]> diff --git a/xml/System.Windows.Forms/QueryAccessibilityHelpEventArgs.xml b/xml/System.Windows.Forms/QueryAccessibilityHelpEventArgs.xml index d9e79e8d2e3..4ffbf2f399c 100644 --- a/xml/System.Windows.Forms/QueryAccessibilityHelpEventArgs.xml +++ b/xml/System.Windows.Forms/QueryAccessibilityHelpEventArgs.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet3"::: ]]> @@ -185,7 +185,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet44"::: ]]> @@ -238,7 +238,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet44"::: ]]> @@ -292,7 +292,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/QueryAccessibilityHelpEventHandler.xml b/xml/System.Windows.Forms/QueryAccessibilityHelpEventHandler.xml index 19a2c6a5499..e1346483c2a 100644 --- a/xml/System.Windows.Forms/QueryAccessibilityHelpEventHandler.xml +++ b/xml/System.Windows.Forms/QueryAccessibilityHelpEventHandler.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/QueryContinueDragEventArgs.xml b/xml/System.Windows.Forms/QueryContinueDragEventArgs.xml index 61071866f01..9fc5608aca2 100644 --- a/xml/System.Windows.Forms/QueryContinueDragEventArgs.xml +++ b/xml/System.Windows.Forms/QueryContinueDragEventArgs.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet6"::: ]]> @@ -145,7 +145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet6"::: ]]> @@ -200,7 +200,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet43"::: ]]> @@ -266,7 +266,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet43"::: ]]> diff --git a/xml/System.Windows.Forms/QueryContinueDragEventHandler.xml b/xml/System.Windows.Forms/QueryContinueDragEventHandler.xml index 43af3b8a823..fb175870dac 100644 --- a/xml/System.Windows.Forms/QueryContinueDragEventHandler.xml +++ b/xml/System.Windows.Forms/QueryContinueDragEventHandler.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/QuestionEventArgs.xml b/xml/System.Windows.Forms/QuestionEventArgs.xml index a07310e6063..eb16bb44a6a 100644 --- a/xml/System.Windows.Forms/QuestionEventArgs.xml +++ b/xml/System.Windows.Forms/QuestionEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet281"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet281"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet281"::: ]]> @@ -160,7 +160,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet281"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet281"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet281"::: ]]> diff --git a/xml/System.Windows.Forms/RadioButton.xml b/xml/System.Windows.Forms/RadioButton.xml index 97b4bd59080..1bd73555dba 100644 --- a/xml/System.Windows.Forms/RadioButton.xml +++ b/xml/System.Windows.Forms/RadioButton.xml @@ -83,7 +83,7 @@ The following code example creates and initializes two controls in a . The example uses the event to track which is selected and reports the text of the selected when the user clicks a . To run this example, paste the code into a Windows Form. Call `InitializeRadioButtons` from the form's constructor or the event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet2"::: ]]> @@ -238,7 +238,7 @@ To run the example code, paste it into a project that contains an instance of type named `RadioButton1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet535"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet535"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet535"::: ]]> @@ -354,7 +354,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RadioButton.CheckAlign Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButton/CheckAlign/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.CheckAlign Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButton/CheckAlign/source.vb" id="Snippet1"::: ]]> @@ -414,7 +414,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RadioButton.Checked Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButton/Checked/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.Checked Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButton/Checked/source.vb" id="Snippet1"::: ]]> @@ -465,7 +465,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RadioButton.CheckAlign Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButton/CheckAlign/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.CheckAlign Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButton/CheckAlign/source.vb" id="Snippet1"::: ]]> @@ -717,7 +717,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RadioButton.OnCheckedChanged Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButton/OnCheckedChanged/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.OnCheckedChanged Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButton/OnCheckedChanged/source.vb" id="Snippet1"::: ]]> @@ -919,7 +919,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RadioButton.Checked Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButton/Checked/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.Checked Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButton/Checked/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/RadioButtonRenderer.xml b/xml/System.Windows.Forms/RadioButtonRenderer.xml index fc72f97cc11..a5147159c8f 100644 --- a/xml/System.Windows.Forms/RadioButtonRenderer.xml +++ b/xml/System.Windows.Forms/RadioButtonRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButtonRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButtonRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -222,7 +222,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButtonRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButtonRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -484,7 +484,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButtonRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButtonRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -572,7 +572,7 @@ The following code example uses the property to show the render style is changed depending on the application state. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButtonRenderer/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButtonRenderer/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/RetrieveVirtualItemEventArgs.xml b/xml/System.Windows.Forms/RetrieveVirtualItemEventArgs.xml index d5be0ae6b53..55ad63426ed 100644 --- a/xml/System.Windows.Forms/RetrieveVirtualItemEventArgs.xml +++ b/xml/System.Windows.Forms/RetrieveVirtualItemEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet479"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet479"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet479"::: ]]> @@ -127,7 +127,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet479"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet479"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet479"::: ]]> @@ -173,7 +173,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet479"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet479"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet479"::: ]]> diff --git a/xml/System.Windows.Forms/RichTextBox.xml b/xml/System.Windows.Forms/RichTextBox.xml index 9293390107c..9c5149da8f1 100644 --- a/xml/System.Windows.Forms/RichTextBox.xml +++ b/xml/System.Windows.Forms/RichTextBox.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.AllowDrop/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/IndexFromPoint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.AllowDrop/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/IndexFromPoint/form1.vb" id="Snippet1"::: ]]> @@ -290,7 +290,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.ZoomFactor/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.ZoomFactor/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.vb" id="Snippet1"::: ]]> @@ -544,7 +544,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.BulletIndent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/BulletIndent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.BulletIndent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/BulletIndent/form1.vb" id="Snippet1"::: ]]> @@ -596,7 +596,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichText_Paste/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/CanPaste/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichText_Paste/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanPaste/form1.vb" id="Snippet1"::: ]]> @@ -658,7 +658,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.RedoAction/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/CanRedo/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.RedoAction/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanRedo/form1.vb" id="Snippet1"::: ]]> @@ -711,7 +711,7 @@ To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet537"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet537"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet537"::: ]]> @@ -884,7 +884,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.LinkClicked Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/DetectUrls/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LinkClicked Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/DetectUrls/source.vb" id="Snippet1"::: ]]> @@ -1019,7 +1019,7 @@ To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet539"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet539"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet539"::: ]]> @@ -1266,7 +1266,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.FindChar1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindChar1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form1.vb" id="Snippet1"::: ]]> @@ -1324,7 +1324,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.Find Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source.vb" id="Snippet1"::: ]]> @@ -1385,7 +1385,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.FindChar2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/form11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindChar2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form11.vb" id="Snippet1"::: ]]> @@ -1447,7 +1447,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.Find1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source1.vb" id="Snippet1"::: ]]> @@ -1563,7 +1563,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.Find2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source2.vb" id="Snippet1"::: ]]> @@ -1623,7 +1623,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.FindStringStartEnd/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/form12.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindStringStartEnd/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form12.vb" id="Snippet1"::: ]]> @@ -1768,7 +1768,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.GetCharIndexFromPosition/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/GetCharIndexFromPosition/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.GetCharIndexFromPosition/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/GetCharIndexFromPosition/form1.vb" id="Snippet1"::: ]]> @@ -1835,7 +1835,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxGetLine/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/GetLineFromCharIndex/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxGetLine/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/GetLineFromCharIndex/form1.vb" id="Snippet1"::: ]]> @@ -1986,7 +1986,7 @@ The parameter was less the par To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet540"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet540"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet540"::: ]]> @@ -2038,7 +2038,7 @@ The parameter was less the par To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet542"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet542"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet542"::: ]]> @@ -2136,7 +2136,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.LinkClicked Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/DetectUrls/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LinkClicked Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/DetectUrls/source.vb" id="Snippet1"::: ]]> @@ -2204,7 +2204,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.LoadFile Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/LoadFile/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LoadFile Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/LoadFile/source.vb" id="Snippet1"::: ]]> @@ -2262,7 +2262,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/DefaultExt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb" id="Snippet1"::: ]]> @@ -2323,7 +2323,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.LoadFile1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/LoadFile/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LoadFile1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/LoadFile/source1.vb" id="Snippet1"::: ]]> @@ -2381,7 +2381,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.MaxLength/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/MaxLength/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.MaxLength/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/MaxLength/form1.vb" id="Snippet1"::: ]]> @@ -3013,7 +3013,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichText_Paste/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/CanPaste/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichText_Paste/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanPaste/form1.vb" id="Snippet1"::: ]]> @@ -3106,7 +3106,7 @@ The parameter was less the par To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet543"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet543"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet543"::: ]]> @@ -3201,7 +3201,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.RedoAction/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/CanRedo/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.RedoAction/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanRedo/form1.vb" id="Snippet1"::: ]]> @@ -3261,7 +3261,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.RedoAction/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/CanRedo/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.RedoAction/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanRedo/form1.vb" id="Snippet1"::: ]]> @@ -3372,7 +3372,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.ZoomFactor/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.ZoomFactor/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.vb" id="Snippet1"::: ]]> @@ -3511,7 +3511,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.SaveFile Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SaveFile/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source.vb" id="Snippet1"::: ]]> @@ -3567,7 +3567,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/DefaultExt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb" id="Snippet1"::: ]]> @@ -3624,7 +3624,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.SaveFile1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SaveFile/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source1.vb" id="Snippet1"::: ]]> @@ -3796,7 +3796,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionBullet/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectedText/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionBullet/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectedText/form1.vb" id="Snippet1"::: ]]> @@ -3864,7 +3864,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionAlignment/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionAlignment/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionAlignment/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionAlignment/form1.vb" id="Snippet1"::: ]]> @@ -3983,7 +3983,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionBullet/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectedText/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionBullet/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectedText/form1.vb" id="Snippet1"::: ]]> @@ -4038,7 +4038,7 @@ The parameter was less the par To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet544"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet544"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet544"::: ]]> @@ -4107,7 +4107,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionCharOffset/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionCharOffset/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionCharOffset/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionCharOffset/form1.vb" id="Snippet1"::: ]]> @@ -4171,7 +4171,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.SelectionColor Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionColor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SelectionColor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionColor/source.vb" id="Snippet1"::: ]]> @@ -4249,7 +4249,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.SelectionFont Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionFont/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SelectionFont Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionFont/source.vb" id="Snippet1"::: ]]> @@ -4318,7 +4318,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionHangingIndent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionHangingIndent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionHangingIndent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionHangingIndent/form1.vb" id="Snippet1"::: ]]> @@ -4386,7 +4386,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionIndent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionIndent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionIndent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionIndent/form1.vb" id="Snippet1"::: ]]> @@ -4447,7 +4447,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionLength/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionLength/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionLength/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionLength/form1.vb" id="Snippet1"::: ]]> @@ -4520,7 +4520,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionProtected/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionProtected/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionProtected/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionProtected/form1.vb" id="Snippet1"::: ]]> @@ -4588,7 +4588,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionRightIndent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionRightIndent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionRightIndent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionRightIndent/form1.vb" id="Snippet1"::: ]]> @@ -4927,7 +4927,7 @@ The parameter was less the par To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet545"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet545"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet545"::: ]]> @@ -5014,7 +5014,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.ZoomFactor/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.ZoomFactor/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/RichTextBoxFinds.xml b/xml/System.Windows.Forms/RichTextBoxFinds.xml index 952c42f6b93..7eb5e99b974 100644 --- a/xml/System.Windows.Forms/RichTextBoxFinds.xml +++ b/xml/System.Windows.Forms/RichTextBoxFinds.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.Find2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/RichTextBoxStreamType.xml b/xml/System.Windows.Forms/RichTextBoxStreamType.xml index ddba1376df8..724d7b353bd 100644 --- a/xml/System.Windows.Forms/RichTextBoxStreamType.xml +++ b/xml/System.Windows.Forms/RichTextBoxStreamType.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.SaveFile1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SaveFile/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/RowStyle.xml b/xml/System.Windows.Forms/RowStyle.xml index 86b627cf032..0e76869f51c 100644 --- a/xml/System.Windows.Forms/RowStyle.xml +++ b/xml/System.Windows.Forms/RowStyle.xml @@ -38,7 +38,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Windows.Forms/SaveFileDialog.xml b/xml/System.Windows.Forms/SaveFileDialog.xml index 5184a70e768..e99a17ed2c3 100644 --- a/xml/System.Windows.Forms/SaveFileDialog.xml +++ b/xml/System.Windows.Forms/SaveFileDialog.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic SaveFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SaveFileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic SaveFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SaveFileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -172,7 +172,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/DefaultExt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb" id="Snippet1"::: ]]> @@ -250,7 +250,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic SaveFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SaveFileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic SaveFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SaveFileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -300,7 +300,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/DefaultExt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Screen.xml b/xml/System.Windows.Forms/Screen.xml index a0f2488c2be..86fce58acb9 100644 --- a/xml/System.Windows.Forms/Screen.xml +++ b/xml/System.Windows.Forms/Screen.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Screen Object Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Screen/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Screen Object Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Screen/Overview/form1.vb" id="Snippet1"::: ]]> @@ -335,7 +335,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Screen.FromPoint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Screen/FromPoint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Screen.FromPoint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Screen/FromPoint/form1.vb" id="Snippet1"::: ]]> @@ -572,7 +572,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScreenExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Screen/GetWorkingArea/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScreenExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Screen/GetWorkingArea/form1.vb" id="Snippet1"::: ]]> @@ -726,7 +726,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScreenExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Screen/GetWorkingArea/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScreenExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Screen/GetWorkingArea/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollBar.xml b/xml/System.Windows.Forms/ScrollBar.xml index ec1079fc817..15f60a38486 100644 --- a/xml/System.Windows.Forms/ScrollBar.xml +++ b/xml/System.Windows.Forms/ScrollBar.xml @@ -65,7 +65,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic VScrollBar Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic VScrollBar Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -1026,7 +1026,7 @@ > For instructions about how to run this example in Visual Studio, see [How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio](https://msdn.microsoft.com/library/cc447f7e-4c3b-4397-9d05-aeba3ca49416(v=vs.100)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/LargeChange/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb" id="Snippet2"::: ]]> @@ -1099,7 +1099,7 @@ > For instructions about how to run this example in Visual Studio, see [How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio](https://msdn.microsoft.com/library/cc447f7e-4c3b-4397-9d05-aeba3ca49416(v=vs.100)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/LargeChange/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb" id="Snippet2"::: ]]> @@ -1164,7 +1164,7 @@ > For instructions about how to run this example in Visual Studio, see [How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio](https://msdn.microsoft.com/library/cc447f7e-4c3b-4397-9d05-aeba3ca49416(v=vs.100)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/LargeChange/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb" id="Snippet2"::: ]]> @@ -1547,7 +1547,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> @@ -1605,7 +1605,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> @@ -1795,13 +1795,13 @@ > For instructions about how to run this example in Visual Studio, see [How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio](https://msdn.microsoft.com/library/cc447f7e-4c3b-4397-9d05-aeba3ca49416(v=vs.100)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/LargeChange/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb" id="Snippet3"::: The following code example uses the derived class . Event handlers for the and events are created. This code assumes that a and have been created on a form and that the button has an event handler for the event. When the button is clicked, the property of the scroll bar is adjusted in code. The label will display the current value of the property and the event that changed it. You will notice that when the scroll value is changed by the button's event, only the event is raised. In contrast, when the scroll bar is scrolled manually, the event is raised immediately after the event. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> @@ -1862,7 +1862,7 @@ > For instructions about how to run this example in Visual Studio, see [How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio](https://msdn.microsoft.com/library/cc447f7e-4c3b-4397-9d05-aeba3ca49416(v=vs.100)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/LargeChange/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb" id="Snippet2"::: ]]> @@ -2131,7 +2131,7 @@ > For instructions about how to run this example in Visual Studio, see [How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio](https://msdn.microsoft.com/library/cc447f7e-4c3b-4397-9d05-aeba3ca49416(v=vs.100)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/LargeChange/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb" id="Snippet3"::: ]]> @@ -2184,7 +2184,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollBarRenderer.xml b/xml/System.Windows.Forms/ScrollBarRenderer.xml index 018f95f8a89..dd4259c40dc 100644 --- a/xml/System.Windows.Forms/ScrollBarRenderer.xml +++ b/xml/System.Windows.Forms/ScrollBarRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -102,7 +102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -162,7 +162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -222,7 +222,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -282,7 +282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -393,7 +393,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -755,7 +755,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollBars.xml b/xml/System.Windows.Forms/ScrollBars.xml index 4a51ba011f8..0e36eeb45d3 100644 --- a/xml/System.Windows.Forms/ScrollBars.xml +++ b/xml/System.Windows.Forms/ScrollBars.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarsExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBars/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBars/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollEventArgs.xml b/xml/System.Windows.Forms/ScrollEventArgs.xml index 32d75b19762..b1e129ab143 100644 --- a/xml/System.Windows.Forms/ScrollEventArgs.xml +++ b/xml/System.Windows.Forms/ScrollEventArgs.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> @@ -241,7 +241,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> @@ -288,7 +288,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ScrollableControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet74"::: ]]> @@ -340,7 +340,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ScrollableControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet74"::: ]]> @@ -387,7 +387,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ScrollableControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet74"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollEventHandler.xml b/xml/System.Windows.Forms/ScrollEventHandler.xml index 529514ee154..4ee0f8af300 100644 --- a/xml/System.Windows.Forms/ScrollEventHandler.xml +++ b/xml/System.Windows.Forms/ScrollEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollableControl+DockPaddingEdges.xml b/xml/System.Windows.Forms/ScrollableControl+DockPaddingEdges.xml index 8224423fa2a..d0136e42778 100644 --- a/xml/System.Windows.Forms/ScrollableControl+DockPaddingEdges.xml +++ b/xml/System.Windows.Forms/ScrollableControl+DockPaddingEdges.xml @@ -50,7 +50,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb" id="Snippet1"::: ]]> @@ -106,7 +106,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb" id="Snippet1"::: ]]> @@ -165,7 +165,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb" id="Snippet1"::: ]]> @@ -291,7 +291,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb" id="Snippet1"::: ]]> @@ -350,7 +350,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb" id="Snippet1"::: ]]> @@ -450,7 +450,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollableControl.xml b/xml/System.Windows.Forms/ScrollableControl.xml index feb0b141db9..e70443dbd99 100644 --- a/xml/System.Windows.Forms/ScrollableControl.xml +++ b/xml/System.Windows.Forms/ScrollableControl.xml @@ -258,7 +258,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.AutoScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl/AutoScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.AutoScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScroll/source.vb" id="Snippet1"::: ]]> @@ -329,7 +329,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.AutoScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl/AutoScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.AutoScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScroll/source.vb" id="Snippet1"::: ]]> @@ -453,7 +453,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.ScrollableControl/CPP/scrollablecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl/AutoScrollPosition/scrollablecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ScrollableControl/VB/scrollablecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScrollPosition/scrollablecontrol.vb" id="Snippet1"::: ]]> @@ -600,7 +600,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPadding Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl/DockPadding/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPadding Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl/DockPadding/source.vb" id="Snippet1"::: ]]> @@ -1198,7 +1198,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ScrollableControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet74"::: ]]> @@ -1254,7 +1254,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Member5/CPP/controlmembers5.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ClientRectangle/controlmembers5.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Member5/VB/controlmembers5.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ClientRectangle/controlmembers5.vb" id="Snippet2"::: ]]> @@ -1554,7 +1554,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.SetAutoScrollMargin Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl/SetAutoScrollMargin/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.SetAutoScrollMargin Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl/SetAutoScrollMargin/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/SearchDirectionHint.xml b/xml/System.Windows.Forms/SearchDirectionHint.xml index 4cc69f77773..697999b2501 100644 --- a/xml/System.Windows.Forms/SearchDirectionHint.xml +++ b/xml/System.Windows.Forms/SearchDirectionHint.xml @@ -34,7 +34,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewFindItems/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SearchDirectionHint/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewFindItems/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SearchDirectionHint/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/SearchForVirtualItemEventArgs.xml b/xml/System.Windows.Forms/SearchForVirtualItemEventArgs.xml index 8925bc2b2db..d830007b93d 100644 --- a/xml/System.Windows.Forms/SearchForVirtualItemEventArgs.xml +++ b/xml/System.Windows.Forms/SearchForVirtualItemEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -134,7 +134,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -186,7 +186,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -241,7 +241,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -293,7 +293,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -345,7 +345,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -396,7 +396,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -447,7 +447,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -499,7 +499,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> diff --git a/xml/System.Windows.Forms/SelectedGridItemChangedEventArgs.xml b/xml/System.Windows.Forms/SelectedGridItemChangedEventArgs.xml index bf335119ca3..12cb4a26cb5 100644 --- a/xml/System.Windows.Forms/SelectedGridItemChangedEventArgs.xml +++ b/xml/System.Windows.Forms/SelectedGridItemChangedEventArgs.xml @@ -43,7 +43,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet533"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet533"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet533"::: ]]> @@ -129,7 +129,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet533"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet533"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet533"::: ]]> @@ -177,7 +177,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet533"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet533"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet533"::: ]]> diff --git a/xml/System.Windows.Forms/SelectionMode.xml b/xml/System.Windows.Forms/SelectionMode.xml index 69f7ea36663..ac0ceeecdb3 100644 --- a/xml/System.Windows.Forms/SelectionMode.xml +++ b/xml/System.Windows.Forms/SelectionMode.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.GetSelected/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/GetSelected/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.GetSelected/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/GetSelected/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/SelectionRange.xml b/xml/System.Windows.Forms/SelectionRange.xml index 1bcbbb22574..cafd0e16136 100644 --- a/xml/System.Windows.Forms/SelectionRange.xml +++ b/xml/System.Windows.Forms/SelectionRange.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic SelectionRange.SelectionRange1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SelectionRange/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic SelectionRange.SelectionRange1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SelectionRange/Overview/source.vb" id="Snippet1"::: ]]> @@ -98,7 +98,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/CPP/selectionrangeobj.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb" id="Snippet1"::: ]]> @@ -143,7 +143,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/CPP/selectionrangeobj.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic SelectionRange.SelectionRange1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SelectionRange/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic SelectionRange.SelectionRange1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SelectionRange/Overview/source.vb" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/CPP/selectionrangeobj.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb" id="Snippet1"::: ]]> @@ -289,7 +289,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/CPP/selectionrangeobj.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/SendKeys.xml b/xml/System.Windows.Forms/SendKeys.xml index c8089d449ba..5bf3bafdbf7 100644 --- a/xml/System.Windows.Forms/SendKeys.xml +++ b/xml/System.Windows.Forms/SendKeys.xml @@ -124,7 +124,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SendKeys/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SendKeys/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SendKeys/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SendKeys/Overview/form1.vb" id="Snippet1"::: ]]> @@ -297,7 +297,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SendKeys/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SendKeys/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SendKeys/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SendKeys/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/SizeType.xml b/xml/System.Windows.Forms/SizeType.xml index 3518f7e48b2..e5a10acf520 100644 --- a/xml/System.Windows.Forms/SizeType.xml +++ b/xml/System.Windows.Forms/SizeType.xml @@ -35,7 +35,7 @@ The following example shows how to set the property on a object. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Windows.Forms/SplitContainer.xml b/xml/System.Windows.Forms/SplitContainer.xml index cdf14b95a6c..4ea93960066 100644 --- a/xml/System.Windows.Forms/SplitContainer.xml +++ b/xml/System.Windows.Forms/SplitContainer.xml @@ -89,7 +89,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet1"::: ]]> @@ -597,7 +597,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet546"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet546"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet546"::: ]]> @@ -1097,7 +1097,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet2"::: ]]> @@ -1183,7 +1183,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet3"::: ]]> @@ -1866,7 +1866,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SplitContainerEvents/CPP/splitcontainerevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SplitContainerEvents/VB/splitcontainerevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.vb" id="Snippet1"::: ]]> @@ -1919,7 +1919,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SplitContainerEvents/CPP/splitcontainerevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SplitContainerEvents/VB/splitcontainerevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.vb" id="Snippet1"::: ]]> @@ -1981,7 +1981,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet3"::: ]]> @@ -2251,7 +2251,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet2"::: ]]> @@ -2422,7 +2422,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet2"::: ]]> @@ -2698,7 +2698,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet2"::: ]]> @@ -2759,7 +2759,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet2"::: ]]> @@ -2804,7 +2804,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SplitContainerEvents/CPP/splitcontainerevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SplitContainerEvents/VB/splitcontainerevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.vb" id="Snippet1"::: ]]> @@ -2854,7 +2854,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SplitContainerEvents/CPP/splitcontainerevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SplitContainerEvents/VB/splitcontainerevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.vb" id="Snippet1"::: ]]> @@ -2967,7 +2967,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet2"::: ]]> @@ -3021,7 +3021,7 @@ When the user presses the TAB key, the input focus is set to the next control in the tab order of the form. Set to `true` to give input focus to a splitter so that it can be moved with the arrow keys as well as with the mouse. Starting in the .NET Framework 4, setting to `false` excludes the splitter and any of the controls that are contained in the from the collection of controls in the tab order. To enable controls to get focus by using the TAB key, create a control that inherits from . Create a new property named `TabStop` and override the method. The following example demonstrates how to accomplish this. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/TabStop/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/module1.vb" id="Snippet1"::: You can manipulate the tab order by setting the control's property value. diff --git a/xml/System.Windows.Forms/Splitter.xml b/xml/System.Windows.Forms/Splitter.xml index 474a8c03ae5..fd8ab13f4d6 100644 --- a/xml/System.Windows.Forms/Splitter.xml +++ b/xml/System.Windows.Forms/Splitter.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Splitter Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Splitter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Splitter Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Splitter/Overview/form1.vb" id="Snippet1"::: ]]> @@ -129,7 +129,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Splitter Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Splitter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Splitter Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Splitter/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1245,7 +1245,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Splitter Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Splitter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Splitter Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Splitter/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1308,7 +1308,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Splitter Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Splitter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Splitter Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Splitter/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1729,7 +1729,7 @@ To run the example code, paste it into a project that contains an instance of type named `Splitter1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet550"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet550"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet550"::: ]]> @@ -1781,7 +1781,7 @@ To run the example code, paste it into a project that contains an instance of type named `Splitter1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet549"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet549"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet549"::: ]]> diff --git a/xml/System.Windows.Forms/SplitterCancelEventArgs.xml b/xml/System.Windows.Forms/SplitterCancelEventArgs.xml index ad96d6f5cad..f54d8065d04 100644 --- a/xml/System.Windows.Forms/SplitterCancelEventArgs.xml +++ b/xml/System.Windows.Forms/SplitterCancelEventArgs.xml @@ -31,7 +31,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet547"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet547"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet547"::: ]]> @@ -111,7 +111,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet547"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet547"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet547"::: ]]> @@ -157,7 +157,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet547"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet547"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet547"::: ]]> @@ -207,7 +207,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet547"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet547"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet547"::: ]]> @@ -257,7 +257,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet547"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet547"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet547"::: ]]> diff --git a/xml/System.Windows.Forms/SplitterEventArgs.xml b/xml/System.Windows.Forms/SplitterEventArgs.xml index 119605e0328..dbf71cbf123 100644 --- a/xml/System.Windows.Forms/SplitterEventArgs.xml +++ b/xml/System.Windows.Forms/SplitterEventArgs.xml @@ -43,7 +43,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet548"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet548"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet548"::: ]]> @@ -144,7 +144,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet548"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet548"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet548"::: ]]> @@ -203,7 +203,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet548"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet548"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet548"::: ]]> @@ -258,7 +258,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet548"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet548"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet548"::: ]]> @@ -313,7 +313,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet548"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet548"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet548"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBar+StatusBarPanelCollection.xml b/xml/System.Windows.Forms/StatusBar+StatusBarPanelCollection.xml index 539080ea20d..a10e17a936f 100644 --- a/xml/System.Windows.Forms/StatusBar+StatusBarPanelCollection.xml +++ b/xml/System.Windows.Forms/StatusBar+StatusBarPanelCollection.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/StatusBar and StatusBarPanel Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar+StatusBarPanelCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/StatusBar and StatusBarPanel Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar+StatusBarPanelCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -186,7 +186,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/StatusBar and StatusBarPanel Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar+StatusBarPanelCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/StatusBar and StatusBarPanel Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar+StatusBarPanelCollection/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBar.xml b/xml/System.Windows.Forms/StatusBar.xml index 7b803c5ab66..da339b31c22 100644 --- a/xml/System.Windows.Forms/StatusBar.xml +++ b/xml/System.Windows.Forms/StatusBar.xml @@ -84,7 +84,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -135,7 +135,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -626,7 +626,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -840,7 +840,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -1142,7 +1142,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -1199,7 +1199,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -1252,7 +1252,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -1306,7 +1306,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -1388,7 +1388,7 @@ This class is not available in .NET 5 and later versions. Use the diff --git a/xml/System.Windows.Forms/StatusBarDrawItemEventArgs.xml b/xml/System.Windows.Forms/StatusBarDrawItemEventArgs.xml index cf0ec05c1d9..08513d9f135 100644 --- a/xml/System.Windows.Forms/StatusBarDrawItemEventArgs.xml +++ b/xml/System.Windows.Forms/StatusBarDrawItemEventArgs.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar/Text/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar/Text/form1.vb" id="Snippet2"::: ]]> @@ -193,7 +193,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar/Text/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar/Text/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBarDrawItemEventHandler.xml b/xml/System.Windows.Forms/StatusBarDrawItemEventHandler.xml index 353d68e4da1..54ab9615530 100644 --- a/xml/System.Windows.Forms/StatusBarDrawItemEventHandler.xml +++ b/xml/System.Windows.Forms/StatusBarDrawItemEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar/Text/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar/Text/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBarPanel.xml b/xml/System.Windows.Forms/StatusBarPanel.xml index c49fbcd5501..7eb0ab895bc 100644 --- a/xml/System.Windows.Forms/StatusBarPanel.xml +++ b/xml/System.Windows.Forms/StatusBarPanel.xml @@ -72,7 +72,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -123,7 +123,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -179,7 +179,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -238,7 +238,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -329,7 +329,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -639,7 +639,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -740,7 +740,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -793,7 +793,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -874,7 +874,7 @@ This class is not available in .NET 5 and later versions. Use the diff --git a/xml/System.Windows.Forms/StatusBarPanelAutoSize.xml b/xml/System.Windows.Forms/StatusBarPanelAutoSize.xml index 5570f9e5a50..e5595cd76a3 100644 --- a/xml/System.Windows.Forms/StatusBarPanelAutoSize.xml +++ b/xml/System.Windows.Forms/StatusBarPanelAutoSize.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.StatusBarPanelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarPanelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar/.ctor/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBarPanelBorderStyle.xml b/xml/System.Windows.Forms/StatusBarPanelBorderStyle.xml index 06bcb32c416..c21257b8532 100644 --- a/xml/System.Windows.Forms/StatusBarPanelBorderStyle.xml +++ b/xml/System.Windows.Forms/StatusBarPanelBorderStyle.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.StatusBarPanelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarPanelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar/.ctor/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBarPanelClickEventArgs.xml b/xml/System.Windows.Forms/StatusBarPanelClickEventArgs.xml index 21faefb5462..ad5a2f8f218 100644 --- a/xml/System.Windows.Forms/StatusBarPanelClickEventArgs.xml +++ b/xml/System.Windows.Forms/StatusBarPanelClickEventArgs.xml @@ -46,7 +46,7 @@ To run the example code, paste it into a project that contains an instance of type named `StatusBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet552"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet552"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet552"::: ]]> @@ -131,7 +131,7 @@ To run the example code, paste it into a project that contains an instance of type named `StatusBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet552"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet552"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet552"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBarPanelStyle.xml b/xml/System.Windows.Forms/StatusBarPanelStyle.xml index 5cf1939bc79..02629b28594 100644 --- a/xml/System.Windows.Forms/StatusBarPanelStyle.xml +++ b/xml/System.Windows.Forms/StatusBarPanelStyle.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar/Text/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar/Text/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/StatusStrip.xml b/xml/System.Windows.Forms/StatusStrip.xml index 7f0cb1ed674..0c3485c3503 100644 --- a/xml/System.Windows.Forms/StatusStrip.xml +++ b/xml/System.Windows.Forms/StatusStrip.xml @@ -65,7 +65,7 @@ The following items are specifically designed to work seamlessly with both with various common properties set. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet0"::: ]]> @@ -434,7 +434,7 @@ The following items are specifically designed to work seamlessly with both with various common properties set, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -481,7 +481,7 @@ The following items are specifically designed to work seamlessly with both with various common properties set, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -529,7 +529,7 @@ Use the `LayoutStyle` property to get or set how items are arranged on the with various common properties set, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -800,7 +800,7 @@ Use the `LayoutStyle` property to get or set how items are arranged on the with various common properties set, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -884,7 +884,7 @@ Use the `LayoutStyle` property to get or set how items are arranged on the with various common properties set, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -929,7 +929,7 @@ Use the `LayoutStyle` property to get or set how items are arranged on the with various common properties set, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/SystemInformation.xml b/xml/System.Windows.Forms/SystemInformation.xml index 7731cf972d8..d37aeaa804f 100644 --- a/xml/System.Windows.Forms/SystemInformation.xml +++ b/xml/System.Windows.Forms/SystemInformation.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -87,7 +87,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -182,7 +182,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -231,7 +231,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -282,7 +282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -326,7 +326,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -378,7 +378,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -430,7 +430,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -477,7 +477,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -517,7 +517,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -560,7 +560,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -609,7 +609,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -656,7 +656,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -704,7 +704,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -746,7 +746,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -794,7 +794,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -844,7 +844,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -892,7 +892,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -940,7 +940,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -989,7 +989,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1036,7 +1036,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1090,7 +1090,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1141,7 +1141,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1347,7 +1347,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1390,7 +1390,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1445,7 +1445,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1495,7 +1495,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1545,7 +1545,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1599,7 +1599,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1653,7 +1653,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1695,7 +1695,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1743,7 +1743,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1790,7 +1790,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1836,7 +1836,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1882,7 +1882,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1923,7 +1923,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1998,7 +1998,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2042,7 +2042,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2083,7 +2083,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2127,7 +2127,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2171,7 +2171,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2217,7 +2217,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2270,7 +2270,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2317,7 +2317,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2364,7 +2364,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2410,7 +2410,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2454,7 +2454,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2498,7 +2498,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2544,7 +2544,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2592,7 +2592,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2640,7 +2640,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2687,7 +2687,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2734,7 +2734,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2779,7 +2779,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2826,7 +2826,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2874,7 +2874,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2921,7 +2921,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2968,7 +2968,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3014,7 +3014,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3061,7 +3061,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3107,7 +3107,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3156,7 +3156,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3207,7 +3207,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3256,7 +3256,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3303,7 +3303,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3354,7 +3354,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3404,7 +3404,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3448,7 +3448,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3535,7 +3535,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3588,7 +3588,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3634,7 +3634,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3683,7 +3683,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3731,7 +3731,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3781,7 +3781,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3832,7 +3832,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3880,7 +3880,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3927,7 +3927,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3967,7 +3967,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4007,7 +4007,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4049,7 +4049,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4096,7 +4096,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4141,7 +4141,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4181,7 +4181,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4226,7 +4226,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4275,7 +4275,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4315,7 +4315,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4360,7 +4360,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4406,7 +4406,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4451,7 +4451,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4497,7 +4497,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4539,7 +4539,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4597,7 +4597,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4649,7 +4649,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4699,7 +4699,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4740,7 +4740,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4785,7 +4785,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4840,7 +4840,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4895,7 +4895,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4981,7 +4981,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -5031,7 +5031,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -5089,7 +5089,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -5138,7 +5138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TabAlignment.xml b/xml/System.Windows.Forms/TabAlignment.xml index ffedf5d3498..42a16cfdb3a 100644 --- a/xml/System.Windows.Forms/TabAlignment.xml +++ b/xml/System.Windows.Forms/TabAlignment.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TabControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabAlignment/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabAlignment/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TabAppearance.xml b/xml/System.Windows.Forms/TabAppearance.xml index 8084b63340b..bfc1e1aaeef 100644 --- a/xml/System.Windows.Forms/TabAppearance.xml +++ b/xml/System.Windows.Forms/TabAppearance.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TabControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabAlignment/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabAlignment/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TabControl+TabPageCollection.xml b/xml/System.Windows.Forms/TabControl+TabPageCollection.xml index 672da13e76c..e2c3cbbbdaa 100644 --- a/xml/System.Windows.Forms/TabControl+TabPageCollection.xml +++ b/xml/System.Windows.Forms/TabControl+TabPageCollection.xml @@ -166,7 +166,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.Add/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Add/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -369,7 +369,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.AddRange/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/AddRange/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.AddRange/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/AddRange/form1.vb" id="Snippet1"::: ]]> @@ -417,7 +417,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.Clear/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/Clear/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Clear/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Clear/form1.vb" id="Snippet1"::: ]]> @@ -463,7 +463,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.Contains/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/Contains/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Contains/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Contains/form1.vb" id="Snippet1"::: ]]> @@ -560,7 +560,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.Count/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/Count/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Count/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Count/form1.vb" id="Snippet1"::: ]]> @@ -651,7 +651,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.IndexOf/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/IndexOf/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.IndexOf/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/IndexOf/form1.vb" id="Snippet1"::: ]]> @@ -980,7 +980,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.IsReadOnly/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/IsReadOnly/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.IsReadOnly/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/IsReadOnly/form1.vb" id="Snippet1"::: ]]> @@ -1122,7 +1122,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.Remove/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/Remove/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Remove/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Remove/form1.vb" id="Snippet1"::: ]]> @@ -1172,7 +1172,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.RemoveAt/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/RemoveAt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.RemoveAt/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/RemoveAt/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TabControl.xml b/xml/System.Windows.Forms/TabControl.xml index 95b2817a780..d04e3ad9017 100644 --- a/xml/System.Windows.Forms/TabControl.xml +++ b/xml/System.Windows.Forms/TabControl.xml @@ -96,7 +96,7 @@ The tab is considered part of the tab page for determining when the @@ -132,7 +132,7 @@ The tab is considered part of the tab page for determining when the @@ -206,7 +206,7 @@ The tab is considered part of the tab page for determining when the @@ -268,7 +268,7 @@ The tab is considered part of the tab page for determining when the @@ -740,7 +740,7 @@ The tab is considered part of the tab page for determining when the named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet560"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet560"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet560"::: ]]> @@ -811,7 +811,7 @@ The tab is considered part of the tab page for determining when the named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet559"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet559"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet559"::: ]]> @@ -1028,7 +1028,7 @@ The tab is considered part of the tab page for determining when the @@ -1151,7 +1151,7 @@ The tab is considered part of the tab page for determining when the @@ -1212,7 +1212,7 @@ The tab is considered part of the tab page for determining when the @@ -1464,7 +1464,7 @@ The tab is considered part of the tab page for determining when the @@ -1556,7 +1556,7 @@ The tab is considered part of the tab page for determining when the @@ -1624,7 +1624,7 @@ The tab is considered part of the tab page for determining when the @@ -1717,7 +1717,7 @@ The tab is considered part of the tab page for determining when the @@ -1773,7 +1773,7 @@ The tab is considered part of the tab page for determining when the @@ -2528,7 +2528,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Padding/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/Padding/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Padding/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/Padding/form1.vb" id="Snippet1"::: ]]> @@ -2751,7 +2751,7 @@ This method also raises the event of t To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet555"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet555"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet555"::: ]]> @@ -2811,7 +2811,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RowCount/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/RowCount/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RowCount/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/RowCount/form1.vb" id="Snippet1"::: ]]> @@ -2914,7 +2914,7 @@ This method also raises the event of t To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet558"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet558"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet558"::: ]]> @@ -2972,7 +2972,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SelectedIndex/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/SelectedIndex/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SelectedIndex/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/SelectedIndex/form1.vb" id="Snippet1"::: ]]> @@ -3035,7 +3035,7 @@ This method also raises the event of t To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet556"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet556"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet556"::: ]]> @@ -3107,7 +3107,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SelectedTab/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/SelectedTab/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SelectedTab/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/SelectedTab/form1.vb" id="Snippet1"::: ]]> @@ -3179,7 +3179,7 @@ This method also raises the event of t To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet557"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet557"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet557"::: ]]> @@ -3412,7 +3412,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTipText/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/ShowToolTips/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTipText/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/ShowToolTips/form1.vb" id="Snippet1"::: ]]> @@ -3471,7 +3471,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SizeMode/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/SizeMode/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SizeMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/SizeMode/form1.vb" id="Snippet1"::: ]]> @@ -3531,7 +3531,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabCount/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/TabCount/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabCount/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/TabCount/form1.vb" id="Snippet1"::: ]]> @@ -3606,7 +3606,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.Add/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Add/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Add/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TabControlCancelEventArgs.xml b/xml/System.Windows.Forms/TabControlCancelEventArgs.xml index 34e242b0e2b..9edab0acafb 100644 --- a/xml/System.Windows.Forms/TabControlCancelEventArgs.xml +++ b/xml/System.Windows.Forms/TabControlCancelEventArgs.xml @@ -48,7 +48,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet557"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet557"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet557"::: ]]> @@ -158,7 +158,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet557"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet557"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet557"::: ]]> @@ -208,7 +208,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet557"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet557"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet557"::: ]]> @@ -255,7 +255,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet557"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet557"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet557"::: ]]> diff --git a/xml/System.Windows.Forms/TabControlEventArgs.xml b/xml/System.Windows.Forms/TabControlEventArgs.xml index 5a419483b8f..430958a1ff7 100644 --- a/xml/System.Windows.Forms/TabControlEventArgs.xml +++ b/xml/System.Windows.Forms/TabControlEventArgs.xml @@ -46,7 +46,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet558"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet558"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet558"::: ]]> @@ -151,7 +151,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet558"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet558"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet558"::: ]]> @@ -201,7 +201,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet558"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet558"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet558"::: ]]> @@ -248,7 +248,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet558"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet558"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet558"::: ]]> diff --git a/xml/System.Windows.Forms/TabPage+TabPageControlCollection.xml b/xml/System.Windows.Forms/TabPage+TabPageControlCollection.xml index 2fc7e95c162..2ea470c6a0b 100644 --- a/xml/System.Windows.Forms/TabPage+TabPageControlCollection.xml +++ b/xml/System.Windows.Forms/TabPage+TabPageControlCollection.xml @@ -110,7 +110,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageControlCollection.Add/CPP/add.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabPage+TabPageControlCollection/Add/add.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageControlCollection.Add/VB/add.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabPage+TabPageControlCollection/Add/add.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TabPage.xml b/xml/System.Windows.Forms/TabPage.xml index 1924b987018..473390c6add 100644 --- a/xml/System.Windows.Forms/TabPage.xml +++ b/xml/System.Windows.Forms/TabPage.xml @@ -90,7 +90,7 @@ The property lets :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPage/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabPage/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPage/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabPage/Overview/form1.vb" id="Snippet1"::: ]]> @@ -138,7 +138,7 @@ The property lets :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPage_constructor/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabPage/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPage_constructor/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabPage/.ctor/form1.vb" id="Snippet1"::: ]]> @@ -184,7 +184,7 @@ The property lets :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPage_withText/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabPage/.ctor/form11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPage_withText/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabPage/.ctor/form11.vb" id="Snippet1"::: ]]> @@ -680,7 +680,7 @@ The property lets :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetTabPageOfComponent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabPage/GetTabPageOfComponent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetTabPageOfComponent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabPage/GetTabPageOfComponent/form1.vb" id="Snippet1"::: ]]> @@ -761,7 +761,7 @@ If you set the property, the @@ -1465,7 +1465,7 @@ The tab is considered part of the tab page for determining when the @@ -1566,7 +1566,7 @@ The tab is considered part of the tab page for determining when the @@ -1609,7 +1609,7 @@ The tab is considered part of the tab page for determining when the diff --git a/xml/System.Windows.Forms/TabRenderer.xml b/xml/System.Windows.Forms/TabRenderer.xml index 5123ec49404..0b926073a47 100644 --- a/xml/System.Windows.Forms/TabRenderer.xml +++ b/xml/System.Windows.Forms/TabRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -364,7 +364,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -652,7 +652,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -706,7 +706,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabRenderer/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutCellPaintEventArgs.xml b/xml/System.Windows.Forms/TableLayoutCellPaintEventArgs.xml index f0a1ab57b73..54c8c4beef2 100644 --- a/xml/System.Windows.Forms/TableLayoutCellPaintEventArgs.xml +++ b/xml/System.Windows.Forms/TableLayoutCellPaintEventArgs.xml @@ -40,7 +40,7 @@ The following example shows how to a to customize the appearance of a control. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> @@ -128,7 +128,7 @@ The following example shows how to a to customize the appearance of a control. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> @@ -173,7 +173,7 @@ The following example shows how to a to customize the appearance of a control. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> @@ -218,7 +218,7 @@ The following example shows how to a to customize the appearance of a control. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutCellPaintEventHandler.xml b/xml/System.Windows.Forms/TableLayoutCellPaintEventHandler.xml index 60be43d5655..341495fefbf 100644 --- a/xml/System.Windows.Forms/TableLayoutCellPaintEventHandler.xml +++ b/xml/System.Windows.Forms/TableLayoutCellPaintEventHandler.xml @@ -50,7 +50,7 @@ The following example shows how to a delegate to customize the appearance of a control. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutColumnStyleCollection.xml b/xml/System.Windows.Forms/TableLayoutColumnStyleCollection.xml index f67a0158ece..03a5f537c1f 100644 --- a/xml/System.Windows.Forms/TableLayoutColumnStyleCollection.xml +++ b/xml/System.Windows.Forms/TableLayoutColumnStyleCollection.xml @@ -40,7 +40,7 @@ The following example shows how to set for a . This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutPanel.xml b/xml/System.Windows.Forms/TableLayoutPanel.xml index 7a683c873c7..03552a470ed 100644 --- a/xml/System.Windows.Forms/TableLayoutPanel.xml +++ b/xml/System.Windows.Forms/TableLayoutPanel.xml @@ -134,7 +134,7 @@ The following code example demonstrates how to override the method to create a custom appearance for a cell. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> @@ -266,7 +266,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example sets the value of the property depending on the selected . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet6"::: ]]> @@ -321,7 +321,7 @@ Setting this value causes the panel to redraw itself and its contents. To run the example code, paste it into a project that contains an instance of type named `TableLayoutPanel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet561"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet561"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet561"::: ]]> @@ -449,7 +449,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example sets the properties of each column when a is clicked. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet8"::: ]]> @@ -509,7 +509,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example enumerates all the child controls in the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -671,7 +671,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example enumerates all the child controls in the and finds the column index for each control using the method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet3"::: ]]> @@ -737,7 +737,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example uses the and methods to set the width of a control in a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet11"::: ]]> @@ -830,7 +830,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example enumerates all the cell positions in the by looping through the columns and rows given by and , and then calling the method to retrieve the control at each cell. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet5"::: ]]> @@ -944,7 +944,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example enumerates all the child controls in the and finds the row index for each using the method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet4"::: ]]> @@ -1049,7 +1049,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example uses the and methods to set the width of a control in a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet11"::: ]]> @@ -1105,7 +1105,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example sets the value of the property depending on the selected . At run time, when the user clicks on the button labeled **Test GrowStyle**, a control is added to the control. If the control is full, it expands by adding a row or column, or it raises an exception, depending on the value of . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet7"::: ]]> @@ -1234,7 +1234,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example demonstrates how to override the method to create a custom appearance for a cell. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> @@ -1437,7 +1437,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example sets the properties of each row when a is clicked. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet9"::: ]]> @@ -1604,7 +1604,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example uses the method to swap two controls contained within a control. The example assumes a control with at least two rows. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet12"::: ]]> @@ -1657,7 +1657,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example uses the and methods to set the width of a control in a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet11"::: ]]> @@ -1715,7 +1715,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example uses the method to swap two controls contained within a control. The example assumes a control with at least two rows. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet13"::: ]]> @@ -1768,7 +1768,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example uses the and methods to set the width of a control in a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutPanelCellBorderStyle.xml b/xml/System.Windows.Forms/TableLayoutPanelCellBorderStyle.xml index b4a0fc2fa06..11e258eb510 100644 --- a/xml/System.Windows.Forms/TableLayoutPanelCellBorderStyle.xml +++ b/xml/System.Windows.Forms/TableLayoutPanelCellBorderStyle.xml @@ -33,7 +33,7 @@ The following example shows how to use the enumeration to set the for a control. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutPanelCellPosition.xml b/xml/System.Windows.Forms/TableLayoutPanelCellPosition.xml index b86eea3a342..662e4420298 100644 --- a/xml/System.Windows.Forms/TableLayoutPanelCellPosition.xml +++ b/xml/System.Windows.Forms/TableLayoutPanelCellPosition.xml @@ -43,7 +43,7 @@ The following example shows how to use to set the position of a child control in a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> @@ -84,7 +84,7 @@ The following example shows how to use to set the position of a child control in a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutPanelGrowStyle.xml b/xml/System.Windows.Forms/TableLayoutPanelGrowStyle.xml index 026a6048a74..c3f5163cedf 100644 --- a/xml/System.Windows.Forms/TableLayoutPanelGrowStyle.xml +++ b/xml/System.Windows.Forms/TableLayoutPanelGrowStyle.xml @@ -33,7 +33,7 @@ The following example shows how to use `TableLayoutPanelGrowStyle` to set the property. This example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutRowStyleCollection.xml b/xml/System.Windows.Forms/TableLayoutRowStyleCollection.xml index c964f1b06b3..d3a5efa5707 100644 --- a/xml/System.Windows.Forms/TableLayoutRowStyleCollection.xml +++ b/xml/System.Windows.Forms/TableLayoutRowStyleCollection.xml @@ -40,7 +40,7 @@ The following example shows how to set for a . This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutSettings.xml b/xml/System.Windows.Forms/TableLayoutSettings.xml index 1ba913c1056..3892d593583 100644 --- a/xml/System.Windows.Forms/TableLayoutSettings.xml +++ b/xml/System.Windows.Forms/TableLayoutSettings.xml @@ -60,7 +60,7 @@ The following example shows how to initialize a object for a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> @@ -115,7 +115,7 @@ The following example shows how to initialize a object for a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> @@ -214,7 +214,7 @@ The following example shows how to use a object to get a cell position in a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> @@ -509,7 +509,7 @@ The following example shows how to initialize a object for a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> @@ -609,7 +609,7 @@ The following example shows how to use a object to set a cell position in a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TextBox.xml b/xml/System.Windows.Forms/TextBox.xml index ff19edcc214..219da199b14 100644 --- a/xml/System.Windows.Forms/TextBox.xml +++ b/xml/System.Windows.Forms/TextBox.xml @@ -73,7 +73,7 @@ The following code example creates a multiline control with vertical scroll bars. This example uses the , , and properties to make the multiline text box control useful for creating text documents. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -115,7 +115,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.TextBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.TextBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/.ctor/source.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.AcceptsReturn Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/AcceptsReturn/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.AcceptsReturn Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/AcceptsReturn/source.vb" id="Snippet1"::: ]]> @@ -261,7 +261,7 @@ - Uses the property to set how the auto-complete candidates are displayed. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.textbox.autocompletecustomsource/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.vb" id="Snippet10"::: ]]> @@ -349,7 +349,7 @@ - Uses the property to set how the auto-complete candidates are displayed. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.textbox.autocompletecustomsource/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.vb" id="Snippet10"::: ]]> @@ -433,7 +433,7 @@ - Uses the property to set how the auto-complete candidates are displayed. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.textbox.autocompletecustomsource/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.vb" id="Snippet10"::: ]]> @@ -491,7 +491,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CharacterCasing/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CharacterCasing/Overview/source.vb" id="Snippet1"::: ]]> @@ -703,7 +703,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.AcceptsReturn Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/AcceptsReturn/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.AcceptsReturn Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/AcceptsReturn/source.vb" id="Snippet1"::: ]]> @@ -1108,7 +1108,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CharacterCasing/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CharacterCasing/Overview/source.vb" id="Snippet1"::: ]]> @@ -1299,7 +1299,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.ScrollBars Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/ScrollBars/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.ScrollBars Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/ScrollBars/source.vb" id="Snippet1"::: ]]> @@ -1421,7 +1421,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CharacterCasing/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CharacterCasing/Overview/source.vb" id="Snippet1"::: ]]> @@ -1475,7 +1475,7 @@ To run the example code, paste it into a project that contains an instance of type named `TextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet249"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet249"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet249"::: ]]> diff --git a/xml/System.Windows.Forms/TextBoxBase.xml b/xml/System.Windows.Forms/TextBoxBase.xml index 1b84bdce509..453892384c0 100644 --- a/xml/System.Windows.Forms/TextBoxBase.xml +++ b/xml/System.Windows.Forms/TextBoxBase.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -129,7 +129,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -176,7 +176,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet241"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet241"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet241"::: ]]> @@ -226,7 +226,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TextBoxBase.AppendText/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/AppendText/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TextBoxBase.AppendText/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AppendText/form1.vb" id="Snippet1"::: ]]> @@ -303,7 +303,7 @@ This example assumes that you have a form with two text boxes, two buttons, and click events for each of the buttons. The example demonstrates the property by setting it to `true` for one text box and `false` for the other. When you click one button the text boxes are filled with a smaller text, and when you click the other button the text boxes are filled with larger text. The text box that has set to `true` expands in height to accommodate the larger text. The width does not change. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/AutoSize/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.vb" id="Snippet1"::: ]]> @@ -641,7 +641,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.BorderStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/BorderStyle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.BorderStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/BorderStyle/source.vb" id="Snippet1"::: ]]> @@ -688,7 +688,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet242"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet242"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet242"::: ]]> @@ -778,7 +778,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.CanUndo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/CanUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.CanUndo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/CanUndo/source.vb" id="Snippet1"::: ]]> @@ -828,7 +828,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.Clear Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Clear Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Clear/source.vb" id="Snippet1"::: ]]> @@ -878,7 +878,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: ]]> @@ -946,7 +946,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Click/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Click/form1.vb" id="Snippet2"::: ]]> @@ -1018,7 +1018,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: ]]> @@ -1162,7 +1162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: ]]> @@ -1669,7 +1669,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Click/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Click/form1.vb" id="Snippet3"::: ]]> @@ -1715,7 +1715,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet245"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet245"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet245"::: ]]> @@ -1868,7 +1868,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.Lines Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Lines/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Lines Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Lines/source.vb" id="Snippet1"::: ]]> @@ -1931,7 +1931,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.MaxLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/MaxLength/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.MaxLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/MaxLength/source.vb" id="Snippet1"::: ]]> @@ -1994,7 +1994,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.Modified Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Modified/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Modified Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Modified/source.vb" id="Snippet1"::: ]]> @@ -2042,7 +2042,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet246"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet246"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet246"::: ]]> @@ -2100,7 +2100,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet244"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet244"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet244"::: ]]> @@ -2189,7 +2189,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -2238,7 +2238,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet247"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet247"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet247"::: ]]> @@ -2936,7 +2936,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: ]]> @@ -3160,7 +3160,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet248"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet248"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet248"::: ]]> @@ -3209,7 +3209,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Click/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Click/form1.vb" id="Snippet1"::: ]]> @@ -3265,7 +3265,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.Select Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Select/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Select Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Select/source.vb" id="Snippet1"::: ]]> @@ -3315,7 +3315,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectAll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/SelectAll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectAll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectAll/source.vb" id="Snippet1"::: ]]> @@ -3382,7 +3382,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectedText Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/SelectedText/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectedText Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectedText/source.vb" id="Snippet1"::: ]]> @@ -3446,7 +3446,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: ]]> @@ -3516,14 +3516,14 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: **Example 2** The following example sets the property of a that is by giving it the first. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.vb" id="Snippet1"::: ]]> @@ -3711,7 +3711,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -3764,7 +3764,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TextBoxBase.AppendText/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/AppendText/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TextBoxBase.AppendText/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AppendText/form1.vb" id="Snippet1"::: ]]> @@ -3843,7 +3843,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: ]]> @@ -3940,7 +3940,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TextBoxRenderer.xml b/xml/System.Windows.Forms/TextBoxRenderer.xml index 35221b67959..88dd8824260 100644 --- a/xml/System.Windows.Forms/TextBoxRenderer.xml +++ b/xml/System.Windows.Forms/TextBoxRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -383,7 +383,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -437,7 +437,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxRenderer/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TextFormatFlags.xml b/xml/System.Windows.Forms/TextFormatFlags.xml index 4bfe84c16f2..2b0ca713a1e 100644 --- a/xml/System.Windows.Forms/TextFormatFlags.xml +++ b/xml/System.Windows.Forms/TextFormatFlags.xml @@ -39,7 +39,7 @@ The following example demonstrates how to use the `TextFormatFlags` enumeration. To run this example, paste the following code into a Windows Form. Call `RenderText6` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Windows.Forms/TextRenderer.xml b/xml/System.Windows.Forms/TextRenderer.xml index 2ae636e505a..a4eca925e60 100644 --- a/xml/System.Windows.Forms/TextRenderer.xml +++ b/xml/System.Windows.Forms/TextRenderer.xml @@ -49,7 +49,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText1` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -234,7 +234,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText1` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -303,7 +303,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText2` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -594,7 +594,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText3` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -669,7 +669,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText5` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -739,7 +739,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText4` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -811,7 +811,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText6` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -1006,7 +1006,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText7` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -1080,7 +1080,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText8` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -1180,7 +1180,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `MeasureText1` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -1289,7 +1289,7 @@ The following code example demonstrates how to use one of the methods. To run this example, paste the code into a Windows Form and call `DrawALineOfText` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1382,7 +1382,7 @@ The following code example demonstrates how to use one of the methods. To run this example, paste the code into a Windows Form and call `DrawALineOfText` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1495,7 +1495,7 @@ The following code example demonstrates how to use one of the methods. To run this example, paste the code into a Windows Form and call `DrawALineOfText` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1601,7 +1601,7 @@ The following code example demonstrates how to use one of the methods. To run this example, paste the code into a Windows Form and call `DrawALineOfText` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1722,7 +1722,7 @@ The following example demonstrates how to use the and methods to draw a single line of text in different font styles. To run this example paste the following code in a Windows Form and call `DrawALineOfText` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Windows.Forms/Timer.xml b/xml/System.Windows.Forms/Timer.xml index 48f885f756b..62a4daf5c04 100644 --- a/xml/System.Windows.Forms/Timer.xml +++ b/xml/System.Windows.Forms/Timer.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Timer Example 2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Timer Example 2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -297,7 +297,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Timer Example 2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -392,7 +392,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Timer Example 2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -449,7 +449,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Timer Example 2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -555,7 +555,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Timer Example 2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBar+ToolBarButtonCollection.xml b/xml/System.Windows.Forms/ToolBar+ToolBarButtonCollection.xml index 16b60ccd13d..c518cab39ba 100644 --- a/xml/System.Windows.Forms/ToolBar+ToolBarButtonCollection.xml +++ b/xml/System.Windows.Forms/ToolBar+ToolBarButtonCollection.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.Buttons Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.Buttons Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -144,7 +144,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -192,7 +192,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Add Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -241,7 +241,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -290,7 +290,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Clear/source.vb" id="Snippet1"::: ]]> @@ -339,7 +339,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -425,7 +425,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Clear/source.vb" id="Snippet1"::: ]]> @@ -465,7 +465,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -510,7 +510,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.IndexOf Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/IndexOf/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.IndexOf Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/IndexOf/source.vb" id="Snippet1"::: ]]> @@ -596,7 +596,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -637,7 +637,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -690,7 +690,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.this Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Item/source.vb" id="Snippet1"::: ]]> @@ -779,7 +779,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -828,7 +828,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.RemoveAt Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/RemoveAt/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.RemoveAt Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/RemoveAt/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBar.xml b/xml/System.Windows.Forms/ToolBar.xml index e6182470bb2..5440aebab9b 100644 --- a/xml/System.Windows.Forms/ToolBar.xml +++ b/xml/System.Windows.Forms/ToolBar.xml @@ -82,7 +82,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -119,7 +119,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -175,7 +175,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -243,7 +243,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -294,7 +294,7 @@ This class is not available in .NET Core 3.1 and later versions. Use named `ToolBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet564"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet564"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet564"::: ]]> @@ -568,7 +568,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -609,7 +609,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -650,7 +650,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -710,7 +710,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -761,7 +761,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -953,7 +953,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1067,7 +1067,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1193,7 +1193,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1738,7 +1738,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1866,7 +1866,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -2016,7 +2016,7 @@ This class is not available in .NET Core 3.1 and later versions. Use diff --git a/xml/System.Windows.Forms/ToolBarAppearance.xml b/xml/System.Windows.Forms/ToolBarAppearance.xml index 2a4c4071cbb..9d072f07216 100644 --- a/xml/System.Windows.Forms/ToolBarAppearance.xml +++ b/xml/System.Windows.Forms/ToolBarAppearance.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBarButton.xml b/xml/System.Windows.Forms/ToolBarButton.xml index 31cb5fe6f95..4bb528ab5c0 100644 --- a/xml/System.Windows.Forms/ToolBarButton.xml +++ b/xml/System.Windows.Forms/ToolBarButton.xml @@ -78,7 +78,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -127,7 +127,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -168,7 +168,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -269,7 +269,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -390,7 +390,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb" id="Snippet1"::: ]]> @@ -574,7 +574,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/PartialPush/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/PartialPush/form1.vb" id="Snippet1"::: ]]> @@ -622,7 +622,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/PartialPush/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/PartialPush/form1.vb" id="Snippet1"::: ]]> @@ -710,7 +710,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb" id="Snippet1"::: ]]> @@ -778,7 +778,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/PartialPush/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/PartialPush/form1.vb" id="Snippet1"::: ]]> @@ -829,7 +829,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb" id="Snippet1"::: ]]> @@ -884,7 +884,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBarButtonClickEventArgs.xml b/xml/System.Windows.Forms/ToolBarButtonClickEventArgs.xml index 38ab1cf30ea..3df4b4cc588 100644 --- a/xml/System.Windows.Forms/ToolBarButtonClickEventArgs.xml +++ b/xml/System.Windows.Forms/ToolBarButtonClickEventArgs.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBarButtonClickEventHandler.xml b/xml/System.Windows.Forms/ToolBarButtonClickEventHandler.xml index 4e5e3c1b3c4..23c047b5b3a 100644 --- a/xml/System.Windows.Forms/ToolBarButtonClickEventHandler.xml +++ b/xml/System.Windows.Forms/ToolBarButtonClickEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBarButtonStyle.xml b/xml/System.Windows.Forms/ToolBarButtonStyle.xml index b1c1436d78e..7f2f16a4a29 100644 --- a/xml/System.Windows.Forms/ToolBarButtonStyle.xml +++ b/xml/System.Windows.Forms/ToolBarButtonStyle.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBarTextAlign.xml b/xml/System.Windows.Forms/ToolBarTextAlign.xml index 568f868199a..72d017511c3 100644 --- a/xml/System.Windows.Forms/ToolBarTextAlign.xml +++ b/xml/System.Windows.Forms/ToolBarTextAlign.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStrip.xml b/xml/System.Windows.Forms/ToolStrip.xml index accc213546a..e166361ef71 100644 --- a/xml/System.Windows.Forms/ToolStrip.xml +++ b/xml/System.Windows.Forms/ToolStrip.xml @@ -99,7 +99,7 @@ The following code example demonstrates adding a and a to a Windows Forms, adding items to the , and adding the to the of the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.toolstripcontainer2/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -262,7 +262,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -324,7 +324,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -383,7 +383,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -427,7 +427,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -715,7 +715,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -772,7 +772,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet85"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet85"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet85"::: ]]> @@ -859,7 +859,7 @@ The following code example demonstrates the use of and with a and a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/BeginDrag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.BeginEndDrag/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/BeginDrag/form1.vb" id="Snippet1"::: ]]> @@ -961,7 +961,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -1054,7 +1054,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet87"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet87"::: ]]> @@ -1384,7 +1384,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -1437,7 +1437,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet88"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet88"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet88"::: ]]> @@ -1512,7 +1512,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -1855,7 +1855,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -1903,7 +1903,7 @@ The following code example demonstrates the use of and with a and a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/BeginDrag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.BeginEndDrag/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/BeginDrag/form1.vb" id="Snippet1"::: ]]> @@ -2018,7 +2018,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet90"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet90"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet90"::: ]]> @@ -2317,7 +2317,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -2631,7 +2631,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -2831,7 +2831,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet91"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet91"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet91"::: ]]> @@ -2880,7 +2880,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet92"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet92"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet92"::: ]]> @@ -2929,7 +2929,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet93"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet93"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet93"::: ]]> @@ -2990,7 +2990,7 @@ The following code example adds a collection of items to a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/Items/hvtsctoolstrip.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MainToolStripExample/vb/hvtsctoolstrip.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/Items/hvtsctoolstrip.vb" id="Snippet3"::: ]]> @@ -3044,7 +3044,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet94"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet94"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet94"::: ]]> @@ -3186,7 +3186,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -3236,7 +3236,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet95"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet95"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet95"::: ]]> @@ -4606,7 +4606,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet96"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet96"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet96"::: ]]> @@ -4832,7 +4832,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet97"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet97"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet97"::: ]]> @@ -4877,7 +4877,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -5329,7 +5329,7 @@ The following code example turns off the automatic text for a and sets custom text. This example is part of a larger example available in the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/ShowItemToolTips/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripToolTip/vb/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/ShowItemToolTips/Form1.vb" id="Snippet2"::: ]]> @@ -5382,7 +5382,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -5434,7 +5434,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -5481,7 +5481,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -5603,7 +5603,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripArrowRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripArrowRenderEventArgs.xml index dee9938a84f..1ad359b8ead 100644 --- a/xml/System.Windows.Forms/ToolStripArrowRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripArrowRenderEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> @@ -123,7 +123,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> @@ -173,7 +173,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> @@ -223,7 +223,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> @@ -269,7 +269,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> @@ -320,7 +320,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripButton.xml b/xml/System.Windows.Forms/ToolStripButton.xml index ea16df920c0..4f92b2db19c 100644 --- a/xml/System.Windows.Forms/ToolStripButton.xml +++ b/xml/System.Windows.Forms/ToolStripButton.xml @@ -48,7 +48,7 @@ The following code example shows two controls with both image and text on a . Clicking the **New** displays a message box. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -327,7 +327,7 @@ The following code example turns off the automatic text for a and sets custom . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/ShowItemToolTips/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripToolTip/vb/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/ShowItemToolTips/Form1.vb" id="Snippet1"::: ]]> @@ -399,7 +399,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet50"::: ]]> @@ -443,7 +443,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet50"::: ]]> @@ -497,7 +497,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet50"::: ]]> @@ -588,7 +588,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripButton1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet568"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet568"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet568"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripComboBox.xml b/xml/System.Windows.Forms/ToolStripComboBox.xml index 67f8c5a7908..e94c7a2f9a0 100644 --- a/xml/System.Windows.Forms/ToolStripComboBox.xml +++ b/xml/System.Windows.Forms/ToolStripComboBox.xml @@ -56,7 +56,7 @@ The following code example demonstrates a with various property settings, including automatic completion. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet0"::: ]]> @@ -232,7 +232,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -291,7 +291,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -350,7 +350,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -746,7 +746,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet578"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet578"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet578"::: ]]> @@ -797,7 +797,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet579"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet579"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet579"::: ]]> @@ -854,7 +854,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -911,7 +911,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -962,7 +962,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet580"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet580"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet580"::: ]]> @@ -1005,7 +1005,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1326,7 +1326,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1541,7 +1541,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2108,7 +2108,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet581"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet581"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet581"::: ]]> @@ -2363,7 +2363,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2414,7 +2414,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet582"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet582"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet582"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripContainer.xml b/xml/System.Windows.Forms/ToolStripContainer.xml index 3eff9dc6e68..9506e0ad3f1 100644 --- a/xml/System.Windows.Forms/ToolStripContainer.xml +++ b/xml/System.Windows.Forms/ToolStripContainer.xml @@ -58,7 +58,7 @@ The following code example demonstrates adding a and a to a Windows Forms, adding items to the , and adding the to the of the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.toolstripcontainer2/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripContentPanel.xml b/xml/System.Windows.Forms/ToolStripContentPanel.xml index 79db69591a3..db8c9d00f83 100644 --- a/xml/System.Windows.Forms/ToolStripContentPanel.xml +++ b/xml/System.Windows.Forms/ToolStripContentPanel.xml @@ -72,7 +72,7 @@ The following code example demonstrates adding a to a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripContentPanel/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripContainer/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripContentPanel/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -746,7 +746,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripContentPanel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet604"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet604"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet604"::: ]]> @@ -1281,7 +1281,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripContentPanel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet605"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet605"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet605"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripContentPanelRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripContentPanelRenderEventArgs.xml index f0afe655d42..3001ada31fb 100644 --- a/xml/System.Windows.Forms/ToolStripContentPanelRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripContentPanelRenderEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet586"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet586"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet586"::: ]]> @@ -121,7 +121,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet586"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet586"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet586"::: ]]> @@ -172,7 +172,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet586"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet586"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet586"::: ]]> @@ -218,7 +218,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet586"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet586"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet586"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripControlHost.xml b/xml/System.Windows.Forms/ToolStripControlHost.xml index 6bf503f15f3..c5b271b7644 100644 --- a/xml/System.Windows.Forms/ToolStripControlHost.xml +++ b/xml/System.Windows.Forms/ToolStripControlHost.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet13"::: ]]> @@ -99,7 +99,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet1"::: ]]> @@ -370,7 +370,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet1"::: ]]> @@ -775,7 +775,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet569"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet569"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet569"::: ]]> @@ -888,7 +888,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1007,7 +1007,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet570"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet570"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet570"::: ]]> @@ -1277,7 +1277,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet573"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet573"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet573"::: ]]> @@ -1329,7 +1329,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet574"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet574"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet574"::: ]]> @@ -1381,7 +1381,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet575"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet575"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet575"::: ]]> @@ -1433,7 +1433,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet571"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet571"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet571"::: ]]> @@ -1493,7 +1493,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet572"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet572"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet572"::: ]]> @@ -2030,7 +2030,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet14"::: ]]> @@ -2085,7 +2085,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet15"::: ]]> @@ -2612,7 +2612,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2802,7 +2802,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet577"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet577"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet577"::: ]]> @@ -2854,7 +2854,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet576"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet576"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet576"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDown.xml b/xml/System.Windows.Forms/ToolStripDropDown.xml index d21ece2eae1..3500f645871 100644 --- a/xml/System.Windows.Forms/ToolStripDropDown.xml +++ b/xml/System.Windows.Forms/ToolStripDropDown.xml @@ -59,12 +59,12 @@ Use the to display drop-down lists :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet5"::: The following code example uses to show a as a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownTreeView/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/Overview/form1.vb" id="Snippet1"::: ]]> @@ -287,7 +287,7 @@ Use the to display drop-down lists The following code example demonstrates how to toggle the value of the property in response to a check box selection. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet9"::: ]]> @@ -375,7 +375,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet171"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet171"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet171"::: ]]> @@ -424,7 +424,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet172"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet172"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet172"::: ]]> @@ -473,7 +473,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet173"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet173"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet173"::: ]]> @@ -569,7 +569,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet174"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet174"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet174"::: ]]> @@ -650,7 +650,7 @@ Use the to display drop-down lists The following code example demonstrates how to specify a close reason when explicitly closing a control with the method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet8"::: ]]> @@ -694,7 +694,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet177"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet177"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet177"::: ]]> @@ -735,7 +735,7 @@ Use the to display drop-down lists The following code example demonstrates how to selectively close a control by handling the event :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet6"::: ]]> @@ -1102,7 +1102,7 @@ Use the to display drop-down lists The following code example demonstrates how to assign the property specified by a radio button setting. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet11"::: ]]> @@ -1383,7 +1383,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet179"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet179"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet179"::: ]]> @@ -1477,7 +1477,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet180"::: ]]> @@ -1812,7 +1812,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet181"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet181"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet181"::: ]]> @@ -1862,7 +1862,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet182"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet182"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet182"::: ]]> @@ -1954,7 +1954,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet183"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet183"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet183"::: ]]> @@ -2007,7 +2007,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet184"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet184"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet184"::: ]]> @@ -2060,7 +2060,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet185"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet185"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet185"::: ]]> @@ -2113,7 +2113,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet186"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet186"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet186"::: ]]> @@ -2720,7 +2720,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet188"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet188"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet188"::: ]]> @@ -2761,7 +2761,7 @@ Use the to display drop-down lists The following example demonstrates how to handle the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet40"::: ]]> @@ -2863,7 +2863,7 @@ Use the to display drop-down lists The following code example demonstrates how to use this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet42"::: ]]> @@ -2999,7 +2999,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.vb" id="Snippet1"::: ]]> @@ -3093,7 +3093,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet189"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet189"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet189"::: ]]> @@ -3384,7 +3384,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { The following code example demonstrates how to display the control at its default position. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet3"::: ]]> @@ -3425,7 +3425,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { The following code example demonstrates how to display the control at a fixed point. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet5"::: ]]> @@ -3468,7 +3468,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { The following code example demonstrates how to display the control at a fixed point in the specified direction. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet4"::: ]]> @@ -3580,7 +3580,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { The following code example demonstrates how to display the control relative to the parent control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet2"::: ]]> @@ -3716,7 +3716,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet190"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet190"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet190"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDownButton.xml b/xml/System.Windows.Forms/ToolStripDropDownButton.xml index 3838aeececd..00f8a8047b2 100644 --- a/xml/System.Windows.Forms/ToolStripDropDownButton.xml +++ b/xml/System.Windows.Forms/ToolStripDropDownButton.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet5"::: ]]> @@ -93,7 +93,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet5"::: ]]> @@ -668,7 +668,7 @@ For more information, see the [migration guide](/dotnet/framework/migration-guid :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDownClosedEventArgs.xml b/xml/System.Windows.Forms/ToolStripDropDownClosedEventArgs.xml index be338821e26..b03e6e518cf 100644 --- a/xml/System.Windows.Forms/ToolStripDropDownClosedEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripDropDownClosedEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet177"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet177"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet177"::: ]]> @@ -124,7 +124,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet177"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet177"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet177"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDownClosingEventArgs.xml b/xml/System.Windows.Forms/ToolStripDropDownClosingEventArgs.xml index 919186f5d31..ba07bcb05fc 100644 --- a/xml/System.Windows.Forms/ToolStripDropDownClosingEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripDropDownClosingEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet178"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet178"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet178"::: ]]> @@ -126,7 +126,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet178"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet178"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet178"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDownItem.xml b/xml/System.Windows.Forms/ToolStripDropDownItem.xml index b27881f210b..c4337ed6bec 100644 --- a/xml/System.Windows.Forms/ToolStripDropDownItem.xml +++ b/xml/System.Windows.Forms/ToolStripDropDownItem.xml @@ -52,7 +52,7 @@ The following code example demonstrates how to show and hide controls. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -111,7 +111,7 @@ The following code example demonstrates how to create and initialize controls. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -402,7 +402,7 @@ The following code example demonstrates how to assign a control to a control's property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -451,7 +451,7 @@ The following code example demonstrates how to handle the event for multiple controls. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -535,7 +535,7 @@ The following code example demonstrates how to handle the event for multiple controls. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -588,7 +588,7 @@ The following code example demonstrates how to use the property to create a menu with sub-menus. For the complete code example, see [How to: Display Option Buttons in a MenuStrip](/dotnet/desktop/winforms/controls/how-to-display-option-buttons-in-a-menustrip-windows-forms). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/DropDownItems/ToolStripRadioButtonMenuItem.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolStripRadioButtonMenuItem/vb/ToolStripRadioButtonMenuItem.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/DropDownItems/ToolStripRadioButtonMenuItem.vb" id="Snippet200"::: ]]> @@ -667,7 +667,7 @@ The following code example demonstrates how to handle the event for multiple controls. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -718,7 +718,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripDropDownItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet492"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet492"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet492"::: ]]> @@ -797,7 +797,7 @@ The following code example demonstrates how to query the property to conditionally show a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -840,7 +840,7 @@ The following code example demonstrates how to hide a control when a button is pressed. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -1340,7 +1340,7 @@ The following code example demonstrates how to show a control when a button is pressed. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDownItemAccessibleObject.xml b/xml/System.Windows.Forms/ToolStripDropDownItemAccessibleObject.xml index 06b177272bf..7a3f5f137bd 100644 --- a/xml/System.Windows.Forms/ToolStripDropDownItemAccessibleObject.xml +++ b/xml/System.Windows.Forms/ToolStripDropDownItemAccessibleObject.xml @@ -148,7 +148,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> @@ -191,7 +191,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDownMenu.xml b/xml/System.Windows.Forms/ToolStripDropDownMenu.xml index 092f098f247..0928023dae2 100644 --- a/xml/System.Windows.Forms/ToolStripDropDownMenu.xml +++ b/xml/System.Windows.Forms/ToolStripDropDownMenu.xml @@ -59,7 +59,7 @@ > This code is not a complete sample, so it won't compile. For a full code listing, see [How to: Enable Check Margins and Image Margins in ContextMenuStrip Controls](/dotnet/desktop/winforms/controls/how-to-enable-check-margins-and-image-margins-in-contextmenustrip-controls). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet61"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet61"::: ]]> @@ -99,7 +99,7 @@ The following code example demonstrates how to create and initialize a control. For a full code listing, see [How to: Enable Check Margins and Image Margins in ContextMenuStrip Controls](/dotnet/desktop/winforms/controls/how-to-enable-check-margins-and-image-margins-in-contextmenustrip-controls). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet62"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet62"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet62"::: ]]> @@ -523,7 +523,7 @@ The following code example demonstrates how to create and initialize a control by setting the check and image margins. For a full code listing, see [How to: Enable Check Margins and Image Margins in ContextMenuStrip Controls](/dotnet/desktop/winforms/controls/how-to-enable-check-margins-and-image-margins-in-contextmenustrip-controls). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet61"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet61"::: ]]> @@ -573,7 +573,7 @@ The following code example demonstrates how to create and initialize a control by setting the check and image margins. For a full code listing, see [How to: Enable Check Margins and Image Margins in ContextMenuStrip Controls](/dotnet/desktop/winforms/controls/how-to-enable-check-margins-and-image-margins-in-contextmenustrip-controls). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet61"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet61"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripGripRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripGripRenderEventArgs.xml index 9a080f7e6cb..8f9a5839914 100644 --- a/xml/System.Windows.Forms/ToolStripGripRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripGripRenderEventArgs.xml @@ -31,7 +31,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet591"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet591"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet591"::: ]]> @@ -107,7 +107,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet591"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet591"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet591"::: ]]> @@ -147,7 +147,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet591"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet591"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet591"::: ]]> @@ -187,7 +187,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet591"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet591"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet591"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItem.xml b/xml/System.Windows.Forms/ToolStripItem.xml index d27ad571714..29c8b72da05 100644 --- a/xml/System.Windows.Forms/ToolStripItem.xml +++ b/xml/System.Windows.Forms/ToolStripItem.xml @@ -97,7 +97,7 @@ The following code example demonstrates how to implement a custom control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -583,7 +583,7 @@ The following code example demonstrates how to set the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -646,7 +646,7 @@ The following code example demonstrates how to set the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -778,7 +778,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet4"::: ]]> @@ -831,7 +831,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet20"::: ]]> @@ -936,7 +936,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet98"::: ]]> @@ -981,7 +981,7 @@ The following code example demonstrates how to use the property for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet21"::: ]]> @@ -1034,7 +1034,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet99"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet99"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet99"::: ]]> @@ -1136,7 +1136,7 @@ The following code example demonstrates how to set the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -1267,7 +1267,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet4"::: ]]> @@ -1516,7 +1516,7 @@ The following code example demonstrates how to use the property for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -1800,7 +1800,7 @@ The following code example demonstrates the , , , and properties for a . This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -1849,7 +1849,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet101"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet101"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet101"::: ]]> @@ -2095,7 +2095,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet102"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet102"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet102"::: ]]> @@ -2183,7 +2183,7 @@ The following code example shows how to convert the and properties to a client . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet3"::: ]]> @@ -2265,7 +2265,7 @@ The following code example shows how to convert the and properties to a client . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet3"::: ]]> @@ -2344,7 +2344,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet106"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet106"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet106"::: ]]> @@ -2423,7 +2423,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet105"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet105"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet105"::: ]]> @@ -2512,7 +2512,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet107"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet107"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet107"::: ]]> @@ -2595,7 +2595,7 @@ The following code example demonstrates how to use the property for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -2645,7 +2645,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet108"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet108"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet108"::: ]]> @@ -2799,7 +2799,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet109"::: ]]> @@ -2903,7 +2903,7 @@ The following code example demonstrates the , , , and properties for a . This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -2970,7 +2970,7 @@ The following code example demonstrates the , , , and properties for a . This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -3154,7 +3154,7 @@ If you set the property, t The following code example demonstrates how to set the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -3220,7 +3220,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet20"::: ]]> @@ -3269,7 +3269,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet20"::: ]]> @@ -3316,7 +3316,7 @@ If you set the property, t The following code example demonstrates how to use the method for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet15"::: ]]> @@ -3510,7 +3510,7 @@ If you set the property, t The following code example demonstrates how to use the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -3595,7 +3595,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet110"::: ]]> @@ -3707,7 +3707,7 @@ If you set the property, t The following example uses the property to insert a merged in a specific location. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/MergeIndex/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb" id="Snippet5"::: ]]> @@ -3764,7 +3764,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet111"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet111"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet111"::: ]]> @@ -3827,7 +3827,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet112"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet112"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet112"::: ]]> @@ -3890,7 +3890,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet114"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet114"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet114"::: ]]> @@ -3953,7 +3953,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet113"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet113"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet113"::: ]]> @@ -4016,7 +4016,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet115"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet115"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet115"::: ]]> @@ -4079,7 +4079,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet116"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet116"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet116"::: ]]> @@ -4312,7 +4312,7 @@ If you set the property, t The following code example demonstrates how to override the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -4523,7 +4523,7 @@ If you set the property, t The following code example demonstrates how to override the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet14"::: ]]> @@ -5091,7 +5091,7 @@ If you set the property, t The following code example demonstrates how to override the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet15"::: ]]> @@ -5185,7 +5185,7 @@ If you set the property, t The following code example demonstrates how to override the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet16"::: ]]> @@ -5416,7 +5416,7 @@ If you set the property, t The following code example demonstrates how to override the method for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -5954,7 +5954,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet4"::: ]]> @@ -6019,7 +6019,7 @@ If you set the property, t The following code example demonstrates how to use the property for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -6067,7 +6067,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet117"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet117"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet117"::: ]]> @@ -6196,7 +6196,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet118"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet118"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet118"::: ]]> @@ -6337,7 +6337,7 @@ If you set the property, t The following code example demonstrates how to use the property for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet22"::: ]]> @@ -6559,7 +6559,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet120"::: ]]> @@ -6638,7 +6638,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet119"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet119"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet119"::: ]]> @@ -7129,7 +7129,7 @@ If you set the property, t The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb" id="Snippet1"::: ]]> @@ -7178,7 +7178,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet121"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet121"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet121"::: ]]> @@ -7216,7 +7216,7 @@ If you set the property, t The following code example demonstrates how to call the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -7269,7 +7269,7 @@ If you set the property, t The following code example demonstrates how to use the property for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet22"::: ]]> @@ -7702,7 +7702,7 @@ If you set the property, t The following code example shows a with its property set to an active link. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -7759,7 +7759,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet4"::: ]]> @@ -7816,7 +7816,7 @@ If you set the property, t The following code example demonstrates the , , , and properties for a . This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -7867,7 +7867,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet122"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet122"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet122"::: ]]> @@ -7906,7 +7906,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet4"::: ]]> @@ -8018,7 +8018,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet20"::: ]]> @@ -8135,7 +8135,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet123"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet123"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet123"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItemClickedEventArgs.xml b/xml/System.Windows.Forms/ToolStripItemClickedEventArgs.xml index 9fa7ce4a828..bfa2079e921 100644 --- a/xml/System.Windows.Forms/ToolStripItemClickedEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripItemClickedEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet92"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet92"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet92"::: ]]> @@ -119,7 +119,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet92"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet92"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet92"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItemEventArgs.xml b/xml/System.Windows.Forms/ToolStripItemEventArgs.xml index 59872e798c7..12a9394070e 100644 --- a/xml/System.Windows.Forms/ToolStripItemEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripItemEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet91"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet91"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet91"::: ]]> @@ -119,7 +119,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet91"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet91"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet91"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItemImageRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripItemImageRenderEventArgs.xml index c08e8216734..562e6c6e92a 100644 --- a/xml/System.Windows.Forms/ToolStripItemImageRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripItemImageRenderEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet593"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet593"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet593"::: ]]> @@ -167,7 +167,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet593"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet593"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet593"::: ]]> @@ -213,7 +213,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet593"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet593"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet593"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItemImageScaling.xml b/xml/System.Windows.Forms/ToolStripItemImageScaling.xml index 7527600f146..b62515eefc1 100644 --- a/xml/System.Windows.Forms/ToolStripItemImageScaling.xml +++ b/xml/System.Windows.Forms/ToolStripItemImageScaling.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItemRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripItemRenderEventArgs.xml index 49e6f02ef41..de2530f9b8a 100644 --- a/xml/System.Windows.Forms/ToolStripItemRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripItemRenderEventArgs.xml @@ -68,7 +68,7 @@ The following code example demonstrates how to override the method to draw a border around a control's . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet14"::: ]]> @@ -154,7 +154,7 @@ The following code example demonstrates how to override the method to draw a border around a control's . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet14"::: ]]> @@ -202,7 +202,7 @@ The following code example demonstrates how to override the method to draw a border around a control's . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet14"::: ]]> @@ -256,7 +256,7 @@ The following code example demonstrates how to override the method to draw a border around a control's . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet14"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItemTextRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripItemTextRenderEventArgs.xml index 30a7a6112c4..b60169dca8d 100644 --- a/xml/System.Windows.Forms/ToolStripItemTextRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripItemTextRenderEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -207,7 +207,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -247,7 +247,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -297,7 +297,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -348,7 +348,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -398,7 +398,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -448,7 +448,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripLabel.xml b/xml/System.Windows.Forms/ToolStripLabel.xml index f9d0a5298fd..4fe28aafa4b 100644 --- a/xml/System.Windows.Forms/ToolStripLabel.xml +++ b/xml/System.Windows.Forms/ToolStripLabel.xml @@ -50,7 +50,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -343,7 +343,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -464,7 +464,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -517,7 +517,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -555,7 +555,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -609,7 +609,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -869,7 +869,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripManager.xml b/xml/System.Windows.Forms/ToolStripManager.xml index 31893841c1b..d5dff175643 100644 --- a/xml/System.Windows.Forms/ToolStripManager.xml +++ b/xml/System.Windows.Forms/ToolStripManager.xml @@ -46,13 +46,13 @@ The following code example demonstrates all the typical scenarios of menu item merging. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/MergeIndex/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb" id="Snippet1"::: The following code example demonstrates a call to and some of its members. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet8"::: ]]> @@ -110,7 +110,7 @@ The following code example demonstrates a use of the method. This example is part of a larger example provided for the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet80"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet80"::: ]]> @@ -401,7 +401,7 @@ The following code example merges menu items based on specified choices. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/MergeIndex/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb" id="Snippet4"::: ]]> @@ -445,7 +445,7 @@ The following code example demonstrates how to apply a custom professional renderer to an individual or to the application as a whole. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet70"::: ]]> @@ -507,7 +507,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripManager1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet603"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet603"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet603"::: ]]> @@ -550,7 +550,7 @@ The following code example demonstrates a use of the property. This example is part of a larger example provided for the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet80"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet80"::: ]]> @@ -658,7 +658,7 @@ The following code example undoes the merging of menu items. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/MergeIndex/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripMenuItem.xml b/xml/System.Windows.Forms/ToolStripMenuItem.xml index 0b8015048d8..c38c252e680 100644 --- a/xml/System.Windows.Forms/ToolStripMenuItem.xml +++ b/xml/System.Windows.Forms/ToolStripMenuItem.xml @@ -56,7 +56,7 @@ The following code example adds a to the specified menu items of a . This code example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/MergeIndex/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb" id="Snippet2"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates a use of the constructor. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet12"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates a use of the constructor. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet12"::: ]]> @@ -353,7 +353,7 @@ The following code example demonstrates a use of the constructor. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet40"::: ]]> @@ -511,7 +511,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripMenuItem1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet495"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet495"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet495"::: ]]> @@ -673,7 +673,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripMenuItem1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet496"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet496"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet496"::: ]]> @@ -724,7 +724,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet2"::: ]]> @@ -1679,7 +1679,7 @@ The following example assigns the specified text to the . This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/MergeIndex/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb" id="Snippet2"::: ]]> @@ -1732,7 +1732,7 @@ The following code example demonstrates how to use the property to assign the key combination CTRL+P to a menu item called `printToolStripMenuItem`. For the complete example, see [How to: Add Web Browser Capabilities to a Windows Forms Application](/dotnet/desktop/winforms/controls/how-to-add-web-browser-capabilities-to-a-windows-forms-application). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet100"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripOverflow.xml b/xml/System.Windows.Forms/ToolStripOverflow.xml index c63d9b65fff..3810b0dda80 100644 --- a/xml/System.Windows.Forms/ToolStripOverflow.xml +++ b/xml/System.Windows.Forms/ToolStripOverflow.xml @@ -125,7 +125,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripOverflowButton.xml b/xml/System.Windows.Forms/ToolStripOverflowButton.xml index 12881a513a4..83489b1f603 100644 --- a/xml/System.Windows.Forms/ToolStripOverflowButton.xml +++ b/xml/System.Windows.Forms/ToolStripOverflowButton.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripPanel.xml b/xml/System.Windows.Forms/ToolStripPanel.xml index ebacd53f610..98823f70732 100644 --- a/xml/System.Windows.Forms/ToolStripPanel.xml +++ b/xml/System.Windows.Forms/ToolStripPanel.xml @@ -77,7 +77,7 @@ The following code example demonstrates how to use controls with a multiple document interface (MDI). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet10"::: ]]> @@ -422,7 +422,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripPanel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet606"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet606"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet606"::: ]]> @@ -728,7 +728,7 @@ The following code example demonstrates the use of the constructor. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet11"::: ]]> @@ -1400,7 +1400,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripPanel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet607"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet607"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet607"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripPanelRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripPanelRenderEventArgs.xml index 207fba847d8..e236cc81206 100644 --- a/xml/System.Windows.Forms/ToolStripPanelRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripPanelRenderEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet585"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet585"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet585"::: ]]> @@ -121,7 +121,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet585"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet585"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet585"::: ]]> @@ -172,7 +172,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet585"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet585"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet585"::: ]]> @@ -218,7 +218,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet585"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet585"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet585"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripProfessionalRenderer.xml b/xml/System.Windows.Forms/ToolStripProfessionalRenderer.xml index 4bd380e4fea..3a11fadaeff 100644 --- a/xml/System.Windows.Forms/ToolStripProfessionalRenderer.xml +++ b/xml/System.Windows.Forms/ToolStripProfessionalRenderer.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a composite control that mimics the **Navigation Pane** provided by Microsoft® Outlook®. For a full code listing, see [How to: Create a Professionally Styled ToolStrip Control](/dotnet/desktop/winforms/controls/how-to-create-a-professionally-styled-toolstrip-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripProfessionalRenderer/Overview/StackView.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.StackView/VB/StackView.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripProfessionalRenderer/Overview/StackView.vb" id="Snippet10"::: ]]> @@ -83,7 +83,7 @@ The following code example demonstrates how to create an instance of a class derived from the class. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripProfessionalRenderer/Overview/StackView.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.StackView/VB/StackView.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripProfessionalRenderer/Overview/StackView.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripProgressBar.xml b/xml/System.Windows.Forms/ToolStripProgressBar.xml index 2a8d7553b53..de4314baccc 100644 --- a/xml/System.Windows.Forms/ToolStripProgressBar.xml +++ b/xml/System.Windows.Forms/ToolStripProgressBar.xml @@ -57,7 +57,7 @@ The following code example demonstrates a that calculates a sequence of Fibonacci numbers. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/ReportProgress/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb" id="Snippet1"::: ]]> @@ -637,7 +637,7 @@ The following code example demonstrates a use of the property in a that calculates a sequence of Fibonacci numbers. This code example is part of a larger example that provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/ReportProgress/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb" id="Snippet2"::: ]]> @@ -694,7 +694,7 @@ The following code example demonstrates a use of the property in a that calculates a sequence of Fibonacci numbers. This code example is part of a larger example that provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/ReportProgress/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb" id="Snippet2"::: ]]> @@ -1030,7 +1030,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripProgressBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet608"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet608"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet608"::: ]]> @@ -1343,7 +1343,7 @@ The following code example demonstrates a use of the property in a that calculates a sequence of Fibonacci numbers. This code example is part of a larger example that provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/ReportProgress/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripRenderEventArgs.xml index 26177f39ed8..f7ab0d3aeef 100644 --- a/xml/System.Windows.Forms/ToolStripRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripRenderEventArgs.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to override the method to draw a custom border around a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet12"::: ]]> @@ -161,7 +161,7 @@ The following code example demonstrates how to override the method to draw a custom border around a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet12"::: ]]> @@ -205,7 +205,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet584"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet584"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet584"::: ]]> @@ -250,7 +250,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet584"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet584"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet584"::: ]]> @@ -294,7 +294,7 @@ The following code example demonstrates how to override the method to draw a custom border around a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet12"::: ]]> @@ -342,7 +342,7 @@ The following code example demonstrates how to override the method to paint a gradient in the background of a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripRenderer.xml b/xml/System.Windows.Forms/ToolStripRenderer.xml index 2634e04e3ae..54c1c9a3bc4 100644 --- a/xml/System.Windows.Forms/ToolStripRenderer.xml +++ b/xml/System.Windows.Forms/ToolStripRenderer.xml @@ -50,7 +50,7 @@ The following code example demonstrates how to implement a custom class. The `GridStripRenderer` class customizes three aspects of the `GridStrip` control's appearance: `GridStrip` border, border, and image. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet10"::: ]]> @@ -971,7 +971,7 @@ The following code example demonstrates how to initialize individual controls. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet11"::: ]]> @@ -1145,7 +1145,7 @@ The following code example demonstrates how to override the method to draw a border around a control's . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet14"::: ]]> @@ -1760,7 +1760,7 @@ The following code example demonstrates how to override the method to paint a gradient in the background of a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet13"::: ]]> @@ -1812,7 +1812,7 @@ The following code example demonstrates how to override the method to draw a custom border around a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet12"::: ]]> @@ -1989,7 +1989,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> @@ -2033,7 +2033,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet588"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet588"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet588"::: ]]> @@ -2077,7 +2077,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet589"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet589"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet589"::: ]]> @@ -2121,7 +2121,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet591"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet591"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet591"::: ]]> @@ -2165,7 +2165,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet596"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet596"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet596"::: ]]> @@ -2209,7 +2209,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet592"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet592"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet592"::: ]]> @@ -2253,7 +2253,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet594"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet594"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet594"::: ]]> @@ -2297,7 +2297,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet593"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet593"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet593"::: ]]> @@ -2341,7 +2341,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -2385,7 +2385,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet597"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet597"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet597"::: ]]> @@ -2429,7 +2429,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet598"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet598"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet598"::: ]]> @@ -2473,7 +2473,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet590"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet590"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet590"::: ]]> @@ -2517,7 +2517,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet602"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet602"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet602"::: ]]> @@ -2561,7 +2561,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet601"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet601"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet601"::: ]]> @@ -2605,7 +2605,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet600"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet600"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet600"::: ]]> @@ -2649,7 +2649,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet584"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet584"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet584"::: ]]> @@ -2693,7 +2693,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet587"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet587"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet587"::: ]]> @@ -2737,7 +2737,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet586"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet586"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet586"::: ]]> @@ -2781,7 +2781,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet585"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet585"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet585"::: ]]> @@ -2825,7 +2825,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet599"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet599"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet599"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripSeparatorRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripSeparatorRenderEventArgs.xml index b733f812114..681edd842c1 100644 --- a/xml/System.Windows.Forms/ToolStripSeparatorRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripSeparatorRenderEventArgs.xml @@ -31,7 +31,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet602"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet602"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet602"::: ]]> @@ -116,7 +116,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet602"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet602"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet602"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripSplitButton.xml b/xml/System.Windows.Forms/ToolStripSplitButton.xml index 0969b6f86dc..7cae45cf9bf 100644 --- a/xml/System.Windows.Forms/ToolStripSplitButton.xml +++ b/xml/System.Windows.Forms/ToolStripSplitButton.xml @@ -407,7 +407,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripSplitButton1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet609"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet609"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet609"::: ]]> @@ -458,7 +458,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripSplitButton1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet610"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet610"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet610"::: ]]> @@ -724,7 +724,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripSplitButton1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet611"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet611"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet611"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripStatusLabel.xml b/xml/System.Windows.Forms/ToolStripStatusLabel.xml index c94e116c12d..2a82d119dde 100644 --- a/xml/System.Windows.Forms/ToolStripStatusLabel.xml +++ b/xml/System.Windows.Forms/ToolStripStatusLabel.xml @@ -55,7 +55,7 @@ The following code example demonstrates a with various common properties set. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb" id="Snippet0"::: ]]> @@ -296,7 +296,7 @@ The following code example demonstrates the syntax for various common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb" id="Snippet1"::: ]]> @@ -344,7 +344,7 @@ The following code example demonstrates the syntax for various common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb" id="Snippet1"::: ]]> @@ -392,7 +392,7 @@ The following code example demonstrates the syntax for various common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb" id="Snippet1"::: ]]> @@ -641,7 +641,7 @@ The following code example demonstrates the syntax for various common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripTextBox.xml b/xml/System.Windows.Forms/ToolStripTextBox.xml index 15e258cdd68..7e5ab0f161e 100644 --- a/xml/System.Windows.Forms/ToolStripTextBox.xml +++ b/xml/System.Windows.Forms/ToolStripTextBox.xml @@ -52,7 +52,7 @@ The following code example demonstrates a with various common property settings, including automatic completion options. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet0"::: ]]> @@ -200,7 +200,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -250,7 +250,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -302,7 +302,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet612"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet612"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet612"::: ]]> @@ -413,7 +413,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -476,7 +476,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -539,7 +539,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -705,7 +705,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -756,7 +756,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet613"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet613"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet613"::: ]]> @@ -860,7 +860,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1472,7 +1472,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1523,7 +1523,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet614"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet614"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet614"::: ]]> @@ -1633,7 +1633,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1734,7 +1734,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet615"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet615"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet615"::: ]]> @@ -2302,7 +2302,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet616"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet616"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet616"::: ]]> @@ -2637,7 +2637,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2732,7 +2732,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2783,7 +2783,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet617"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet617"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet617"::: ]]> diff --git a/xml/System.Windows.Forms/ToolTip.xml b/xml/System.Windows.Forms/ToolTip.xml index 91bd67b5ec8..12d2a6e4eb9 100644 --- a/xml/System.Windows.Forms/ToolTip.xml +++ b/xml/System.Windows.Forms/ToolTip.xml @@ -80,7 +80,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -134,7 +134,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -346,7 +346,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -574,7 +574,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -849,7 +849,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -969,7 +969,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1028,7 +1028,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet619"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet619"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet619"::: ]]> @@ -1134,7 +1134,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1199,7 +1199,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1656,7 +1656,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TrackBar.xml b/xml/System.Windows.Forms/TrackBar.xml index 5d6e686a9ea..1b815913791 100644 --- a/xml/System.Windows.Forms/TrackBar.xml +++ b/xml/System.Windows.Forms/TrackBar.xml @@ -82,7 +82,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -235,7 +235,7 @@ To run the example code, paste it into a project that contains an instance of type named `TrackBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet620"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet620"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet620"::: ]]> @@ -1108,7 +1108,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -1172,7 +1172,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -1235,7 +1235,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Minimum/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Minimum/form1.vb" id="Snippet1"::: ]]> @@ -1646,7 +1646,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Trackbar/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ISupportInitialize/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1882,7 +1882,7 @@ To run the example code, paste it into a project that contains an instance of type named `TrackBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet621"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet621"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet621"::: ]]> @@ -1927,13 +1927,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Trackbar/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ISupportInitialize/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb" id="Snippet3"::: The following code example displays a form that contains a control and a control. The example demonstrates setting the , , , and properties and handling the event. The contents are updated to the property value when the event occurs. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -2074,7 +2074,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -2223,7 +2223,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -2278,7 +2278,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Minimum/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Minimum/form1.vb" id="Snippet1"::: ]]> @@ -2372,7 +2372,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -2424,7 +2424,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Minimum/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Minimum/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TrackBarRenderer.xml b/xml/System.Windows.Forms/TrackBarRenderer.xml index 9c333e9714f..9e421dbc420 100644 --- a/xml/System.Windows.Forms/TrackBarRenderer.xml +++ b/xml/System.Windows.Forms/TrackBarRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBarRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -257,7 +257,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBarRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -419,7 +419,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBarRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -791,7 +791,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -845,7 +845,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBarRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/TreeNode.xml b/xml/System.Windows.Forms/TreeNode.xml index 63c9183e174..955cc90816e 100644 --- a/xml/System.Windows.Forms/TreeNode.xml +++ b/xml/System.Windows.Forms/TreeNode.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -123,7 +123,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Bounds/CPP/treenode_bounds.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb" id="Snippet1"::: ]]> @@ -177,7 +177,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -264,7 +264,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Bounds/CPP/treenode_bounds.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb" id="Snippet1"::: ]]> @@ -316,7 +316,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_TreeNode/CPP/treenode_treenode.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_TreeNode/VB/treenode_treenode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.vb" id="Snippet1"::: ]]> @@ -377,7 +377,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_TreeNode/CPP/treenode_treenode.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_TreeNode/VB/treenode_treenode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.vb" id="Snippet1"::: ]]> @@ -424,7 +424,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Checked/CPP/treenode_checked.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/BackColor/treenode_checked.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Checked/VB/treenode_checked.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/BackColor/treenode_checked.vb" id="Snippet1"::: ]]> @@ -528,7 +528,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Bounds/CPP/treenode_bounds.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb" id="Snippet2"::: ]]> @@ -579,7 +579,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Checked/CPP/treenode_checked.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/BackColor/treenode_checked.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Checked/VB/treenode_checked.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/BackColor/treenode_checked.vb" id="Snippet1"::: ]]> @@ -631,7 +631,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/CPP/treenode_ensurevisible_4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/VB/treenode_ensurevisible_4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.vb" id="Snippet3"::: ]]> @@ -695,7 +695,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/CPP/treenode_ensurevisible_4.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/VB/treenode_ensurevisible_4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.vb" id="Snippet1"::: ]]> @@ -968,7 +968,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/CPP/treenode_ensurevisible_4.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/VB/treenode_ensurevisible_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.vb" id="Snippet2"::: ]]> @@ -1019,7 +1019,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/CPP/treenode_ensurevisible_4.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/VB/treenode_ensurevisible_4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.vb" id="Snippet1"::: ]]> @@ -1071,7 +1071,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_ForeColor/CPP/treenode_forecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb" id="Snippet1"::: ]]> @@ -1131,7 +1131,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Parent/CPP/treenode_parent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/FirstNode/treenode_parent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Parent/VB/treenode_parent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/FirstNode/treenode_parent.vb" id="Snippet1"::: ]]> @@ -1176,7 +1176,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Bounds/CPP/treenode_bounds.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb" id="Snippet1"::: ]]> @@ -1229,7 +1229,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.TreeNode/CPP/treenode.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/FromHandle/treenode.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.TreeNode/VB/treenode.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/FromHandle/treenode.vb" id="Snippet3"::: ]]> @@ -1282,7 +1282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_ForeColor/CPP/treenode_forecolor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb" id="Snippet2"::: ]]> @@ -1329,7 +1329,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_ForeColor/CPP/treenode_forecolor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb" id="Snippet2"::: ]]> @@ -1382,7 +1382,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.TreeNode/CPP/treenode.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/FromHandle/treenode.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.TreeNode/VB/treenode.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/FromHandle/treenode.vb" id="Snippet3"::: ]]> @@ -1468,7 +1468,7 @@ For example, consider a button control whose @@ -1592,7 +1592,7 @@ If you set the property, the @@ -1688,7 +1688,7 @@ If you set the property, the @@ -1737,7 +1737,7 @@ If you set the property, the @@ -1785,7 +1785,7 @@ If you set the property, the @@ -1843,7 +1843,7 @@ If you set the property, the @@ -1984,7 +1984,7 @@ If you set the property, the @@ -2043,7 +2043,7 @@ If you set the property, the @@ -2108,7 +2108,7 @@ If you set the property, the @@ -2165,7 +2165,7 @@ If you set the property, the @@ -2223,7 +2223,7 @@ If you set the property, the @@ -2279,7 +2279,7 @@ If you set the property, the @@ -2338,7 +2338,7 @@ If you set the property, the @@ -2391,7 +2391,7 @@ If you set the property, the @@ -2479,7 +2479,7 @@ For example, consider a button control whose @@ -2857,7 +2857,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Bounds/CPP/treenode_bounds.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb" id="Snippet1"::: ]]> @@ -2911,7 +2911,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Bounds/CPP/treenode_bounds.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb" id="Snippet1"::: ]]> @@ -2962,7 +2962,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.TreeNode/CPP/treenode.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/FromHandle/treenode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.TreeNode/VB/treenode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/FromHandle/treenode.vb" id="Snippet1"::: ]]> @@ -3029,7 +3029,7 @@ If you set the property, t The following code example demonstrates how to use the and properties. To run this example, paste the following code into a Windows Form and call `InitializeTreeViewWithToolTips` from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet7"::: ]]> @@ -3111,7 +3111,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Parent/CPP/treenode_parent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/FirstNode/treenode_parent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Parent/VB/treenode_parent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/FirstNode/treenode_parent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TreeNodeCollection.xml b/xml/System.Windows.Forms/TreeNodeCollection.xml index c166fa143ad..21b94d063b4 100644 --- a/xml/System.Windows.Forms/TreeNodeCollection.xml +++ b/xml/System.Windows.Forms/TreeNodeCollection.xml @@ -71,7 +71,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -141,7 +141,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -205,7 +205,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -514,7 +514,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Clear/CPP/treenodecollection_clear.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/AddRange/treenodecollection_clear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Clear/VB/treenodecollection_clear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/AddRange/treenodecollection_clear.vb" id="Snippet1"::: ]]> @@ -572,7 +572,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Clear/CPP/treenodecollection_clear.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/AddRange/treenodecollection_clear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Clear/VB/treenodecollection_clear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/AddRange/treenodecollection_clear.vb" id="Snippet1"::: ]]> @@ -629,7 +629,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/CPP/treenodecollection_contains_getenumerator.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/VB/treenodecollection_contains_getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.vb" id="Snippet1"::: ]]> @@ -720,7 +720,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Count_CopyTo/CPP/treenodecollection_count_copyto.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/CopyTo/treenodecollection_count_copyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Count_CopyTo/VB/treenodecollection_count_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/CopyTo/treenodecollection_count_copyto.vb" id="Snippet1"::: ]]> @@ -781,7 +781,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Count_CopyTo/CPP/treenodecollection_count_copyto.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/CopyTo/treenodecollection_count_copyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Count_CopyTo/VB/treenodecollection_count_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/CopyTo/treenodecollection_count_copyto.vb" id="Snippet1"::: ]]> @@ -870,7 +870,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/CPP/treenodecollection_contains_getenumerator.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/VB/treenodecollection_contains_getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.vb" id="Snippet1"::: ]]> @@ -924,7 +924,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/CPP/treenodecollection_contains_getenumerator.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/VB/treenodecollection_contains_getenumerator.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.vb" id="Snippet2"::: ]]> @@ -1085,7 +1085,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection/CPP/treenodecollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Nodes/treenodecollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb" id="Snippet1"::: ]]> @@ -1394,7 +1394,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection/CPP/treenodecollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Nodes/treenodecollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb" id="Snippet1"::: ]]> @@ -1457,7 +1457,7 @@ To assign objects to a specific location, o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection/CPP/treenodecollection.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Nodes/treenodecollection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb" id="Snippet2"::: ]]> @@ -1558,7 +1558,7 @@ To assign objects to a specific location, o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection/CPP/treenodecollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Nodes/treenodecollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb" id="Snippet1"::: ]]> @@ -1617,7 +1617,7 @@ To assign objects to a specific location, o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection/CPP/treenodecollection.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Nodes/treenodecollection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TreeNodeMouseClickEventArgs.xml b/xml/System.Windows.Forms/TreeNodeMouseClickEventArgs.xml index dd0fdb56cd0..962c1bd2f3a 100644 --- a/xml/System.Windows.Forms/TreeNodeMouseClickEventArgs.xml +++ b/xml/System.Windows.Forms/TreeNodeMouseClickEventArgs.xml @@ -36,7 +36,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/cpp/Form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet5"::: ]]> @@ -119,7 +119,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/cpp/Form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/TreeNodeMouseHoverEventArgs.xml b/xml/System.Windows.Forms/TreeNodeMouseHoverEventArgs.xml index f272c4980e5..37e60daebc4 100644 --- a/xml/System.Windows.Forms/TreeNodeMouseHoverEventArgs.xml +++ b/xml/System.Windows.Forms/TreeNodeMouseHoverEventArgs.xml @@ -41,7 +41,7 @@ To run the example code, paste it into a project that contains an instance of type named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet634"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet634"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet634"::: ]]> @@ -123,7 +123,7 @@ To run the example code, paste it into a project that contains an instance of type named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet634"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet634"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet634"::: ]]> diff --git a/xml/System.Windows.Forms/TreeNodeStates.xml b/xml/System.Windows.Forms/TreeNodeStates.xml index bbbff43a9ed..71e6ee3272e 100644 --- a/xml/System.Windows.Forms/TreeNodeStates.xml +++ b/xml/System.Windows.Forms/TreeNodeStates.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/TreeView.xml b/xml/System.Windows.Forms/TreeView.xml index 4e8687154b0..a26d305c947 100644 --- a/xml/System.Windows.Forms/TreeView.xml +++ b/xml/System.Windows.Forms/TreeView.xml @@ -101,13 +101,13 @@ The following code example demonstrates the use of the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/Overview/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewMisc/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/Overview/form1.vb" id="Snippet10"::: The following, more complex code example displays customer information in a control. The root tree nodes display customer names, and the child tree nodes display the order numbers assigned to each customer. In this example, 1,000 customers are displayed with 15 orders each. The repainting of the is suppressed by using the and methods, and a wait is displayed while the creates and paints the objects. This example requires that you have a `Customer` object that can hold a collection of `Order` objects. It also requires that you have a cursor file that is named `MyWait.cur` in the application directory and that you have created an instance of a control on a . :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -146,7 +146,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes2/CPP/treeviewshowcheckednodes2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/.ctor/treeviewshowcheckednodes2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes2/VB/treeviewshowcheckednodes2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/.ctor/treeviewshowcheckednodes2.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/CPP/tn_checked.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/AfterCheck/tn_checked.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/VB/tn_checked.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/AfterCheck/tn_checked.vb" id="Snippet1"::: ]]> @@ -243,7 +243,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/CPP/tn_checked.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/AfterCheck/tn_checked.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/VB/tn_checked.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/AfterCheck/tn_checked.vb" id="Snippet1"::: ]]> @@ -292,7 +292,7 @@ To run the example code, paste it into a project that contains an instance of type named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet631"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet631"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet631"::: ]]> @@ -390,7 +390,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet2"::: ]]> @@ -643,7 +643,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/CPP/tn_checked.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/AfterCheck/tn_checked.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/VB/tn_checked.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/AfterCheck/tn_checked.vb" id="Snippet1"::: ]]> @@ -696,7 +696,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes2/CPP/treeviewshowcheckednodes2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/.ctor/treeviewshowcheckednodes2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes2/VB/treeviewshowcheckednodes2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/.ctor/treeviewshowcheckednodes2.vb" id="Snippet2"::: ]]> @@ -748,7 +748,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/CPP/treeviewshowcheckednodes1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb" id="Snippet2"::: ]]> @@ -796,10 +796,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet2"::: ]]> @@ -848,7 +848,7 @@ To run the example code, paste it into a project that contains an instance of type named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet635"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet635"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet635"::: ]]> @@ -898,7 +898,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -958,7 +958,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BorderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BorderStyle/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1019,7 +1019,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/CPP/treeviewshowcheckednodes1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb" id="Snippet1"::: ]]> @@ -1072,7 +1072,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/CPP/treeviewshowcheckednodes1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb" id="Snippet2"::: ]]> @@ -1342,7 +1342,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet2"::: ]]> @@ -1408,7 +1408,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet1"::: ]]> @@ -1459,7 +1459,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -1508,7 +1508,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_ForeColor/CPP/treenode_forecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb" id="Snippet1"::: ]]> @@ -1594,7 +1594,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> @@ -1791,7 +1791,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_ForeColor/CPP/treenode_forecolor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb" id="Snippet2"::: ]]> @@ -1847,7 +1847,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BorderStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BorderStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1946,7 +1946,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/cpp/Form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet3"::: ]]> @@ -2003,7 +2003,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> @@ -2100,7 +2100,7 @@ If you set the property, the @@ -2241,7 +2241,7 @@ If you set the property, the @@ -2294,7 +2294,7 @@ If you set the property, the @@ -2385,7 +2385,7 @@ If you set the property, the @@ -2437,7 +2437,7 @@ If you set the property, the @@ -2542,7 +2542,7 @@ If you set the property, the @@ -2588,7 +2588,7 @@ If you set the property, the @@ -2635,7 +2635,7 @@ If you set the property, the @@ -2683,7 +2683,7 @@ If you set the property, the named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet634"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet634"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet634"::: ]]> @@ -2750,7 +2750,7 @@ If you set the property, the @@ -4059,7 +4059,7 @@ If you set the property, the @@ -4155,7 +4155,7 @@ If you set the property, the named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet639"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet639"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet639"::: ]]> @@ -4210,7 +4210,7 @@ If you set the property, the @@ -4298,7 +4298,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_TreeNode/CPP/treenode_treenode.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_TreeNode/VB/treenode_treenode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.vb" id="Snippet1"::: ]]> @@ -4442,7 +4442,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_ForeColor/CPP/treenode_forecolor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb" id="Snippet2"::: ]]> @@ -4497,7 +4497,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> @@ -4547,7 +4547,7 @@ If you set the property The following code example demonstrates how to use the and properties. To run this example, paste the following code into a Windows Form and call `InitializeTreeViewWithToolTips` from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet7"::: ]]> @@ -4602,7 +4602,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> @@ -4655,7 +4655,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BorderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BorderStyle/Overview/form1.vb" id="Snippet1"::: ]]> @@ -4813,7 +4813,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/cpp/Form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet8"::: ]]> @@ -4974,10 +4974,10 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet2"::: ]]> @@ -5077,7 +5077,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/cpp/Form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewAction.xml b/xml/System.Windows.Forms/TreeViewAction.xml index c209613bd81..fb321d369e1 100644 --- a/xml/System.Windows.Forms/TreeViewAction.xml +++ b/xml/System.Windows.Forms/TreeViewAction.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewCancelEventArgs.xml b/xml/System.Windows.Forms/TreeViewCancelEventArgs.xml index 52cf5a33cd2..b14a6e76036 100644 --- a/xml/System.Windows.Forms/TreeViewCancelEventArgs.xml +++ b/xml/System.Windows.Forms/TreeViewCancelEventArgs.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/CPP/treeviewshowcheckednodes1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb" id="Snippet2"::: ]]> @@ -135,7 +135,7 @@ To run the example code, paste it into a project that contains an instance of type named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet626"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet626"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet626"::: ]]> @@ -187,7 +187,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/CPP/treeviewshowcheckednodes1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewCancelEventHandler.xml b/xml/System.Windows.Forms/TreeViewCancelEventHandler.xml index 9332e808e22..761c46c0df3 100644 --- a/xml/System.Windows.Forms/TreeViewCancelEventHandler.xml +++ b/xml/System.Windows.Forms/TreeViewCancelEventHandler.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/CPP/treeviewshowcheckednodes1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewDrawMode.xml b/xml/System.Windows.Forms/TreeViewDrawMode.xml index 3ad178dd83e..647addaad14 100644 --- a/xml/System.Windows.Forms/TreeViewDrawMode.xml +++ b/xml/System.Windows.Forms/TreeViewDrawMode.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewEventArgs.xml b/xml/System.Windows.Forms/TreeViewEventArgs.xml index e0ccf4c7676..1475e8c488a 100644 --- a/xml/System.Windows.Forms/TreeViewEventArgs.xml +++ b/xml/System.Windows.Forms/TreeViewEventArgs.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> @@ -177,7 +177,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> @@ -227,7 +227,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewHitTestInfo.xml b/xml/System.Windows.Forms/TreeViewHitTestInfo.xml index 67b0e5a1841..f66d22c21f6 100644 --- a/xml/System.Windows.Forms/TreeViewHitTestInfo.xml +++ b/xml/System.Windows.Forms/TreeViewHitTestInfo.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to use the class. To run this example, paste the following code into a Windows Form that contains a control named `treeView1`, and populate the with items. Ensure that `treeview1` and the event for the form are associated with the `HandleMouseDown` method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet1"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to use the property. To run this example, paste the following code into a Windows Form that contains a control named `treeView1`, and populate the with items. Ensure that `treeview1` and the event for the form are associated with the `HandleMouseDown` method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet1"::: ]]> @@ -179,7 +179,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/cpp/Form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewHitTestLocations.xml b/xml/System.Windows.Forms/TreeViewHitTestLocations.xml index 826ce82b212..e257c05e6c6 100644 --- a/xml/System.Windows.Forms/TreeViewHitTestLocations.xml +++ b/xml/System.Windows.Forms/TreeViewHitTestLocations.xml @@ -43,7 +43,7 @@ The following code example demonstrates how to use the enumeration. To run this example, paste the following code into a Windows Form that contains a control named `treeView1`, and populate the with items. Ensure that `treeview1` and the event for the form are associated with the `HandleMouseDown` method in this example. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TypeValidationEventArgs.xml b/xml/System.Windows.Forms/TypeValidationEventArgs.xml index d623c94bbbc..60ef0c87920 100644 --- a/xml/System.Windows.Forms/TypeValidationEventArgs.xml +++ b/xml/System.Windows.Forms/TypeValidationEventArgs.xml @@ -44,7 +44,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet488"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet488"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet488"::: ]]> @@ -158,7 +158,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet488"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet488"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet488"::: ]]> @@ -220,7 +220,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet488"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet488"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet488"::: ]]> @@ -276,7 +276,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet488"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet488"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet488"::: ]]> @@ -330,7 +330,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet488"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet488"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet488"::: ]]> @@ -385,7 +385,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet488"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet488"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet488"::: ]]> diff --git a/xml/System.Windows.Forms/UICuesEventArgs.xml b/xml/System.Windows.Forms/UICuesEventArgs.xml index e372211b098..f2ff7e625c8 100644 --- a/xml/System.Windows.Forms/UICuesEventArgs.xml +++ b/xml/System.Windows.Forms/UICuesEventArgs.xml @@ -41,7 +41,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> @@ -120,7 +120,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> @@ -163,7 +163,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> @@ -207,7 +207,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> @@ -251,7 +251,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> @@ -295,7 +295,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> diff --git a/xml/System.Windows.Forms/UnhandledExceptionMode.xml b/xml/System.Windows.Forms/UnhandledExceptionMode.xml index 4543b605246..d4568b2a994 100644 --- a/xml/System.Windows.Forms/UnhandledExceptionMode.xml +++ b/xml/System.Windows.Forms/UnhandledExceptionMode.xml @@ -39,7 +39,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ThreadException Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/UpDownBase.xml b/xml/System.Windows.Forms/UpDownBase.xml index 5ed6e4c290c..5a49c8b41c7 100644 --- a/xml/System.Windows.Forms/UpDownBase.xml +++ b/xml/System.Windows.Forms/UpDownBase.xml @@ -77,7 +77,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -379,7 +379,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `UpDownBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet380"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet380"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet380"::: ]]> @@ -666,7 +666,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -1128,7 +1128,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -2108,7 +2108,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase.BorderStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/PreferredHeight/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.BorderStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/PreferredHeight/source.vb" id="Snippet1"::: ]]> @@ -2164,7 +2164,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -2247,7 +2247,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase.Text Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Select/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.Text Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Select/source.vb" id="Snippet1"::: ]]> @@ -2331,7 +2331,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase.Text Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Select/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.Text Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Select/source.vb" id="Snippet1"::: ]]> @@ -2386,7 +2386,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -2511,7 +2511,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/UserControl.xml b/xml/System.Windows.Forms/UserControl.xml index a3fad041166..7122f1bfd10 100644 --- a/xml/System.Windows.Forms/UserControl.xml +++ b/xml/System.Windows.Forms/UserControl.xml @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UserControl Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UserControl/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UserControl Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UserControl/Overview/source.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UserControl.UserControl Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UserControl/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UserControl.UserControl Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UserControl/.ctor/source.vb" id="Snippet1"::: ]]> @@ -361,7 +361,7 @@ To run the example code, paste it into a project that contains an instance of type named `UserControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet641"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet641"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet641"::: ]]> @@ -537,7 +537,7 @@ To run the example code, paste it into a project that contains an instance of type named `UserControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet642"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet642"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet642"::: ]]> diff --git a/xml/System.Windows.Forms/VScrollBar.xml b/xml/System.Windows.Forms/VScrollBar.xml index 9cb0ca78c11..e064bc62d62 100644 --- a/xml/System.Windows.Forms/VScrollBar.xml +++ b/xml/System.Windows.Forms/VScrollBar.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic VScrollBar Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic VScrollBar Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ValidationConstraints.xml b/xml/System.Windows.Forms/ValidationConstraints.xml index f7e3611969c..4d0398f1d96 100644 --- a/xml/System.Windows.Forms/ValidationConstraints.xml +++ b/xml/System.Windows.Forms/ValidationConstraints.xml @@ -43,7 +43,7 @@ The following code example will only cause the event to be raised for immediate children of the form whose property is `true`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/ValidateChildren/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildrenWithConstraints/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/ValidateChildren/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/View.xml b/xml/System.Windows.Forms/View.xml index d5d15d6687a..16af1ebd3c9 100644 --- a/xml/System.Windows.Forms/View.xml +++ b/xml/System.Windows.Forms/View.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/TopItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/WebBrowser.xml b/xml/System.Windows.Forms/WebBrowser.xml index da7c0890794..916a3910d8b 100644 --- a/xml/System.Windows.Forms/WebBrowser.xml +++ b/xml/System.Windows.Forms/WebBrowser.xml @@ -103,7 +103,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet6"::: ]]> @@ -143,7 +143,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet10"::: ]]> @@ -241,7 +241,7 @@ The following code example demonstrates how to use the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.vb" id="Snippet1"::: ]]> @@ -348,7 +348,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet7"::: ]]> @@ -405,7 +405,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet7"::: ]]> @@ -478,7 +478,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet8"::: ]]> @@ -535,7 +535,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet8"::: ]]> @@ -607,7 +607,7 @@ The following code example illustrates the use of this method in a class derived from that supplements the normal events with the `NavigateError` event from the OLE `DWebBrowserEvents2` interface. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/CreateSink/WB2.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserExtensibility/VB/WB2.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/CreateSink/WB2.vb" id="Snippet00"::: ]]> @@ -758,7 +758,7 @@ For the complete code example, see . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/CreateSink/WB2.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserExtensibility/VB/WB2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/CreateSink/WB2.vb" id="Snippet10"::: ]]> @@ -857,7 +857,7 @@ This example requires that your form contains a control called `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet30"::: ]]> @@ -932,7 +932,7 @@ The following code example demonstrates the use of this event to print a document after it has fully loaded. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet10"::: ]]> @@ -1072,7 +1072,7 @@ The following code example demonstrates how to use the property to programmatically display document content of your choosing. This example requires that your form contains a control called `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet30"::: ]]> @@ -1145,7 +1145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet15"::: ]]> @@ -1205,7 +1205,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet15"::: ]]> @@ -1372,7 +1372,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet647"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet647"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet647"::: ]]> @@ -1421,7 +1421,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet648"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet648"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet648"::: ]]> @@ -1503,7 +1503,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet7"::: ]]> @@ -1560,7 +1560,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet8"::: ]]> @@ -1611,7 +1611,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet11"::: ]]> @@ -1666,7 +1666,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet12"::: ]]> @@ -1839,7 +1839,7 @@ The following code example demonstrates how to use the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.vb" id="Snippet2"::: ]]> @@ -1957,7 +1957,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet6"::: ]]> @@ -2359,7 +2359,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet6"::: ]]> @@ -2441,7 +2441,7 @@ For a complete code example that you can paste the following code into, see [How to: Add Web Browser Capabilities to a Windows Forms Application](/dotnet/desktop/winforms/controls/how-to-add-web-browser-capabilities-to-a-windows-forms-application). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet30"::: ]]> @@ -2503,7 +2503,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet651"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet651"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet651"::: ]]> @@ -2573,7 +2573,7 @@ The following code example demonstrates how to use the property. In the example, the property is set to the current form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.vb" id="Snippet0"::: ]]> @@ -3221,7 +3221,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet13"::: ]]> @@ -3270,7 +3270,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet652"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet652"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet652"::: ]]> @@ -3385,7 +3385,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet10"::: ]]> @@ -3489,7 +3489,7 @@ The following code example demonstrates how to suppress script errors without suppressing other dialog boxes. In the example, the property is set to `false` to ensure that dialog boxes are displayed. A handler for the event suppresses the error. This event is only accessible when a document is finished loading, so the handler is attached in a event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet40"::: ]]> @@ -3577,7 +3577,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet2"::: ]]> @@ -3621,7 +3621,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet3"::: ]]> @@ -3667,7 +3667,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet4"::: ]]> @@ -3711,7 +3711,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet5"::: ]]> @@ -3756,7 +3756,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet1"::: ]]> @@ -3821,7 +3821,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet14"::: ]]> @@ -3881,7 +3881,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet14"::: ]]> @@ -3928,7 +3928,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet9"::: ]]> @@ -3997,7 +3997,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet6"::: ]]> @@ -4108,7 +4108,7 @@ The following code example demonstrates how to use the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/WebBrowserDocumentCompletedEventArgs.xml b/xml/System.Windows.Forms/WebBrowserDocumentCompletedEventArgs.xml index e0827ef9946..2ee0129f220 100644 --- a/xml/System.Windows.Forms/WebBrowserDocumentCompletedEventArgs.xml +++ b/xml/System.Windows.Forms/WebBrowserDocumentCompletedEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet645"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet645"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet645"::: ]]> @@ -121,7 +121,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet645"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet645"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet645"::: ]]> diff --git a/xml/System.Windows.Forms/WebBrowserNavigatedEventArgs.xml b/xml/System.Windows.Forms/WebBrowserNavigatedEventArgs.xml index e20096db667..b05b09339c4 100644 --- a/xml/System.Windows.Forms/WebBrowserNavigatedEventArgs.xml +++ b/xml/System.Windows.Forms/WebBrowserNavigatedEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet649"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet649"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet649"::: ]]> @@ -121,7 +121,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet649"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet649"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet649"::: ]]> diff --git a/xml/System.Windows.Forms/WebBrowserNavigatingEventArgs.xml b/xml/System.Windows.Forms/WebBrowserNavigatingEventArgs.xml index 2c5761c42cd..65f9c4a0202 100644 --- a/xml/System.Windows.Forms/WebBrowserNavigatingEventArgs.xml +++ b/xml/System.Windows.Forms/WebBrowserNavigatingEventArgs.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to use a handler for the event to cancel navigation when a Web page form has not been filled in. The property is used to determine whether the form input field contains a value. This example requires that your form contains a control called `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet30"::: ]]> @@ -125,7 +125,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet650"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet650"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet650"::: ]]> @@ -166,7 +166,7 @@ The following code example demonstrates how to use a handler for the event to cancel navigation when a Web page form has not been filled in. The property is used to determine whether the form input field contains a value. This example requires that your form contains a control called `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet30"::: ]]> diff --git a/xml/System.Windows.Forms/WebBrowserNavigatingEventHandler.xml b/xml/System.Windows.Forms/WebBrowserNavigatingEventHandler.xml index e84345c859b..f56edb9701d 100644 --- a/xml/System.Windows.Forms/WebBrowserNavigatingEventHandler.xml +++ b/xml/System.Windows.Forms/WebBrowserNavigatingEventHandler.xml @@ -50,7 +50,7 @@ The following code example demonstrates how to use a handler for the event to cancel navigation when a Web page form has not been filled in. The property is used to determine whether the form input field contains a value. This example requires that your form contains a control called `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet30"::: ]]> diff --git a/xml/System.Windows.Forms/WebBrowserProgressChangedEventArgs.xml b/xml/System.Windows.Forms/WebBrowserProgressChangedEventArgs.xml index 5cf2252f504..928e3c34d7a 100644 --- a/xml/System.Windows.Forms/WebBrowserProgressChangedEventArgs.xml +++ b/xml/System.Windows.Forms/WebBrowserProgressChangedEventArgs.xml @@ -34,7 +34,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet652"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet652"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet652"::: ]]> @@ -125,7 +125,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet652"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet652"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet652"::: ]]> @@ -180,7 +180,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet652"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet652"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet652"::: ]]>