示例#1
0
 private void OnAddBulkPopupClickedCommand()
 {
     if (!string.IsNullOrWhiteSpace(TxtBulkAdd))
     {
         Int64 introomCount = Int64.Parse(TxtBulkAdd);
         if (introomCount <= 1000)
         {
             _eventAggregator.GetEvent <PubSubEvent <int> >().Publish(Convert.ToInt32(introomCount));
             _winService.Close(ViewKeys.BulkRoomPopup);
         }
         else
         {
             JCHMessageBox.ShowError(Language.Current.GetMessage("ALERT_ENTER_COUNT"));
         }
     }
     else
     {
         //JCHMessageBox.Show("Please Enter RoomNo");
         JCHMessageBox.Show(Language.Current.GetMessage("ALERT_ENTER_ROOMNO"));
     }
 }