FarPoint.Win.Spread.InputMap im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused);
FarPoint.Win.Spread.ActionMap am = fpSpread1.GetActionMap();
im.Put(new FarPoint.Win.Spread.Keystroke(Keys.F, Keys.Control), "ShowSearchDialog");
am.Put("ShowSearchDialog", new ShowSearchDialog());
这的代码放哪里?哪个事件里? |