Permalink
Browse files

Added JSPromptForm and designer

Signed-off-by: Peter Nelson <peter@peterdn.com>
  • Loading branch information...
1 parent 1884d97 commit 608019c91db96c98834d750d8962bab2a941e603 @peterdn peterdn committed Oct 18, 2010
Showing with 136 additions and 0 deletions.
  1. +101 −0 WebKitBrowserTest/JSPromptForm.Designer.cs
  2. +35 −0 WebKitBrowserTest/JSPromptForm.cs

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Text;
+using System.Windows.Forms;
+
+namespace WebKitBrowserTest
+{
+ public partial class JSPromptForm : Form
+ {
+ public string Value
+ {
+ get
+ {
+ return textBox1.Text;
+ }
+ }
+
+ public JSPromptForm(string message, string defaultValue)
+ {
+ InitializeComponent();
+
+ label1.Text = message;
+ textBox1.Text = defaultValue;
+ this.Text = "[JavaScript Prompt Form]";
+ }
+
+ private void JSPromptForm_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}

0 comments on commit 608019c

Please sign in to comment.