private void OpenOtherWindow_Click(object sender, RoutedEventArgs e) { var otherWindow = new ControlFolder.OtherWindow(); otherWindow.ShowDialog(); }