M
M
Max Zhukov2018-02-05 13:55:26
C++ / C#
Max Zhukov, 2018-02-05 13:55:26

How to refer to the parent form and cast the type?

I have a main form and a child form, and I need to access the parent form object from the child form.
I try this: NotePad^ notepad = (NotePad^)this->Owner;
writes that the undeclared identifier.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question