Hide a form and start a new form

    private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form2 f = new Form2();
            f.ShowDialog();    
        }

posted @ 2010-07-03 07:56  greencolor  阅读(118)  评论(0编辑  收藏  举报