//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 "); } }
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"); } }
private void button1_Click(object sender, EventArgs e) { FrmLogin login = new FrmLogin(); login.Show(); }