public void OnDecompressInputResponse(string input, string password) { if (password != "") { Archiver.SetEncryption(password); } try { Archiver.DecompressItem(SentSources.ElementAt(0), RootDirInfo + "\\" + input); } catch (IOException e) { Prompter.HandleError(e); } Archiver.DisableEncryption(); OnResponse(); }