BEurtle.IssueDetail.IssueDetail_KeyDown C# (CSharp) Méthode

IssueDetail_KeyDown() private méthode

private IssueDetail_KeyDown ( object sender, KeyEventArgs e ) : void
sender object
e System.Windows.Forms.KeyEventArgs
Résultat void
        private void IssueDetail_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.F5)
            {
                if (!CommentEdit.Visible || ButtonCancel.Visible)
                    MessageBox.Show(this, "Cannot refresh when editing", "Message from BEurtle", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                else
                {
                    loadIssue();
                }
                e.Handled = true;
            }
        }