//Constructor: public Registration_window(BusinessLayer.ChatRoom c) { this.c = c; this.DataContext = _main; this.ValidPasswordFlag = false; InitializeComponent(); }
//Constructor: public LoggedinWindow(BusinessLayer.ChatRoom c) { InitializeComponent(); this.DataContext = _main; this.c = c; display(); dispatcherTimer = new DispatcherTimer(); dispatcherTimer.Tick += new EventHandler(showMessages); dispatcherTimer.Interval = new TimeSpan(0, 0, 2); intialSortFilterProps(); dispatcherTimer.Start(); this.Loaded += LoggedinWindow_Loaded; }