I have MainWindow with a button, under the button click event I want MainWindow to open Window1, another window I have created beforehand. What is the simplest way to do this? Also I have a canvas in Window1 that I want to display a page (Page1) on a button click.
Share
If’ i understood your question, then acc. to me:
MainWindow.vb – Create a handler for Click event of Button
Window1.vb – Create a bool property to check if initiated by MainWindow with isMainWindow = true.