示例#1
0
文件: Form1.cs 项目: Mnrikard/Clippy
 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();
 }
示例#2
0
        static void HandleResponseFromClippy(object sender, EditorResponseEventArgs e)
        {
            if (e.ResponseDescription == null)
            {
                Console.WriteLine(e.ResponseString);
            }
            else
            {
                e.ResponseDescription.PrintToConsole();
            }

            if (e.RequiresUserAction)
            {
                Console.ReadKey();
            }
        }
示例#3
0
文件: Form1.cs 项目: Mnrikard/Clippy
 private void HandleResponseFromClippy(object sender, EditorResponseEventArgs e)
 {
     MessageBox.Show(e.ResponseString, "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
 }
示例#4
0
 static void HandleResponseFromClippy(object sender, EditorResponseEventArgs e)
 {
     ((AClipEditor)sender).SourceData = e.ResponseString;
 }
示例#5
0
 private void HandleResponseFromClippy(object sender, EditorResponseEventArgs e)
 {
     RespondToExe(e.ResponseString, e.RequiresUserAction);
 }
示例#6
0
 private void HandleResponseFromClippy(object sender, EditorResponseEventArgs e)
 {
     RespondToExe(e.ResponseString, e.RequiresUserAction);
 }