VPaged.WF 1.0.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package VPaged.WF --version 1.0.5
NuGet\Install-Package VPaged.WF -Version 1.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VPaged.WF" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VPaged.WF --version 1.0.5
#r "nuget: VPaged.WF, 1.0.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install VPaged.WF as a Cake Addin
#addin nuget:?package=VPaged.WF&version=1.0.5

// Install VPaged.WF as a Cake Tool
#tool nuget:?package=VPaged.WF&version=1.0.5

VPaged.WF Pagination component for winform base

This library will help you to paginate with winform easily. Source : https://github.com/tranthanhvan/VPaged.WF

How to use

Simple example : Initialize a VPag with the current Form ,set method you use to get data in SelectDataMaster and run:

    public partial class Form1 : Form
    {
        private VPagination<Form1> _pag;

        public Form1()
        {
            InitializeComponent();
            _pag = new VPagination<Form1>(this, pageSize: 5, startWhenIntialize: true);
            _pag.GetPaginationUI(this.ContainerPager); //Get display pager. in this example 'this.ContainerPager' is a GroupBox
            _pag.SelectDataMaster = () => this.SelectData(); // Function select data eg below:
        }
        
        public async Task SelectData()
        {
            //handler data
            var result = employees.Skip((_pag.PageIndex - 1) * _pag.PageSize).Take(_pag.PageSize).ToList();
            int count = employees.Count();

            //paging
            _pag.Pagination(result, (long)count, ref GridMaster); // GridMaster is DataGridView.
        }
    }
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.1 445 1/2/2023
2.0.0 279 1/1/2023
1.0.5 293 12/31/2022
1.0.4 286 12/31/2022
1.0.3 390 8/18/2022
1.0.2 374 8/17/2022

Optimize SelectMaster and fix bugs