private void buttonChatPercent_Click(object sender, EventArgs e) { if (UserView.CurrentCell == null) { return; } UserInfo userInfo = (UserInfo)UserView.Rows[UserView.CurrentCell.RowIndex].Tag; if (userInfo == null) { return; } MngChatPercent chatPercent = MngChatPercent.GetInstance(); chatPercent._searchId = userInfo.Id; Main._instance.ShowForm(chatPercent); _isUpdateUserList = true; RefreshUserList(); }
private void ChatPercentMenuItem_Click(object sender, EventArgs e) { MngChatPercent mngChatPercent = MngChatPercent.GetInstance(); ShowForm(mngChatPercent); }