private void menuItem1_Click(object sender, System.EventArgs e)
{
model = (FarPoint.Win.Spread.Model.BaseSheetSpanModel)fpSpread1.ActiveSheet.Models.Span;
model.Add(0, 0, 2, 2);
}
private void fpSpread1_SpanModelChanged(object sender, FarPoint.Win.Spread.Model.SheetSpanModelEventArgs 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.Span
model.Add(0, 0, 2, 2)
End Sub
Private Sub fpSpread1_SpanModelChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.Model.SheetSpanModelEventArgs)
Handles model.Changed
ListBox1.Items.Add("Changed Event Fired")
End Sub