private void ChangeBtn_Click(object sender, EventArgs e) { string nameRoom = ListRooms.GetItemText(ListRooms.SelectedItem); string status = StatusList.GetItemText(StatusList.SelectedItem); string text = room.changeStatusRoom(nameRoom, status); MessageBox.Show(text); }
private void button1_Click(object sender, EventArgs e) { string nameRoom = ListRooms.GetItemText(ListRooms.SelectedItem); string text = room.getRoomStatus(nameRoom); List <string> list = new List <string>(); list.Add(text); StatusList.DataSource = list; }
void Start() { DontDestroyOnLoad(this); PhotonNetwork.ConnectUsingSettings("0.1"); PhotonNetwork.logLevel = PhotonLogLevel.Full; _listRooms = canvas.GetComponent <ListRooms>(); _listModels = canvas.GetComponent <ListModels>(); uiManager = GetComponent <UIManagerLobby>(); playerData = new string[2]; MarkersData = new List <string[]>(); ObjectMasterData = new List <string[]>(); markerData = new string[2]; feedback.text = ""; feedback.GetComponent <Text>().color = Color.red; }
void Start () { DontDestroyOnLoad(this); PhotonNetwork.ConnectUsingSettings("0.1"); PhotonNetwork.logLevel = PhotonLogLevel.Full; _listRooms = canvas.GetComponent<ListRooms>(); _listModels = canvas.GetComponent<ListModels>(); uiManager = GetComponent<UIManagerLobby>(); playerData = new string[2]; MarkersData = new List<string[]>(); ObjectMasterData = new List<string[]>(); markerData = new string[2]; feedback.text = ""; feedback.GetComponent<Text>().color = Color.red; }
private void OnListJoinedRooms() { ListRooms?.Invoke(this, null); }