1.12 - Smaller Assignment 2
1... Create
the following form with three buttons and one label.
Name the buttons btnLeft, btnRight, btnCenter,
size them appropriately and enter the required Text.
Name the label lblJustify. Nothing should be written in the
Text property and it should have Minimum Size 240,
23.
Size should also be set to 240, 23.
Location should be 23, 202.
2... Enter the code for the following three button clicks.
3... The first line of
code blbJustify.TextAlign = ContentAlignment.MiddleLeft makes
sure that the label text is left justified.
The second line of code lblJustify.Text = "THIS IS LEFT JUSTIFIED"
is the actual text that appears in the label.