public DecodeTextWindow(NewWindow controlledWindow) { InitializeComponent(); ResultText.Text = controlledWindow.DecodeText(); }