private void SetSyncSettings() { syncButton.BackColor = Color.LightGreen; _isOldBuild = LogsSynchronizer.SetStartEndTime(_tagsDictionary, _isOldBuild, out _END, out _START); SetTrackBarRange(_rangeMaxValue); if (!_isOldBuild) { _isOldBuild = LogsSynchronizer.SyncWithTime(_tagsDictionary, out _syncMap, out _startTick, out _endTick); } trackBar.Enabled = true; }
//Sets the syncSettings by setting up the range and enabling track bar private void SetSyncSettings() { syncLogsToolStripMenuItem.Checked = true; _isOldBuild = LogsSynchronizer.SetStartEndTime(_tagMap, _isOldBuild, out _END, out _START); SetTrackBarRange(_rangeMaxValue); if (!_isOldBuild) { _isOldBuild = LogsSynchronizer.SyncWithTime(_tagMap, out _syncMap, out _startTick, out _endTick); } timeTrackBar.Enabled = true; }