コード例 #1
0
        void clear()
        {
            DateSupplier.ResetText();
            text_Sup_ID.Clear();
            textsupName.Clear();
            textSupphone.Clear();
            textSupemail.Clear();

            textSupaddress.Clear();
        }
コード例 #2
0
        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();
        }