Beispiel #1
0
        //update button of Stutter
        private void button2_Click(object sender, EventArgs e)
        {
            stutter s = new stutter(textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text, textBox5.Text);

            s.updateStutter();
            MessageBox.Show("The Stutter  information is Updated");


            textBox1.Enabled = true;
            textBox1.Text    = ""; //empty id text
            textBox2.Text    = ""; // empty name text
            textBox3.Text    = ""; //empty email text
            textBox4.Text    = ""; //empty password text
            textBox5.Text    = ""; //empty username text

            panel3.Visible   = false;
            textBox1.Enabled = true;
        }