Beispiel #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);
     }
 }
Beispiel #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);
     }
 }
Beispiel #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);
     }
 }
Beispiel #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);
     }
 }
Beispiel #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);
     }
 }