>>334
x:Class="Window2"なら,
Window2 window2 = new Window2();
window2.Show();