public ChatBufferItem(DateTime timestamp, string from, UUID id, string text, ChatBufferTextStyle style)
{
this.timestamp = timestamp;
+ this.from = from;
+ this.id = id;
this.text = text;
this.style = style;
}
private void btnProfile_Click(object sender, EventArgs e)
{
+ if (selectedFriend == null) return;
+
instance.MainForm.ShowAgentProfile(selectedFriend.Name, selectedFriend.UUID);
}
private void btnPay_Click(object sender, EventArgs e)
{
+ if (selectedFriend == null) return;
+
(new frmPay(instance, selectedFriend.UUID, selectedFriend.Name, false)).ShowDialog();
}
private void btnRemove_Click(object sender, EventArgs e)
{
+ if (selectedFriend == null) return;
+
client.Friends.TerminateFriendship(selectedFriend.UUID);
RefreshFriendsList();
}