This is a very simple question. I\'m asking because I\'ve never seen it before which makes me wonder if there\'s something wrong.
comboBox1.MouseEnter += (a
This is perfectly acceptable, however, since these are anonymous delegates, there is no way to unsubscribe the event handler.
That is:
// Subscribe lambda as event handler
comboBox1.MouseEnter += (a, b) => comboBox1.Focus();
// Try to unsubscribe a _different_ lambda with identical syntax.
// The first lambda is still subscribed
comboBox1.MouseEnter -= (a, b) => comboBox1.Focus();
Whether that is a problem or not depends on your application and use.