public int Add(Venue value) { hashTable.Add(value.Name, value); return(arrayList.Add(value)); }
private void JoinVenue(Venue venueToJoin, bool sendAV) { listView.Items.Clear(); imageList.Images.Clear(); toolTip.RemoveAll(); try { Cursor.Current = Cursors.WaitCursor; Conference.JoinVenue(venueToJoin); if (sendAV) // in unicast archive playback, we don't want to send AV AutoSendAV(); InVenueUIState(); } catch (Exception ex) { MessageBox.Show(ex.ToString(), "Error occured joining venue", MessageBoxButtons.OK, MessageBoxIcon.Error); // Button is not visible, so we can't call the .PerformClick() method, but we need to // leave the conference anyhow to clean up properly. btnLeaveConference_Click(this, null); } finally { Cursor.Current = Cursors.Default; } }
public bool ContainsValue(Venue value) { return(hashTable.ContainsValue(value)); }
public int IndexOf(Venue value) { return(arrayList.IndexOf(value)); }
public void Remove(Venue value) { arrayList.Remove(value); hashTable.Remove(value.Name); }
public bool Contains(Venue value) { return(arrayList.Contains(value)); }
public void Add(string venueName, Venue venue) { Dictionary.Add(venueName, venue); }
public void Insert(int index, Venue value) { arrayList.Insert(index, value); hashTable.Add(value.Name, value); }
public int IndexOf(Venue value) { return arrayList.IndexOf(value); }
public bool ContainsValue(Venue value) { return hashTable.ContainsValue(value); }
public bool Contains(Venue value) { return arrayList.Contains(value); }
public int Add(Venue value) { hashTable.Add(value.Name, value); return arrayList.Add(value); }
public void Add( string venueName, Venue venue ) { Dictionary.Add( venueName, venue ); }