VB2005ã§éçºãã¦ããã®ã§ããã FormClosingã¤ãã³ãã®ä¸ã§ãFormã®çµäºã¤ãã³ããåãæ¶ãã«ã¯ã©ããããããã§ããããï¼ ãã¨ãã°ããããªã³ã¼ãããã£ãããçµäºã¤ãã³ãã®åãæ¶ãã«ã¯ãªãã¨æ¸ãããããã§ããããï¼ Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing If TextBox1.Text = "01" Then MsgBox("å®äºï¼ï¼", MsgBoxStyle.OkCancel) Else ' ããã«åæ¶çµäºã®ã³ã¼ããæ¸ãããããã®ã§ããï¼ End If End Sub ããã¾ããããã¢ããã¤ã¹ããé¡ããã¾ãã éçºç°å¢ï¼ XinXP Pro SQL
{{#tags}}- {{label}}
{{/tags}}