HandleUpDownArrows() 정적인 개인적인 메소드

static private HandleUpDownArrows ( KeyEventArgs e, IVwRootBox rootBox, SelectionHelper curSel, List wsList, int flid ) : void
e System.Windows.Forms.KeyEventArgs
rootBox IVwRootBox
curSel SIL.FieldWorks.Common.RootSites.SelectionHelper
wsList List
flid int
리턴 void
예제 #1
0
 /// <summary>
 /// Override to handle KeyUp/KeyDown within a multi-string field -- LT-13334
 /// </summary>
 protected override void OnKeyDown(KeyEventArgs e)
 {
     base.OnKeyDown(e);
     if (!e.Handled && (e.KeyCode == Keys.Up || e.KeyCode == Keys.Down))
     {
         MultiStringSelectionUtils.HandleUpDownArrows(e, m_rootb, RootSiteEditingHelper.CurrentSelection,
                                                      WritingSystemsToDisplay, m_flid);
     }
 }
예제 #2
0
 /// <summary>
 /// User pressed a key.
 /// </summary>
 protected override void OnKeyDown(KeyEventArgs e)
 {
     if (!m_editingHelper.HandleOnKeyDown(e))
     {
         base.OnKeyDown(e);
     }
     if (!e.Handled && (e.KeyCode == Keys.Up || e.KeyCode == Keys.Down))
     {
         MultiStringSelectionUtils.HandleUpDownArrows(e, RootBox, EditingHelper.CurrentSelection, WritingSystems, kflid);
     }
 }