前端之家收集整理的这篇文章主要介绍了
[VB.NET]急,高手帮忙解决,谢谢!,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
急,高手帮忙
解决,谢谢! Imports System.Data.
sqlClient Public Class fmmain Dim strprogramid As String Dim bnfirstrun As Boolean Dim struserid As String ... Private Sub fmmain_Activated(ByVal sender As Object,ByVal e As System.EventArgs) Handles Me.Activated If bnfirstrun Then bnfirstrun = False Dim fmpassword As New fmpassword() If fmpassword.ShowDialog = Windows.Forms.DialogResult.Cancel Then Me.Close() Else struserid = fmpassword.myuser (fmpassword.myuser 有问题) End If End If End Sub ..... Private Sub bnexit_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles bnexit.Click If Message
Box.Show( 离开进销存管理系统?,Message
BoxButtons.YesNo,Message
BoxIcon.Question,Message
BoxDefaultButton.Button1) = Windows.Forms.DialogResult.Yes Then Me.Close() End If End Sub (Message
Box.Show( 离开进销存管理系统?,Message
BoxDefaultButton.Button1)有问题) 哪为高手帮助
解决一下啊 __________________________________________________________________________
原文链接:https://www.f2er.com/vb/263406.html