コード例 #1
0
 private void API_onHotelDeletePacketReceiveHandler(object sender, ServerAPIInterface.GenericResponseEventArgs e)
 {
     this.Invoke(() =>
     {
         MessageBox.Show("Hotel deleted successfully!");
     });
 }
コード例 #2
0
 private void API_onHotelAddPacketReceiveHandler(object sender, ServerAPIInterface.GenericResponseEventArgs e)
 {
     this.Invoke(() =>
     {
         updateHotelsList();
     });
 }
コード例 #3
0
 void API_onRoomAddPacketReceiveHandler(object sender, ServerAPIInterface.GenericResponseEventArgs e)
 {
     this.Invoke(() =>
     {
         this.Close();
     });
 }