How to refer to the mainwindow class from another class. - C#