Posted 11 April 2020, 4:15 am EST - Updated 3 October 2022, 11:47 pm EST
Hello guys,
I have found very strange issue in SubSections.Move() method.
If I have 3 subsections, and want to move subsection with index 2 to position 0, when I have called Move(2, 0) method, I got unexpected behavior.
Subsection with index 2 is moved to position 0, but:
subsection with index 0 is moved to position 2 (if you observe subsection name) and moved to position 1 (if you observe number of fields).
What happened?
You can see that on picture I have attached and you can debug in App sample I have attached.Hello guys,
I have found very strange issue in SubSections.Move() method.
If I have 3 subsections, and want to move subsection with index 2 to position 0, when I have called Move(2, 0) method, I got unexpected behavior.
Subsection with index 2 is moved to position 0, but:
subsection with index 0 is moved to position 2 (if you observe subsection name) and moved to position 1 (if you observe number of fields).
What happened?
You can see that on picture I have attached and you can debug in App sample I have attached.
WindowsFormsApp2.zip