_filter.MouseUp += handler.MouseUp;\r
}\r
\r
- public void AddShipListPanel(ShipListPanel panel)\r
+ public void AddShipListPanel(ShipListPanel.ShipListPanel panel)\r
{\r
var handler = new ShipListPanelHandler(panel);\r
_filter.MouseDown += handler.MouseDown;\r
public event MouseHandler MouseMove, MouseDown, MouseUp;\r
\r
// ReSharper disable InconsistentNaming\r
+ // ReSharper disable IdentifierTypo\r
private const int WM_MOUSEMOVE = 0x0200;\r
private const int WM_LBUTTONDOWN = 0x0201;\r
\r
private const int WM_LBUTTONUP = 0x0202;\r
+ // ReSharper restore IdentifierTypo\r
// ReSharper restore InconsistentNaming\r
\r
public bool PreFilterMessage(ref Message m)\r
\r
private class ShipListPanelHandler\r
{\r
- private readonly ShipListPanel _panel;\r
+ private readonly ShipListPanel.ShipListPanel _panel;\r
private bool _touch;\r
private Point _mouseStart;\r
private int _barStart = -1;\r
private Point _scrollStart;\r
- private const int ScrollCount = ShipListPanel.LineHeight;\r
+ private const int ScrollCount = ShipListPanel.ShipListPanel.LineHeight;\r
\r
- public ShipListPanelHandler(ShipListPanel panel)\r
+ public ShipListPanelHandler(ShipListPanel.ShipListPanel panel)\r
{\r
_panel = panel;\r
}\r
private static extern int SetScrollPos(IntPtr hWnd, int nBar, int nPos, bool bRedraw);\r
\r
// ReSharper disable InconsistentNaming\r
+ // ReSharper disable IdentifierTypo\r
private const int GWL_STYLE = -16;\r
private const int WS_HSCROLL = 0x00100000;\r
\r
private const int WS_VSCROLL = 0x00200000;\r
+ // ReSharper restore IdentifierTypo\r
// ReSharper restore InconsistentNaming\r
\r
[DllImport("user32.dll")]\r