private void textSupaddress_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         DateSupplier.Focus();
     }
 }
        void clear()
        {
            DateSupplier.ResetText();
            text_Sup_ID.Clear();
            textsupName.Clear();
            textSupphone.Clear();
            textSupemail.Clear();

            textSupaddress.Clear();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            text_Sup_ID.Text = clsssup.SupMaxID().Rows[0][0].ToString();
            butadd.Enabled   = true;
            butnew.Enabled   = false;

            DateSupplier.ResetText();
            textsupName.Enabled    = true;
            textSupphone.Enabled   = true;
            textSupemail.Enabled   = true;
            textSupaddress.Enabled = true;

            textsupName.Focus();
        }