/// <summary>
 /// An event handler called when the user selects a node.
 /// </summary>
 /// <param name="sender">The sender object.</param>
 /// <param name="e">The event arguments.</param>
 private void OnSelected(object sender, ArrayEventArgs<int> e)
 {
     // Set the result.
     this.Result = e.Value;
     // Set the dialog result.
     this.DialogResult = DialogResult.OK;
 }
 void array_OnRead(object sender, ArrayEventArgs e)
 {
     throw new NotImplementedException();
 }