Write procedure THelloApp.InitMainWindow.