Thinker

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Thinker

Forum for story


    【当你认为全部都完成的时候】-检查Alt+E的Focus/Enter Quit & Delete Quit的Highlight位置

    Aueeins
    Aueeins
    呢喃的歌声


    帖子数 : 205
    积分 : 5229
    威望 : 0
    注册日期 : 2011-09-08
    地点 : SG

    【当你认为全部都完成的时候】-检查Alt+E的Focus/Enter Quit & Delete Quit的Highlight位置 Empty 【当你认为全部都完成的时候】-检查Alt+E的Focus/Enter Quit & Delete Quit的Highlight位置

    Post by Aueeins 2011-09-21, 4:29 pm

    检查Alt+E的Focus/Enter Quit & Delete Quit的Highlight位置
    Aueeins
    Aueeins
    呢喃的歌声


    帖子数 : 205
    积分 : 5229
    威望 : 0
    注册日期 : 2011-09-08
    地点 : SG

    【当你认为全部都完成的时候】-检查Alt+E的Focus/Enter Quit & Delete Quit的Highlight位置 Empty Re: 【当你认为全部都完成的时候】-检查Alt+E的Focus/Enter Quit & Delete Quit的Highlight位置

    Post by Aueeins 2011-09-21, 5:04 pm

    1.
    Private Sub btnPEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPEdit.Click
    If Me.btnPEdit.Enabled = False Then Exit Sub
    Try
    Call btnEdit_Click(sender, e)
    Me.txtClassification.Select()

    Catch ex As Exception
    MsgBox("<f01ClassificationEdit.btnPEdit_Click> " & ex.Message)
    End Try
    End Sub
    Aueeins
    Aueeins
    呢喃的歌声


    帖子数 : 205
    积分 : 5229
    威望 : 0
    注册日期 : 2011-09-08
    地点 : SG

    【当你认为全部都完成的时候】-检查Alt+E的Focus/Enter Quit & Delete Quit的Highlight位置 Empty Re: 【当你认为全部都完成的时候】-检查Alt+E的Focus/Enter Quit & Delete Quit的Highlight位置

    Post by Aueeins 2011-09-21, 5:27 pm

    3.
    Private Sub f01CostTypeMaster_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
    Try
    Select Case e.KeyCode
    Case Keys.Return
    If dgv01CostTypeMaster.Focused Then
    e.SuppressKeyPress = True
    pShowViewMode()
    Else
    System.Windows.Forms.SendKeys.Send("{TAB}")
    End If

    Case Keys.Escape
    Call btnExit_Click(sender, e)
    End Select
    Catch ex As Exception
    MsgBox("<f01CostTypeMaster.f01CostTypeMaster_KeyDown> " & ex.Message)
    End Try
    End Sub

      Current date/time is 2024-11-25, 4:45 pm