View Single Post
Old 12-05-2016, 03:43 PM
PlausiblyDamp's Avatar
PlausiblyDamp PlausiblyDamp is offline
Ultimate Contributor

Forum Leader
* Expert *
Join Date: Nov 2003
Location: Newport, Wales
Posts: 2,058

The function TopFlyoutCloseButtonOnClick is an instance member of MainWindow, that means you need to refer to an instance of MainWindow - not the class itself.

You would either need to store the instance of MainWindow as a global variable or pass the current instance to the page_Keyboard instance you create.
Intellectuals solve problems; geniuses prevent them.
-- Albert Einstein

Posting Guidelines Forum Rules Use the code tags
Reply With Quote