i create property in my project for textbox , but i have a problem with this
........

When i set property *"false"* or *"true"* for TextBox , C# set property *"false"* or *"true"* for all TextBox in the form , what's problem?

**This is My code**

```
public static bool number = false;

public Number_TextBox()
    {
        InitializeComponent();
    }

    public Number_TextBox(IContainer container)
    {
        container.Add(this);

        InitializeComponent();
    }

    public bool IsNumber
    {
        get { return number; }
        set { number = value; }
    }

    protected override void OnKeyPress(KeyPressEventArgs e)
    {
        base.OnKeyPress(e);
        if (IsNumber == true)
        {
            if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar))
            {
                e.Handled = true;
            }
        }
    }

```