private void btnNoAccRide_Click(object sender, RoutedEventArgs e) { RequestRideHandler.decReqRide(Int32.Parse(tbReqRideId.Text)); MessageBox.Show("Not Accept Sucessfully"); }
private void btnCancelRequestRideData_Click(object sender, RoutedEventArgs e) { RequestRideHandler.cancelRequestRide(Int16.Parse(tbReqRideId.Text)); MessageBox.Show("Cancel Request Successfully"); }
private void btnRequestRemoveRide_Click(object sender, RoutedEventArgs e) { RequestRideHandler.reqDelRide(Int16.Parse(tbRideId.Text), tbNameRide.Text, tbDescRide.Text, tbHowWorkRide.Text, cbKindRide.SelectionBoxItem.ToString(), tbSafetyRide.Text); MessageBox.Show("Request Removing Send To Manager"); }
private void btnUpdateRequestRideData_Click(object sender, RoutedEventArgs e) { RequestRideHandler.updateRequestRide(Int16.Parse(tbReqRideId.Text), tbNameReRide.Text, tbDescReRide.Text, tbHowWorkReRide.Text, cbKindReRide.SelectionBoxItem.ToString(), tbSafetyReRide.Text); MessageBox.Show("Update Request Successfully"); }