Ejemplo n.º 1
0
        async private void getImage_Click(object sender, RoutedEventArgs e)
        {
            //will be used to retrieve already stored document to see if user really wants to replace it after ui finds that a document for that claim already exist and only 1 or a limited number of the documents are already saved
            //technically over write verification advanced feature
            await s1.GetClaimDocumentsByClaimID(new DTO_Claim
            {
                ClaimID = 30
            });

            //	bitmap.UriSource = new Uri((SelectFile()), UriKind.Absolute);
        }
Ejemplo n.º 2
0
        async public Task <bool> CheckFileExist()
        {                                                                                                                               //the worker function to callback after determining if the file exists in the location that has been picked if so it will ask what would you like to do with it.
            await s1.GetClaimDocumentsByClaimID(new DTO_Claim { MRNNumber = ClaimList.SelectedValue.ToString() });

            if (s1.ClaimDocumentsList[AvailableDocuments.SelectedIndex] != null)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }