From 16fbfc0272961f9bcb59ff42f34118c92545a312 Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 30 Oct 2008 22:34:13 +0000 Subject: WinGui: - Simple right click context menu for the activity window. Allows users to copy text. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1885 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/frmActivityWindow.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'win/C#/frmActivityWindow.cs') diff --git a/win/C#/frmActivityWindow.cs b/win/C#/frmActivityWindow.cs index cb2bbc222..17ec856a8 100644 --- a/win/C#/frmActivityWindow.cs +++ b/win/C#/frmActivityWindow.cs @@ -268,5 +268,13 @@ namespace Handbrake this.Close(); } + + private void copyToolStripMenuItem_Click(object sender, EventArgs e) + { + if (rtf_actLog.SelectedText != "") + Clipboard.SetDataObject(rtf_actLog.SelectedText, true); + else + Clipboard.SetDataObject(rtf_actLog.Text, true); + } } } \ No newline at end of file -- cgit v1.2.3