private void btnRequest_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         btnRequest.IsEnabled = false;
         ServiceCalls serviceCall = new ServiceCalls();
         serviceCall.Position = Pos;
         serviceCall.Game = Game;
         serviceCall.Asset = Asset;
         serviceCall.Manufacturer = Manufacturer;
         serviceCall.SerialNo = SerialNo;
         serviceCall.InstallationNo = Installation;
         serviceCall.Owner = Window.GetWindow(this);
         serviceCall.ShowDialog();
         PopulateOpenCalls(Pos);
         common.CustomPaging(BMC.Presentation.Helper_classes.Common.PagingMode.Next, serviceCalls, NoOfRecPerPage, lstFieldService, true);
         common.DisplayPagingInfo(serviceCalls, common, NoOfRecPerPage);
     }
     finally
     {
         btnRequest.IsEnabled = true;
     }
 }
 private void btnServiceRequest_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         btnServiceRequest.IsEnabled = false;
         ServiceCalls objServiceCalls = new ServiceCalls();
         objServiceCalls.InstallationNo = _POSDetail.InstallationNo;
         objServiceCalls.Position = _POSDetail.PostionNumber;
         objServiceCalls.Asset = _POSDetail.AssetNumber;
         objServiceCalls.Game = _POSDetail.GameName;
         objServiceCalls.Manufacturer = _POSDetail.Manufacturer;
         objServiceCalls.SerialNo = _POSDetail.SerialNumber;
         objServiceCalls.Owner = Window.GetWindow(this);
         objServiceCalls.ShowDialog();
     }
     finally
     {
         btnServiceRequest.IsEnabled = true;
     }
 }