<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def on_show_mainframe(self, event):
 """ Show mainframe window """

        self.parent.Enable()
        self.parent.Show()
        self.parent.Raise()