79199135

Date: 2024-11-18 08:09:44
Score: 1.5
Natty:
Report link

Assuming you have made a textbox named textBox1 in the designer, simply make a static link to it, like this:

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
        textBox1lnk = textBox1;
    }
}
static TextBox textBox1lnk = new TextBox();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: erik carlsson