J John S Jul 1, 2004 #1 Is it possible to call the click event of a control from another method or class?
T Tamir Khason Jul 1, 2004 #2 Override OnClick event and Call it from public function protected override void OnClick(EventArgs e) { base.OnClick (e); } public void ClickMe() { OnClick(null); }
Override OnClick event and Call it from public function protected override void OnClick(EventArgs e) { base.OnClick (e); } public void ClickMe() { OnClick(null); }
U Uri Dor Jul 1, 2004 #3 no. that's the difference between 'event' and 'delegate' - 'event's can only be fired by the object that holds them
no. that's the difference between 'event' and 'delegate' - 'event's can only be fired by the object that holds them