|
Group: Forum Members
Posts: 12,
Visits: 1
|
It still doesn't work. This is the code:
private void InitializeComponent() { ...#1 this.myForm.EditControl.KeyPress += new KeyPressEventHandler(this.EditControl_KeyPress);/*this is the wrong line*/ ... }
private void EditControl_KeyPress(object sender, KeyPressEventArgs e) { ... do something; }
What I am asking is: is this "KeyPressEventArgs" from "System.Windows.Forms" the proper event handler for Nevron.UI.WinForm.Controls.NComboBox? If not, what and where is the event handler? If it is, why there is a NullReferenceException in #1?
No error occurs when I use the System.Windows.Forms.Combobox, but I wanted to use the NCombobox.
|