public void ShowCreateRoom() { if (flagShowCreateRoom == 0) { View.CreateRoom createRoom = new CreateRoom(); createRoom.Show(); flagShowCreateRoom = 1; } else if (flagShowCreateRoom == 1) { CloseWindowManager.CloseCreateRoomWindow(); flagShowCreateRoom = 0; } }
private void tsb_CreateAndDeleteRooms_Click(object sender, EventArgs e) { CreateRoom form = new CreateRoom(); form.Show(); }