2 instantiations of StatusState
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\CommandSet.CommandSetItem.cs (2)
110state = new StatusState(); 217state = new StatusState();
6 references to StatusState
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\CommandSet.CommandSetItem.cs (6)
26private static readonly Dictionary<EventHandler, StatusState> s_commandStatusHash = []; // Dictionary of the command statuses we are tracking. 108if (!s_commandStatusHash.TryGetValue(statusHandler, out StatusState? state)) 127if (_commandSet is not null && s_commandStatusHash.TryGetValue(_statusHandler, out StatusState? state)) 144if (_commandSet is not null && s_commandStatusHash.TryGetValue(_statusHandler, out StatusState? state)) 215if (!s_commandStatusHash.TryGetValue(_statusHandler, out StatusState? state)) 272if (s_commandStatusHash.TryGetValue(_statusHandler, out StatusState? state))