Esempio n. 1
0
        public ShellRightClickContextMenuClass()
        {
            const int SM_CXMENUCHECK = 71;
            const int SM_CYMENUCHECK = 72;

            mBitmapCorrectWidth  = DllImports.GetSystemMetrics(SM_CXMENUCHECK);
            mBitmapCorrectHeight = DllImports.GetSystemMetrics(SM_CYMENUCHECK);
        }
Esempio n. 2
0
 public int GetSystemMetrics(SystemMetric metric) => DllImports.GetSystemMetrics(metric);