Hello,
I am using the wpf and c# to do my system. In my system, i have two different classes which the first class is the main window, consists of tabcontrol and two tab items named tab1 and tab2. Another class is used to create a node in one of tabitem. The problem is i want to get the value of current tabitem opened in first class whenever a node is called to be created in second class. For example, If the tabitem is tab1, therefore the user is allowed to create the node.
Is that any ways for me to do that.
Thank you!
I am using the wpf and c# to do my system. In my system, i have two different classes which the first class is the main window, consists of tabcontrol and two tab items named tab1 and tab2. Another class is used to create a node in one of tabitem. The problem is i want to get the value of current tabitem opened in first class whenever a node is called to be created in second class. For example, If the tabitem is tab1, therefore the user is allowed to create the node.
Is that any ways for me to do that.
Thank you!
Comment