private void sess_GroupItemReceived(Session sess, SSIGroup group) { //groups[index].group = group; //Console.WriteLine(String.Format("Received Group({0}): {1}", index, group.Name)); //if (group.Children != null) //{ // groups[index].buddies = new SSIBuddy[group.Children.GetLength(0)]; // Console.WriteLine("Children:"); // foreach (ushort childid in group.Children) // { // Console.WriteLine(" {0}", childid); // } //} Console.WriteLine(String.Format("Received Group({0}): {1}", group.ID, group.Name)); }
/// <summary> /// Raises the <see cref="GroupItemRemoved"/> event /// </summary> /// <param name="group">An <see cref="SSIGroup"/> object</param> protected internal void OnGroupItemRemoved(SSIGroup group) { if (this.GroupItemRemoved != null) { this.GroupItemRemoved(this, group); } }