private void SetShortcutsAndSideButtons(GcNumberCell gcNumberCell1)
{
//In edit mode, hit the Alt+Subtract to switch the sign.
gcNumberCell1.ShortcutKeys.Add(Keys.Alt | Keys.Subtract, "SwitchSign");
gcNumberCell1.ShortcutKeys.Add(Keys.Alt | Keys.OemMinus, "SwitchSign");
gcNumberCell1.SideButtons.Clear();
gcNumberCell1.SideButtons.Add(new SpinButton());
}
Private Sub SetShortcutsAndSideButtons(ByVal gcNumberCell1 As GcNumberCell)
'In edit mode, hit the Alt+Subtract to switch the sign.
gcNumberCell1.ShortcutKeys.Add(Keys.Alt Or Keys.Subtract, "SwitchSign")
gcNumberCell1.ShortcutKeys.Add(Keys.Alt Or Keys.OemMinus, "SwitchSign")
gcNumberCell1.SideButtons.Clear()
gcNumberCell1.SideButtons.Add(New SpinButton())
End Sub