private void OnMovePrevious(object sender, EventArgs e)
        {
            if (bindingSource != null)
            {
                bindingSource.MovePrevious();
            }

            OnRefreshItems();
        }
예제 #2
0
 /// <devdoc>
 ///     Navigates to previous item in BindingSource's list when the MovePreviousItem is clicked.
 /// </devdoc>
 private void OnMovePrevious(object sender, EventArgs e)
 {
     if (Validate())
     {
         if (bindingSource != null)
         {
             bindingSource.MovePrevious();
             RefreshItemsInternal();
         }
     }
 }