private void button6_Click(object sender, EventArgs e) { FrmRoom fr = FrmRoom.Instance; fr.FormClosed += new FormClosedEventHandler(fr_FormClosed); fr.Show(); }
public event EventHandler evtBalance; //结账的 //房间设置 private void btnRoom_Click(object sender, EventArgs e) { FrmRoom frmRoom = new FrmRoom(); frmRoom.ShowDialog(); }
private void button6_Click(object sender, EventArgs e) { FrmRoom fr = new FrmRoom(); fr.FormClosed += new FormClosedEventHandler(fr_FormClosed); fr.ShowDialog(); }