private void btnInventoryLeft_Click(object sender, EventArgs e) { if (APConfig.prevPage(ref ddlInventoryPage)) { inventoryLoadData(ddlInventoryPage.SelectedIndex + 1); } }