/// <summary> /// After Mainwindow finished loaded, event called and Init variables /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void MainWindow_Loaded(object sender, RoutedEventArgs e) { var desktopWorkingArea = SystemParameters.WorkArea; Top = desktopWorkingArea.Bottom - Height + 40; WindowStyle = WindowStyle.None; this.Width = SystemParameters.PrimaryScreenWidth; ResizeMode = ResizeMode.NoResize; m_FileUploadThread = new Thread(UploadManager.Instance.Main); m_FileUploadThread.Start(); m_ProcessManager = ProcessManager.Instance; m_ImageCaptureManager = ImageCaptureManager.Instance; m_PowerPointManager = new PowerPointManager(); m_bIsTempCanvasOpen = false; m_ImageCaptureManager.LoadPreviousStorke += new EventHandler(LoadPreviousStorkes); }
/// <summary> /// After Mainwindow finished loaded, event called and Init variables /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void MainWindow_Loaded(object sender, RoutedEventArgs e) { var desktopWorkingArea = SystemParameters.WorkArea; Top = desktopWorkingArea.Bottom - Height+40; WindowStyle = WindowStyle.None; this.Width =SystemParameters.PrimaryScreenWidth; ResizeMode = ResizeMode.NoResize; m_FileUploadThread = new Thread(UploadManager.Instance.Main); m_FileUploadThread.Start(); m_ProcessManager = ProcessManager.Instance; m_ImageCaptureManager = ImageCaptureManager.Instance; m_PowerPointManager = new PowerPointManager(); m_bIsTempCanvasOpen = false; m_ImageCaptureManager.LoadPreviousStorke += new EventHandler(LoadPreviousStorkes); }