示例#1
0
        private void searchLabel_Click(object sender, EventArgs e)
        {
            Form s = this.FindForm();

            s.Controls.Remove(this);

            SearchScreen ss = new SearchScreen();

            s.Controls.Add(ss);
        }
示例#2
0
        private void searchLabel_Click(object sender, EventArgs e)
        {
            //takes the user to the search screen
            Form f = this.FindForm();

            f.Controls.Remove(this);

            SearchScreen ss = new SearchScreen();

            f.Controls.Add(ss);
        }