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