protected void groupMembershipUpdateEject(object o, GroupOperationEventArgs e) { if (e.Success == true) { markFastCheck(e.GroupID, true); } }
void Groups_GroupLeft(object sender, GroupOperationEventArgs e) { Console.WriteLine(Client.ToString() + (e.Success ? " has left group " : " failed to left group ") + e.GroupID.ToString()); leftGroup = e.Success; GroupsEvent.Set(); }
private void Groups_OnGroupJoined(object sender, GroupOperationEventArgs e) { WriteLine(Client.ToString() + (e.Success ? " joined " : " failed to join ") + e.GroupID.ToString()); if (e.Success) { WriteLine(Client.ToString() + " setting " + e.GroupID.ToString() + " as the active group"); Client.Groups.ActivateGroup(e.GroupID); } }
void Groups_OnGroupJoined(object sender, GroupOperationEventArgs e) { string msg; if (e.Success) { msg = "You have joined group: " + e.GroupID.ToString(); } else { msg = "Failed to join group: " + e.GroupID.ToString(); } MessageBox.Show(msg); client.Groups.GroupJoinedReply -= gcallback; }
void Groups_OnGroupJoined(object sender, GroupOperationEventArgs e) { Console.WriteLine(Client.ToString() + (e.Success ? " joined " : " failed to join ") + e.GroupID.ToString()); /* A.Biondi * This code is not necessary because it is yet present in the * GroupCommand.cs as well. So the new group will be activated by * the mentioned command. If the GroupCommand.cs would change, * just uncomment the following two lines. * * if (success) * { * Console.WriteLine(Client.ToString() + " setting " + groupID.ToString() + " as the active group"); * Client.Groups.ActivateGroup(groupID); * } * */ joinedGroup = e.Success; GetGroupsSearchEvent.Set(); }
void Groups_OnGroupJoined(object sender, GroupOperationEventArgs e) { client.Groups.GroupJoinedReply -= new EventHandler <GroupOperationEventArgs>(Groups_OnGroupJoined); }
void Groups_GroupJoined(object sender, GroupOperationEventArgs e) { throw new NotImplementedException(); }
private void Groups_OnGroupStateChanged(object sender, GroupOperationEventArgs e) { Client.Groups.RequestCurrentGroups(); }
private void Groups_GroupMemberEjected(object sender, GroupOperationEventArgs e) { Client.Groups.RequestCurrentGroups(); }