void InitOtherControls() { jpegArrayLock = new object(); m_ThreadTable = new ThreadControlTable(); dateTimeStartTime.Format = DateTimePickerFormat.Custom; dateTimeStartTime.CustomFormat = m_timeFormat; dateTimeEndTime.Format = DateTimePickerFormat.Custom; dateTimeEndTime.CustomFormat = m_timeFormat; trackBar1.SetRange(0, 100); m_PlayControl = new PlayControl(); m_JpegPlayThread = new Thread(PlayLoop); m_JpegPlayThread.Start(); m_WallClock = new Thread(WallClockLoop); m_WallClock.Start(); }