Example #1
0
            public TxtPcbPair(TextBox textbox, PictureBox picturebox, ColorControlUpdate updater)
            {
                this._picturebox = picturebox;
                this._textbox    = textbox;
                this._updater    = updater;

                _picturebox.Click += _picturebox_Click;
                _textbox.KeyPress += _textbox_KeyPress;
                _textbox.KeyUp    += _textbox_KeyUp;
            }
Example #2
0
 public void Add(TextBox textbox, PictureBox picturebox, ColorControlUpdate update)
 {
     pairs.Add(new TxtPcbPair(textbox, picturebox, update));
 }