J
juli jul
Hello,
I have a treeview and an AfterSelect event ehich is defined in the
InitializeComponenet() function this way:
this.treeView1.AfterSelect += new
System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
(I also tried to define it in the Form_Load() but it didn't help)
I also have funcetion which filles the tree elements (fills them
properly)
The problem is that after a number of clicks on the tree view elements I
get this error:
An unhandled exception of type 'System.NullReferenceException' occurred
in Unknown Module.
Additional information: Object reference not set to an instance of an
object.
Why? What is wrong here?
Thank you!
I have a treeview and an AfterSelect event ehich is defined in the
InitializeComponenet() function this way:
this.treeView1.AfterSelect += new
System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
(I also tried to define it in the Form_Load() but it didn't help)
I also have funcetion which filles the tree elements (fills them
properly)
The problem is that after a number of clicks on the tree view elements I
get this error:
An unhandled exception of type 'System.NullReferenceException' occurred
in Unknown Module.
Additional information: Object reference not set to an instance of an
object.
Why? What is wrong here?
Thank you!