private void chatListBox_DoubleClickSubItem(object sender, ChatListEventArgs e) { Parameter <string, bool> para = RecentListBox.ParseIDFromRecentID(e.SelectSubItem.ID); if (this.UnitDoubleClicked != null) { this.UnitDoubleClicked(para.Arg1, para.Arg2); } }
private void toolStripMenuItem3_Click(object sender, EventArgs e) { ChatListSubItem item = this.chatListBox.SelectSubItem; Parameter <string, bool> para = RecentListBox.ParseIDFromRecentID(item.ID); if (this.ChatRecordClicked != null) { this.ChatRecordClicked(para.Arg1, para.Arg2); } }
private void toolStripMenuItem2_Click(object sender, EventArgs e) { ChatListSubItem item = this.chatListBox.SelectSubItem; item.IsTwinkle = false; Parameter <string, bool> para = RecentListBox.ParseIDFromRecentID(item.ID); if (this.UnitDoubleClicked != null) { this.UnitDoubleClicked(para.Arg1, para.Arg2); } }