CreateFrameworkTypes.cs (5)
44void OnClick(object sender, EventArgs e) => MessageBox.Show("Clicked Item1", "CreateContextMenu");
45void OnSelect(object sender, EventArgs e) => MessageBox.Show("Selected Item2", "CreateContextMenu");
46void OnPopup(object sender, EventArgs e) => MessageBox.Show("Item2 popped up", "CreateContextMenu");
54MenuItem fileMenuItem = new("MainMenuItem", (s, e) => MessageBox.Show("New menu item clicked", "MainMenu"));
328MessageBox.Show($"Cell [{hitInfo.Column}, {hitInfo.Row}] clicked", "DataGrid");