예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form f3 = new SearchMenu(textBox1.Text, this, username);

            f3.Show();
            this.Hide();
        }
예제 #2
0
 public Form3(string name, SearchMenu form, string username)
 {
     InitializeComponent();
     food             = name;
     f                = form;
     this.FormClosed += new FormClosedEventHandler(Form3_Close);
     account          = username;
 }