internal void Initialize(AdjustEventHandler adjustCallback, bool onlySelected) { if (onlySelected) radioButtonSelectedLinesOnly.Checked = true; else if (Configuration.Settings.Tools.LastShowEarlierOrLaterSelection == SelectionChoice.SelectionAndForward.ToString()) radioButtonSelectedLineAndForward.Checked = true; else radioButtonAllLines.Checked = true; _adjustCallback = adjustCallback; timeUpDownAdjust.TimeCode = new TimeCode(Configuration.Settings.General.DefaultAdjustMilliseconds); }
internal void Initialize(AdjustEventHandler adjustCallback, bool onlySelected) { if (onlySelected) { radioButtonSelectedLinesOnly.Checked = true; } else if (Configuration.Settings.Tools.LastShowEarlierOrLaterSelection == SelectionChoice.SelectionAndForward.ToString()) { radioButtonSelectedLineAndForward.Checked = true; } else { radioButtonAllLines.Checked = true; } _adjustCallback = adjustCallback; timeUpDownAdjust.TimeCode = new TimeCode(Configuration.Settings.General.DefaultAdjustMilliseconds); }