private void _譜面拡大率を変更する( int n倍 )
{
- if( ( 1 > n倍 ) || ( 10 < n倍 ) )
+ if( ( 1 > n倍 ) || ( this.toolStripComboBox譜面拡大率.Items.Count < n倍 ) )
throw new ArgumentException( $"不正な譜面拡大率({n倍})が指定されました。" );
this.toolStripComboBox譜面拡大率.SelectedIndex = ( n倍 - 1 );