I have 32 panes, that I created using designer.
At program, i want to add labels to each panes.
If I debug it, pressing F8 continuously, my codes can work normally (see "correct process by F8.png) , create expected result (see "correct screen.png")
But if I directly press RUN button on the same program, it will crash, saying can not cast label to pane.
(see "error when running.png").
Running in DEBUG mode, or RELEASE mode still make the same crash.
Attached are 3 pictures as proof.
Anybody knows ?
At program, i want to add labels to each panes.
If I debug it, pressing F8 continuously, my codes can work normally (see "correct process by F8.png) , create expected result (see "correct screen.png")
But if I directly press RUN button on the same program, it will crash, saying can not cast label to pane.
(see "error when running.png").
Running in DEBUG mode, or RELEASE mode still make the same crash.
Attached are 3 pictures as proof.
Anybody knows ?