Public Class Form1
Dim filename As String
Dim a As Integer
Private Sub NewNToolStripMenuItem_Click(ByVal sender As , ByVal e As ) Handles ,
'新建
= ""
End Sub
Private Sub OpenOToolStripMenuItem_Click(ByVal sender As , ByVal e As ) Handles ,
'打开
Dim open As New OpenFileDialog
If = Then
(, )
filename =
End If
End Sub
Private Sub SaveSToolStripMenuItem_Click(ByVal sender As , ByVal e As ) Handles ,
'保存
If filename = "" Then
Dim save As New SaveFileDialog
If = Then
(, )
filename =
End If
Else
(filename, )
End If
End Sub
Private Sub SaveAsAToolStripMenuItem_Click(ByVal sender As ,
ByVal e As ) Handles
'另存为
Dim save As New SaveFileDialog
If = Then
(s
VB2005记事本 来自淘豆网m.daumloan.com转载请标明出处.