private void InputBox_Answered(InputBox sender, string answer) { sender.Close(); }
private void ShareItem(MyItem item) { InputBox inputBox = new InputBox("Send to email:"); inputBox.Answered += InputBox_Answered; }