示例#1
0
        private IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
        {
            // Handle whatever Win32 message it is we feel like handling
            if (msg == 0x112)
            {
                if (wParam.ToInt32() == 1987)
                {
                    SettingWindow settingWindow = new SettingWindow();
                    settingWindow.Owner = this;
                    settingWindow.ShowDialog();
                    this.defaultPath = Settings.Settings.Default.lrcDirectory;
                }
            }
            else if (msg == 0x0219)
            {
            }

            return(IntPtr.Zero);
        }
示例#2
0
        private IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
        {
            // Handle whatever Win32 message it is we feel like handling
            if (msg == 0x112)
            {
                if (wParam.ToInt32() == 1987)
                {
                    SettingWindow settingWindow = new SettingWindow();
                    settingWindow.Owner = this;
                    settingWindow.ShowDialog();
                    this.defaultPath = Settings.Settings.Default.lrcDirectory;
                }
            }
            else if (msg == 0x0219)
            {

            }

            return IntPtr.Zero;
        }