private void HandlePersistentResponse(object sender, EditorResponseEventArgs e) { if (_infoBox != null) { _infoBox.Close(); _infoBox = null; } _infoBox = new PersistentInformation(e.ResponseString); _infoBox.StartPosition = FormStartPosition.CenterParent; _infoBox.Show(); }
static void HandleResponseFromClippy(object sender, EditorResponseEventArgs e) { if (e.ResponseDescription == null) { Console.WriteLine(e.ResponseString); } else { e.ResponseDescription.PrintToConsole(); } if (e.RequiresUserAction) { Console.ReadKey(); } }
private void HandleResponseFromClippy(object sender, EditorResponseEventArgs e) { MessageBox.Show(e.ResponseString, "Message", MessageBoxButtons.OK, MessageBoxIcon.Information); }
static void HandleResponseFromClippy(object sender, EditorResponseEventArgs e) { ((AClipEditor)sender).SourceData = e.ResponseString; }
private void HandleResponseFromClippy(object sender, EditorResponseEventArgs e) { RespondToExe(e.ResponseString, e.RequiresUserAction); }