'Declaration Public Event AllowUserToTouchZoomChanged As EventHandler
'Usage Dim instance As FpSpread Dim handler As EventHandler AddHandler instance.AllowUserToTouchZoomChanged, handler
public event EventHandler AllowUserToTouchZoomChanged
'Declaration Public Event AllowUserToTouchZoomChanged As EventHandler
'Usage Dim instance As FpSpread Dim handler As EventHandler AddHandler instance.AllowUserToTouchZoomChanged, handler
public event EventHandler AllowUserToTouchZoomChanged
private void button1_Click(object sender, EventArgs e) { fpSpread1.AllowUserToTouchZoom = false; } private void fpSpread1_AllowUserToTouchZoomChanged(object sender, EventArgs e) { listBox1.Items.Add("changed"); }
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click fpSpread1.AllowUserToTouchZoom = False End Sub Private Sub fpSpread1_AllowUserToTouchZoomChanged(sender As Object, e As EventArgs) Handles fpSpread1.AllowUserToTouchZoomChanged ListBox1.Items.Add("changed") End Sub