public gsOutput() { InitializeComponent(); this.Closing += new System.ComponentModel.CancelEventHandler(FakeWindowClosing); m_gsIO = new gsIO(); xaml_gsText.DataContext = m_gsIO; }