Hello,
In my project, I perform mathematical operations on a number that is the result of previous operations.
The number to be manipulated is in a label, I select the mathematical operation from a listpicker, the number, i.e. the factor by which I multiply, divide, add, or perform other mathematical operations on the number to be manipulated, is in a textbox.
There are mathematical operations performed on two factors (e.g.: -,+,*,/) and on one factor (e.g.: square root, sine, cosine).
In the case of one-factor operations, I want the factor's textbox to be invisible, while in the case of two-factor operations, I want the factor's textbox to be visible.
See the two screenshots attached below; I have cut off the unnecessary parts of the images.
I apologize, I haven't translated the texts into English in my application yet.
The solution to this is shown in the attached images.
However, this solution does not work well; when the factor's textbox already contains a digit, it works when the factor's textbox is empty, then it disappears in the case of a one-factor mathematical operation, but then it does not appear again in the case of a two-factor operation.
Why doesn't it come out?
Any advices will be appreciated!