首页/技术开发/内容

运用VB.NET加密文件

技术开发2023-09-07 阅读()
*.rtf"

' Determine if the user selected a file name from the saveFileDialog.
If (saveFile1.ShowDialog() = DialogResult.OK) _
And (saveFile1.FileName.Length) > 0 Then

' Save the contents of the RichTextBox into the file.
SourceFile.SaveFile(saveFile1.FileName, _
RichTextBoxStreamType.PlainText)
End If
End Sub

Private Sub MenuNum_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuNum.Click
strNum = InputBox("请输入加密算子", "设置加密算子")
End Sub
End

第1页  第2页 

……

相关阅读