private void menuItem23_Click(object sender, System.EventArgs e)
{
model = (FarPoint.Win.Spread.Model.BaseSheetSelectionModel)fpSpread1.ActiveSheet.Models.Selection;
model.SetSelection(0, 0, 3, 3);
}
private void fpSpread1_SelectionModelChanged(object sender, FarPoint.Win.Spread.Model.SheetSelectionModelEventArgs e)
{
listBox1.Items.Add("Changed Event Fired");
}
Private Sub MenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem1.Click
model = FpSpread1.ActiveSheet.Models.Selection
model.SetSelection(0, 0, 2, 2)
End Sub
Private Sub FpSpread1_SelectionModelChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.Model.SheetSelectionModelEventArgs)
Handles model.Changed
ListBox1.Items.Add("Changed Event Fired")
End Sub