Ejemplo n.º 1
0
        public PropertyHelper(Designer c, bool url)
        {
            InitializeComponent();
            this.c        = c;
            textBox1.Text = c.strDetails;
            if (url)
            {
                textBox1.Multiline          = false;
                textBox1.AcceptsReturn      = false;
                textBox1.KeyDown           += new KeyEventHandler(textBox1_KeyDown);
                textBox1.AutoCompleteMode   = AutoCompleteMode.SuggestAppend;
                textBox1.AutoCompleteSource = AutoCompleteSource.AllSystemSources;

                this.Height          = textBox1.Height + 40;
                this.Width           = textBox1.Width + 10;
                this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
            }
        }
Ejemplo n.º 2
0
 public TestCase(Designer form)
 {
     this.form = form;
 }