private void fpSpread1_ChildViewCreated_1(object sender, FarPoint.Win.Spread.ChildViewCreatedEventArgs e)
{
string s;
int i;
s = e.SheetView.ParentRelationName;
i = e.SheetView.ParentRowIndex;
label1.Text = "The name of the parent relation is " + s + " and the parent row index is " + i.ToString();
}