H
Henk
Can somebody help me to convert this code to VB.NET?
namespace New.Controls
{
public class ExComboBox : System.Windows.Forms.ComboBox
{
public new event KeyPressEventHandler KeyPress;
public ExComboBox()
{
// hookup events
this.KeyPress += new KeyPressEventHandler(this.OnKeyPress);
}
private void OnKeyPress(object sender, KeyPressEventArgs e)
{
base.OnKeyPress(e);
}
}
}
namespace New.Controls
{
public class ExComboBox : System.Windows.Forms.ComboBox
{
public new event KeyPressEventHandler KeyPress;
public ExComboBox()
{
// hookup events
this.KeyPress += new KeyPressEventHandler(this.OnKeyPress);
}
private void OnKeyPress(object sender, KeyPressEventArgs e)
{
base.OnKeyPress(e);
}
}
}