private void OnConnectionDialogLoad(object sender, EventArgs e)
 {
     // If no connection has been passed in create a new one
     if (Connection == null)
     {
         Connection = CreateNewConnection();
     }
 }
 private void OnAddButtonClick(object sender, EventArgs e)
 {
     Connection = CreateNewConnection();
 }