public MainWindow() { InitializeComponent(); this.MaxHeight = SystemParameters.MaximizedPrimaryScreenHeight; txtblockSysNotice.Text = ats.newSysNotice(); }