You can have App.Current.Windows with you,with the help of this, you can find out your mainWindow(based on name or based on window name)and get it activated or get it shown by below mentioned code in your child window
foreach (Window win in App.Current.Windows)
{
if (win.GetType() == typeof(MainWindow))
{
win.Activate();
break;
}
}