private void btnRetreive_Click(object sender, EventArgs e) { rentvehiclecontrol.SelectCategory(lbxCategory.SelectedItem.ToString()); }
public void RetreiveClicked() { rentvehiclecontrol.SelectCategory(lbxCategory.SelectedItem.ToString()); }