/// <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); }
/// <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); }