private void noteListToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); NoteList f1 = new NoteList(); //this is the change, code for redirect f1.ShowDialog(); }
private void btnCancel_Click(object sender, EventArgs e) { this.Hide(); NoteList f = new NoteList(); //this is the change, code for redirect f.ShowDialog(); }