@@ -319,7 +319,7 @@ public FormulaEditWatcher(WindowWatcher windowWatcher, SynchronizationContext sy
319319 }
320320
321321 // Runs on the Automation thread
322- private void _windowWatcher_MainWindowChanged ( object sender , EventArgs args )
322+ void _windowWatcher_MainWindowChanged ( object sender , EventArgs args )
323323 {
324324 if ( _mainWindow != null )
325325 {
@@ -572,7 +572,7 @@ void _windowWatcher_PopupListWindowChanged(object sender, WindowWatcher.WindowCh
572572 }
573573
574574 // Runs on our automation thread
575- private void _windowWatcher_MainWindowChanged ( object sender , EventArgs args )
575+ void _windowWatcher_MainWindowChanged ( object sender , EventArgs args )
576576 {
577577 if ( _mainWindow != null )
578578 {
@@ -645,7 +645,7 @@ void PopupListElementSelectedHandler(object sender, AutomationEventArgs e)
645645
646646 // TODO: This should be exposed as an event and popup resize should be elsewhere
647647 // Runs on an automation event thread
648- private void PopupListStructureChangedHandler ( object sender , StructureChangedEventArgs e )
648+ void PopupListStructureChangedHandler ( object sender , StructureChangedEventArgs e )
649649 {
650650 // Debug.Print($">>>> PopupListWatcher.PopupListStructureChangedHandler ({e.StructureChangeType}) on thread {Thread.CurrentThread.ManagedThreadId}");
651651 // Debug.WriteLine($">>> PopupList structure changed - {e.StructureChangeType}");
@@ -709,7 +709,7 @@ private void PopupListStructureChangedHandler(object sender, StructureChangedEve
709709
710710 // CONSIDER: This will run on our automation thread
711711 // Should be OK to call MoveWindow from there - it just posts messages to the window.
712- private void TestMoveWindow ( AutomationElement listWindow , int xOffset , int yOffset )
712+ void TestMoveWindow ( AutomationElement listWindow , int xOffset , int yOffset )
713713 {
714714 var hwndList = ( IntPtr ) ( int ) ( listWindow . GetCurrentPropertyValue ( AutomationElement . NativeWindowHandleProperty ) ) ;
715715 var listRect = ( Rect ) listWindow . GetCurrentPropertyValue ( AutomationElement . BoundingRectangleProperty ) ;
@@ -719,7 +719,7 @@ private void TestMoveWindow(AutomationElement listWindow, int xOffset, int yOffs
719719
720720 // Can run on our automation thread or on any automation event thread (which is also allowed to read properties)
721721 // But might fail, if the newSelectedItem is already gone by the time we run...
722- private void UpdateSelectedItem ( AutomationElement newSelectedItem )
722+ void UpdateSelectedItem ( AutomationElement newSelectedItem )
723723 {
724724 if ( ! IsVisible || newSelectedItem == null )
725725 {
@@ -810,7 +810,7 @@ public void Dispose()
810810 // //_windowWatcher.PopupListWindowChanged += _windowWatcher_PopupListWindowChanged;
811811 // }
812812
813- // private void _windowWatcher_SelectDataSourceWindowChanged(object sender, WindowWatcher.WindowChangedEventArgs e)
813+ // void _windowWatcher_SelectDataSourceWindowChanged(object sender, WindowWatcher.WindowChangedEventArgs e)
814814 // {
815815 // }
816816
0 commit comments