I have a
labelControl.Text ="My name:";
Result is
:My name
Symbols changes place.
If I write "&= My name", the result is =& My name.
How do I stop it from changing places?
You need to set the RightToLeft property correctly. By default this should be RightToLeft.Inherit. But either your Form or your Label was set like:
labelControl.RightToLeft = RightToLeft.Yes;
You need to set it to RightToLeft.No or RightToLeft.Inherit (if the parent control has it set to No).
来源:https://stackoverflow.com/questions/48866523/winform-label-control-text-changes-place