Adding controls

We arrange the following UI controls in the format:

  • NumericUpDown with name numericUpDownAmount – it will enter the amount for conversion
  • Label with name labelResult – it will show the result after conversion
  • Two more Label components, serving only for static representation of a text

The graphical editor for user interface might look similar to this:

We set the following settings of the format and the separate controls:

Setting Picture
FormConverter:
Text = "BGN to EUR",
Font.Size = 12,
MaximizeBox = False,
MinimizeBox = False,
FormBorderStyle = FixedSingle
formConverter
numericUpDownAmount:
Value = 1,
Minimum = 0,
Maximum = 10000000,
TextAlign = Right,
DecimalPlaces = 2
numUpDown
labelResult:
AutoSize = False,
BackColor = PaleGreen,
TextAlign = MiddleCenter,
Font.Size = 14,
Font.Bold = True
labelResult

results matching ""

    No results matching ""