private void buttonNext_Click(object sender, EventArgs e) { if (IsLastPage) { if (Cancel != null) Cancel(sender, e); return; } Cursor current = Cursor.Current; this.Cursor = Cursors.WaitCursor; ShowPage(_currentPage + 1); this.Cursor = current; }