private void menuRooms_Click(object sender, EventArgs e) { //Creates Rooms.frmRooms rooms = new Rooms.frmRooms(); rooms.ShowDialog(); while (rooms.Visible) { Application.DoEvents(); } rooms = null; }
private void menuRooms_Click(object sender, EventArgs e) { //Creates Rooms.frmRooms rooms = new Rooms.frmRooms(); rooms.ShowDialog(); while (rooms.Visible) Application.DoEvents(); rooms = null; }