Time for action – final controls

  1. Add a GroupBox to the MapEditor form, and give it the following properties:
    1. Name : groupBoxRightClick
    2. Location : 10, 346
    3. Size : 173, 103
    4. Text : Right Click Mode
  2. Add a RadioButton control inside the groupBoxRightClick GroupBox by dragging it from the Toolbox window and dropping it inside the Groupbox. Give it the following properties:
    1. Name : radioPassable
    2. Checked : True
    3. Location : 6, 17
    4. Text : Toggle Passable
  3. Add another RadioButton control inside the groupBoxRightClick control, with the following properties:
    1. Name : radioCode
    2. Location : 6, 35
    3. Text : Code
  4. Add a TextBox control inside the groupBoxRightClick control with these properties:
    1. Name : txtNewCode
    2. Location : 62, 36
    3. Size : 103, 20
  5. Add a Label control inside the groupBoxRightClick ...

Get XNA 4.0 Game Development by Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.