Esempio n. 1
0
 /// <summary>User has pressed one of our shortcut keys.</summary>
 /// <param name="sender">Event sender</param>
 /// <param name="e">Event arguments</param>
 private void OnShortcutKeyPress(object sender, KeysArgs e)
 {
     if (e.Keys == ConsoleKey.F5)
     {
         contextMenu.RunAPSIM(sender, null);
     }
 }
Esempio n. 2
0
 /// <summary>User has pressed one of our shortcut keys.</summary>
 /// <param name="sender">Event sender</param>
 /// <param name="e">Event arguments</param>
 private void OnShortcutKeyPress(object sender, KeysArgs e)
 {
     if (e.Keys == System.Windows.Forms.Keys.F5)
     {
         ContextMenu contextMenu = new ContextMenu(this);
         contextMenu.RunAPSIM(sender, null);
     }
 }
Esempio n. 3
0
 /// <summary>User has pressed one of our shortcut keys.</summary>
 /// <param name="sender">Event sender</param>
 /// <param name="e">Event arguments</param>
 private void OnShortcutKeyPress(object sender, KeysArgs e)
 {
     if (e.Keys == ConsoleKey.F5)
     {
         ContextMenu contextMenu = new ContextMenu(this);
         ApsimXFile.Links.Resolve(contextMenu);
         contextMenu.RunAPSIM(sender, null);
     }
 }
Esempio n. 4
0
 /// <summary>User has pressed one of our shortcut keys.</summary>
 /// <param name="sender">Event sender</param>
 /// <param name="e">Event arguments</param>
 private void OnShortcutKeyPress(object sender, KeysArgs e)
 {
     if (e.Keys == System.Windows.Forms.Keys.F5)
     {
         ContextMenu contextMenu = new ContextMenu(this);
         contextMenu.RunAPSIM(sender, null);
     }
 }
Esempio n. 5
0
 /// <summary>User has pressed one of our shortcut keys.</summary>
 /// <param name="sender">Event sender</param>
 /// <param name="e">Event arguments</param>
 private void OnShortcutKeyPress(object sender, KeysArgs e)
 {
     if (e.Keys == ConsoleKey.F5)
     {
         ContextMenu contextMenu = new ContextMenu(this);
         contextMenu.RunAPSIM(sender, null);
     }
 }