public Paging()
        {
            InitializeComponent();

            // Update the displayed page index and count
            // when they change in the C1DataSource.

            _view = c1DataSource1["Orders"];

            RefreshPageInfo();
            _view.PropertyChanged += delegate { RefreshPageInfo(); };
        }
        public C1FlexGridPaging()
        {
            InitializeComponent();

            // Update the displayed page index and count
            // when they change in C1DataSource.

            _view = c1DataSource1["Orders"];

            RefreshPageInfo();
            _view.PropertyChanged += delegate { RefreshPageInfo(); };
        }