/// <summary> /// MainWindow Ctr - init variables /// </summary> /// <param name="iCourseID">Course id of current lecture</param> public MainWindow(int iCourseID) { realTimeCasting = new ScreenShareServer(); realTimeCasting.InitServer(); toolsWindow.SetCourseID(iCourseID); courseID = iCourseID; InitializeComponent(); blankBackground = new backgroundWindow(); bgwn = new backgroundWindow(); bgwn.Show(); //global hotkeys: //SetupHotKey(_host.Handle); //ComponentDispatcher.ThreadPreprocessMessage += new ThreadMessageEventHandler(ComponentDispatcher_ThreadPreprocessMessage); }
/// <summary> /// MainWindow Ctr - init variables /// </summary> /// <param name="iCourseID">Course id of current lecture</param> public MainWindow(int iCourseID) { realTimeCasting = new ScreenShareServer(); realTimeCasting.InitServer(); toolsWindow.SetCourseID(iCourseID); courseID = iCourseID; InitializeComponent(); blankBackground = new backgroundWindow(); bgwn = new backgroundWindow(); bgwn.Show(); //global hotkeys: //SetupHotKey(_host.Handle); //ComponentDispatcher.ThreadPreprocessMessage += new ThreadMessageEventHandler(ComponentDispatcher_ThreadPreprocessMessage); }