Create the application interface

Create a button for inserting data into the database, a button for querying the database, and a label that displays the query results.

  1. Create the Insert button:
    1. In Project view, expand UI.
    2. Right-click MainWIndow (type) and select New > Base controls > Button.
    3. Hover-over the button, select Add, and enter InsertButton.
    4. In Properties, set Text to Insert Random Data.
  2. Create the Run Query button:
    1. Right-click MainWIndow (type) and select New > Base controls > Button.
    2. Hover-over the button, select Add, and enter RunQueryButton.
    3. In Properties, set Text to Display Query in Label.
  3. Create the query result label:
    1. Right-click MainWIndow (type) and select New > Base controls > Label.
    2. Hover-over the label, select Edit, and enter QueryResultLabel.
    3. In Properties set Text to Query Results....
  4. Arrange the interface elements.