Links the tooltip with input binding info. The text. The input key binding. This tooltip.
(string text, ref Options.InputBinding inputBinding)
| 114 | /// <param name="inputBinding">The input key binding.</param> |
| 115 | /// <returns>This tooltip.</returns> |
| 116 | public ToolStripButton LinkTooltip(string text, ref Options.InputBinding inputBinding) |
| 117 | { |
| 118 | var input = inputBinding.ToString(); |
| 119 | if (input.Length != 0) |
| 120 | text = $"{text} ({input})"; |
| 121 | LinkTooltip(text); |
| 122 | return this; |
| 123 | } |
| 124 | |
| 125 | private void OnClicked() |
| 126 | { |
no test coverage detected