M
Mark
Given a reference to a variable, is there a way to find the class that
originally allocated that variable.
More specifically, I have a method that takes a control as a parameter. I
want to be able to determine the form class that initially allocated it. I
am not looking for the control's Form object. I need the class (or instance
of the class) that holds the control (and the form).
originally allocated that variable.
More specifically, I have a method that takes a control as a parameter. I
want to be able to determine the form class that initially allocated it. I
am not looking for the control's Form object. I need the class (or instance
of the class) that holds the control (and the form).