/// <summary> /// Invoked when this page is about to be displayed in a Frame. /// </summary> /// <param name="e">Event data that describes how this page was reached. The Parameter /// property is typically used to configure the page.</param> #if WINDOWS_PHONE_APP private void ShowFileOpen(CompressAlgorithm? Algorithm) { var picker = new FileOpenPicker(); picker.FileTypeFilter.Add("*"); picker.ContinuationData["Operation"] = "CompressFile"; picker.ContinuationData["CompressAlgorithm"] = Algorithm.ToString(); picker.PickSingleFileAndContinue(); }