我设置Ctrl+A组合键用于全选,怎么没有生效?请指导下,谢谢!
FarPoint.Win.Spread.InputMap im = new FarPoint.Win.Spread.InputMap();
im = this.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused);
im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Control, Keys.A), FarPoint.Win.Spread.SpreadActions.SelectSheet);
im = this.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Control, Keys.A), FarPoint.Win.Spread.SpreadActions.SelectSheet); |