private void button2_Click(object sender, EventArgs e) { //search button. Form14 kk = new Form14(textBox3.Text); DialogResult dlgres = kk.ShowDialog(); textBox1.Text = kk.rcname; textBox2.Text = kk.rcno; }
private void viewReminderToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); Form14 frm = new Form14(); frm.ShowDialog(); this.Show(); }