Quote Originally Posted by Shaggy Hiker View Post
You actually drew out the design fairly well. The rectangles may all be textboxes. The + and = signs would have to be in labels. You may also want a, b, and c to be labels, as well. Generally, a textbox is a place where a user can type something, but for a, b, and c, you don't really want the user to be able to type anything, right? If they are not allowed to edit the numbers in those boxes, then you should use labels rather than textboxes. In either case, fiddle around with the font, backcolor, forecolor, appearance, and borders to make them look the way you want.

Behind the scenes, you'd want three variables (possibly called a, b, and c) of type Double. Those would hold the values. Thus you might write:

Dim a As Double = 0.15
Dim b As Double = 0.5
Dim c As Double = 0.3

you would show these variables in the textboxes/labels with something like this:

<your control name here>.Text = a.ToString
<your next control name here>.Text = b.ToString
<your next control name here>.Text = c.ToString

What happens after that isn't so clear, though, as I'm not sure what step you would want the user to take next. Do they enter a value for the total and press a button?
@ Shaggy Hiker , first of all Thanks for your answer!
1. In this program i want the user to type any numbers (double nymbers) for a, b ,c and
2. there isn't other steps in this program., just this three number to give us one total. but as you say propably i need one button to do this. right ?

Thanks again for your time you and other people spend for me, i appreciate that