❔ How to access variable from AccessibilityObject ?
I am trying to make canges to an old Winforms or Window forms application and my main goal is to populate a dropdown-menu with some values.
The EditValue function is called when I click on the dropdown and I am trying to access a public variable called m_orderdoc.
If I search for a value in the orderdoc in the "locals" part of Visual studio I see that the m_orderdoc is located in:
But how can I access this value?
I also tried using
The EditValue function is called when I click on the dropdown and I am trying to access a public variable called m_orderdoc.
If I search for a value in the orderdoc in the "locals" part of Visual studio I see that the m_orderdoc is located in:
provider.AccessibilityObject -> PropertyGridView -> TopLevelControl -> m_orderdocBut how can I access this value?
I also tried using
Application.OpenForms to get a form that contains the variable. But I can't access it from there either even tho I see that f contains m_orderdoc.