diff options
author | sr55 <[email protected]> | 2008-10-30 22:34:13 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-10-30 22:34:13 +0000 |
commit | 16fbfc0272961f9bcb59ff42f34118c92545a312 (patch) | |
tree | a18f03f05c6335b084c52159c3273a97751b72da /win/C#/frmActivityWindow.cs | |
parent | 8c79730a0cb1feeec9e2abf8bb6fc1168e043484 (diff) |
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
Diffstat (limited to 'win/C#/frmActivityWindow.cs')
-rw-r--r-- | win/C#/frmActivityWindow.cs | 8 |
1 files changed, 8 insertions, 0 deletions
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 |