summaryrefslogtreecommitdiffstats
path: root/win/C#/frmQuery.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/frmQuery.cs')
-rw-r--r--win/C#/frmQuery.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/win/C#/frmQuery.cs b/win/C#/frmQuery.cs
new file mode 100644
index 000000000..f2ef7cc06
--- /dev/null
+++ b/win/C#/frmQuery.cs
@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Text;
+using System.Windows.Forms;
+
+namespace Handbrake
+{
+ public partial class frmQuery : Form
+ {
+
+ public frmQuery(string query)
+ {
+ InitializeComponent();
+ rtf_query.Text = query;
+ }
+
+ private void btn_close_Click(object sender, EventArgs e)
+ {
+ this.Close();
+ }
+
+ private void btn_copy_Click(object sender, EventArgs e)
+ {
+ if (rtf_query.Text != "")
+ Clipboard.SetText(rtf_query.Text, TextDataFormat.Text);
+ }
+
+ }
+} \ No newline at end of file