A pare of Nalichniki (Old wooden Russian window frames)

The other day, in a discussion with an architect, we talked about a theory that the pattern of window frames repeats that of the house. I cannot recall now where I had learnt that but then it did not convince me. And that was because not every window frame agrees with it.
But those which do, surprisingly, have some elements used even in house building. Look at these window frames from Yegoryevsk: not only they have a double-pitch roof, but it is supported by very typical dentils!
So, the theory sounds rather convincing. If I will ever happen to find to more proofs, I will certainly share them with you. Or, may be, you know something about it?