Example #1
0
 public int Add(Venue value)
 {
     hashTable.Add(value.Name, value);
     return(arrayList.Add(value));
 }
Example #2
0
        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;
            }
        }
Example #3
0
 public bool ContainsValue(Venue value)
 {
     return(hashTable.ContainsValue(value));
 }
Example #4
0
 public int IndexOf(Venue value)
 {
     return(arrayList.IndexOf(value));
 }
Example #5
0
 public void Remove(Venue value)
 {
     arrayList.Remove(value);
     hashTable.Remove(value.Name);
 }
Example #6
0
 public bool Contains(Venue value)
 {
     return(arrayList.Contains(value));
 }
Example #7
0
 public void Add(string venueName, Venue venue)
 {
     Dictionary.Add(venueName, venue);
 }
Example #8
0
 public void Insert(int index, Venue value)
 {
     arrayList.Insert(index, value);
     hashTable.Add(value.Name, value);
 }
Example #9
0
 public void Insert(int index, Venue value)
 {
     arrayList.Insert(index, value);
     hashTable.Add(value.Name, value);
 }
Example #10
0
 public void Remove(Venue value)
 {
     arrayList.Remove(value);
     hashTable.Remove(value.Name);
 }
Example #11
0
 public int IndexOf(Venue value)
 {
     return arrayList.IndexOf(value);
 }
Example #12
0
 public bool ContainsValue(Venue value)
 {
     return hashTable.ContainsValue(value);
 }
Example #13
0
 public bool Contains(Venue value)
 {
     return arrayList.Contains(value);
 }
Example #14
0
 public int Add(Venue value)
 {
     hashTable.Add(value.Name, value);
     return arrayList.Add(value);
 }
Example #15
0
 public void Add( string venueName, Venue venue )
 {
     Dictionary.Add( venueName, venue );
 }