Esempio n. 1
0
 private void btnNoAccRide_Click(object sender, RoutedEventArgs e)
 {
     RequestRideHandler.decReqRide(Int32.Parse(tbReqRideId.Text));
     MessageBox.Show("Not Accept Sucessfully");
 }
Esempio n. 2
0
 private void btnCancelRequestRideData_Click(object sender, RoutedEventArgs e)
 {
     RequestRideHandler.cancelRequestRide(Int16.Parse(tbReqRideId.Text));
     MessageBox.Show("Cancel Request Successfully");
 }
Esempio n. 3
0
 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");
 }
Esempio n. 4
0
 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");
 }