private void SetBpmFilter()
        {
            var min = 0;
            if (txtMinBPM.Text != "") min = Convert.ToInt32(txtMinBPM.Text);

            var max = 1000;
            if (txtMaxBPM.Text != "") max = Convert.ToInt32(txtMaxBPM.Text);

            if (min == MinBpm && max == MaxBpm) return;

            MinBpm = min;
            MaxBpm = max;
            var bindData = new BindDataHandler(BindData);
            BeginInvoke(bindData);
        }
 private void grdSamples_SortOrderChanged(object sender, EventArgs e)
 {
     var bindData = new BindDataHandler(BindData);
     BeginInvoke(bindData);
 }
        /// <summary>
        ///     Sets the loop filter.
        /// </summary>
        private void SetIncludeAtonalFilter()
        {
            if (IncludeAntonalFilter == chkIncludeAntonal.Checked)
                return;

            IncludeAntonalFilter = chkIncludeAntonal.Checked;
            var bindData = new BindDataHandler(BindData);
            BeginInvoke(bindData);
        }
        /// <summary>
        ///     Sets the loop filter.
        /// </summary>
        private void SetKeyFilter()
        {
            if (KeyFilter == cmbKey.GetTextThreadSafe())
                return;

            KeyFilter = cmbKey.GetTextThreadSafe();
            var bindData = new BindDataHandler(BindData);
            BeginInvoke(bindData);
        }
        /// <summary>
        ///     Sets the loop filter.
        /// </summary>
        private void SetLoopFilter()
        {
            if (LoopFilter == cmbLoopType.GetTextThreadSafe())
                return;

            LoopFilter = cmbLoopType.GetTextThreadSafe();
            var bindData = new BindDataHandler(BindData);
            BeginInvoke(bindData);
        }
        /// <summary>
        ///     Sets the search filter and performs a search
        /// </summary>
        private void Search()
        {
            if (SearchFilter == txtSearch.Text.Trim()) return;

            SearchFilter = txtSearch.Text.Trim();
            var bindData = new BindDataHandler(BindData);
            txtSearch.BeginInvoke(bindData);
        }
        /// <summary>
        ///     Handles the SortOrderChanged event of the grdTracks control.
        /// </summary>
        private void grdMixableTracks_SortOrderChanged(object sender, EventArgs e)
        {
            var bindData = new BindDataHandler(BindData);

            BeginInvoke(bindData);
        }