CaptureItPlus/Classes/KeyboardMapper.cs

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

namespace CaptureItPlus
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Runtime.InteropServices;
    using System.Windows.Forms;
    using CaptureItPlus.Libs;

    public class KeyboardMapper
    {
        private static Dictionary<int, string> _keys = new Dictionary<int, string>();

        [Category("Capture Modes"), Action("CaptureItPlus.Capturemodes.FullScreenCapture")]
        [Description("Keyboard shortcut for Fullscreen capture.")]
        public Keys FullScreen
        {
            get;
            set;
        }

        [Category("Capture Modes"), Action("CaptureItPlus.Capturemodes.FreeFormCapture")]
        [Description("Keyboard shortcut for FreeForm capture.")]
        public Keys FreeForm
        {
            get;
            set;
        }

        [Category("Capture Modes"), Action("CaptureItPlus.Capturemodes.RectangleCapture")]
        [Description("Keyboard shortcut for Rectangle capture.")]
        public Keys Rectangle
        {
            get;
            set;
        }

        [Category("Capture Modes"), Action("CaptureItPlus.Capturemodes.CircleCapture")]
        [Description("Keyboard shortcut for Circle Capture.")]
        public Keys Circle
        {
            get;
            set;
        }

        [Category("Capture Modes"), Action("CaptureItPlus.Capturemodes.FixedRegionCapture")]
        [Description("Keyboard shortcut for FixedRegion.")]
        public Keys FixedRegion
        {
            get;
            set;
        }

        [Category("Capture Modes"), Action("CaptureItPlus.Capturemodes.WindowCapture")]
        [Description("Keyboard shortcut for Window Capture.")]
        public Keys WindowCapture
        {
            get;
            set;
        }
后面还有 136 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。