Events
Event routing concepts.
Event Handling
this.button1.Click += this.Button1_Click;
...
void Button1_Click(object sender, EventArgs e) {
this.button1.Text = "Clicked!";
}AddHandler Me.button1.Click, AddressOf Me.Button1_Click
...
Private Sub Button1_Click(sender As Object, e As EventArgs)
Me.button1.Text = "Clicked!"
End Subclass MyButton : Wisej.Web.Button {
protected override void OnMouseDown(MouseEventArgs e) {
base.OnMouseDown(e);
this.Text = "The mouse is at " + e.Location;
}Class MyButton
Inherits Wisej.Web.Button
Protected Overrides Sub OnMouseDown(ByVal e As MouseEventArgs)
MyBase.OnMouseDown(e)
Me.Text = "The mouse is at " + e.Location
End SubRole Attribute
Lazy Events
Out-of-Bound Events
JavaScript Events
Last updated
Was this helpful?

