SelectedSheetIndexChanged

GridDesktop.SelectedSheetIndexChanged event

在 SelectedSheetIndex 属性更改时发生。

public event EventHandler SelectedSheetIndexChanged;

例子

[C#]
private void gridDesktop1_SelectedSheetIndexChanged(object sender, System.EventArgs e)
{
	MessageBox.Show("selected index changed!");
}

[Visual Basic]
Private  Sub gridDesktop1_SelectedSheetIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles gridDesktop1.SelectedSheetIndexChanged
	MessageBox.Show("selected index changed!")
End Sub

也可以看看