Can anyone tell me why this statement
dim buttonadd as button
buttonadd.Initialize(ButtonAdd_Click)
Should cause the buttonadd routine to actually run? I thought it simply defined a routine that would run if the button was clicked not run it.
Thanks
dim buttonadd as button
buttonadd.Initialize(ButtonAdd_Click)
Should cause the buttonadd routine to actually run? I thought it simply defined a routine that would run if the button was clicked not run it.
Thanks