Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143672 | Mar 31,2019 03:57 PM UTC | Apr 1,2019 11:59 AM UTC | WinForms | 1 |
![]() |
Tags: SfDataGrid |
ContextMenuStrip recordContextMenu = new ContextMenuStrip();
recordContextMenu.Items.Add("Add Comment", null, AddComment);
sfDataGrid4.RecordContextMenu = recordContextMenu;
private void AddComment(object sender, EventArgs e)
{
var rowIndex = sfDataGrid4.CurrentCell.RowIndex;
var columnIndex = sfDataGrid4.CurrentCell.ColumnIndex;
form2 f1 = new form2(columnIndex, ID);
f1.ShowDialog();
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.