I woundant know how to I only learnt c# a couple of hours ago
Sent from my iPhone using Tapatalk
I woundant know how to I only learnt c# a couple of hours ago
Sent from my iPhone using Tapatalk
Here's the VB code I use in my Editors to load/save the Username for the Login Form. You'll have to convert it to C# and change the UsernameTextBox to your Money Label thing. Just change the stuff I put in Red to what you are using in your Source Code.
LOAD:
SAVE: (Put inside of a SaveButton.Click)Code:Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim temp As String = System.IO.Path.GetTempPath If System.IO.File.Exists(temp & "\360HavenUsername.dat") Then UsernameTextBox.Text = System.IO.File.ReadAllText(temp & "\360HavenUsername.dat") End If End Sub
Code:Dim temp As String = System.IO.Path.GetTempPath System.IO.File.WriteAllText(temp & "\360HavenUsername.dat", UsernameTextBox.Text) response.Close()
Great job Matthew keep it up :D