示例#1
0
文件: ARen.cs 项目: burstas/rmps
        /// <summary>
        /// 快捷键
        /// </summary>
        public void ShowShortCuts()
        {
            DataTable dt = new DataTable();
            dt.Columns.Add("Key");
            dt.Columns.Add("Memo");
            foreach (KeyStroke<ARen> stroke in _XmlMenu.KeyStrokes)
            {
                dt.Rows.Add(stroke.Key, stroke.Memo);
            }

            HotKeys keys = new HotKeys(Me.Amon.Properties.Resources.Icon, dt);
            keys.ShowDialog(this);
        }
示例#2
0
文件: WPwd.cs 项目: burstas/rmps
        /// <summary>
        /// 快捷键
        /// </summary>
        public void ShowShortCuts()
        {
            DataTable dt = new DataTable();
            dt.Columns.Add("Key");
            dt.Columns.Add("Memo");
            foreach (Stroke<WPwd> stroke in _XmlMenu.Strokes)
            {
                dt.Rows.Add(stroke.Key, stroke.Memo);
            }

            HotKeys keys = new HotKeys(Me.Amon.Properties.Resources.Icon, dt);
            BeanUtil.CenterToParent(keys, this);
            keys.Show(this);
        }