private void UserButton_Click(object sender, EventArgs e) { FormUsers f = new FormUsers();//產生Form2的物件,才可以使用它所提供的Method f.ShowDialog(); }