File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 44using System . Linq ;
55using System . Windows . Forms ;
66using ASCompletion . Model ;
7+ using JetBrains . Annotations ;
78using PluginCore ;
89
910namespace QuickNavigate . Forms
@@ -17,10 +18,10 @@ public class ClassModelExplorerForm : Form
1718 public event ShowInHandler ShowInClassHierarchy ;
1819 public event ShowInHandler ShowInProjectManager ;
1920 public event ShowInHandler ShowInFileExplorer ;
20- protected readonly Settings Settings ;
21- protected readonly ContextMenu InputEmptyContextMenu = new ContextMenu ( ) ;
21+ [ NotNull ] protected readonly Settings Settings ;
22+ [ NotNull ] protected readonly ContextMenu InputEmptyContextMenu = new ContextMenu ( ) ;
2223
23- public ClassModelExplorerForm ( Settings settings )
24+ public ClassModelExplorerForm ( [ NotNull ] Settings settings )
2425 {
2526 Settings = settings ;
2627 InitializeContextMenu ( ) ;
@@ -37,7 +38,7 @@ protected override void Dispose(bool disposing)
3738
3839 protected void InitializeContextMenu ( )
3940 {
40- ContextMenuStrip = new ContextMenuStrip ( ) ;
41+ ContextMenuStrip = new ContextMenuStrip { Renderer = new DockPanelStripRenderer ( false ) } ;
4142 ContextMenuStrip . Items . Add ( new ToolStripMenuItem ( "&Goto Position Or Line" , PluginBase . MainForm . FindImage ( "67" ) , OnGotoLineOrPosition )
4243 {
4344 ShortcutKeyDisplayString = "G"
You can’t perform that action at this time.
0 commit comments