Calculator : window principal defined