示例#1
0
        //delete button
        private void button1_Click(object sender, EventArgs e)
        {
            stutter C = new stutter(textBox1.Text);

            if (C.deleteStutter())
            {
                MessageBox.Show("stutter is deleted");
                textBox1.Text = "";
                this.Hide();
                FrmLogin dd = new FrmLogin();
                dd.Closed += (s, args) => this.Close();
                dd.Show();
            }
            else
            {
                MessageBox.Show("valed enter ID ");
            }
        }
示例#2
0
        private void buttonDelete_Click(object sender, EventArgs e)

        {
            deaf C = new deaf(textBox1.Text);

            if (C.deleteDeaf())
            {
                MessageBox.Show("You been delete!");
                textBox1.Text = "";
                this.Hide();
                FrmLogin dd = new FrmLogin();
                dd.Closed += (s, args) => this.Close();
                dd.Show();
            }
            else
            {
                MessageBox.Show("enter ID which you want to delete", "User information");
            }
        }
示例#3
0
        private void button1_Click(object sender, EventArgs e)
        {
            FrmLogin login = new FrmLogin();

            login.Show();
        }