The following code does not save the data to file.
Sub ListView1_ItemClick (Position As Int, Value As Object)
Dim TextWriter2 As TextWriter
TextWriter2.Initialize(File.OpenOutput(File.DirInternal,Value & ".rls", True))
TextWriter2.WriteLine(EditItem.Text)
TextWriter2.Close
Panel1.Visible = False
ListView1.Clear
EditItem.Text = ""
Msgbox("Item successfully added.","Success")
End Sub
Sub ListView1_ItemClick (Position As Int, Value As Object)
Dim TextWriter2 As TextWriter
TextWriter2.Initialize(File.OpenOutput(File.DirInternal,Value & ".rls", True))
TextWriter2.WriteLine(EditItem.Text)
TextWriter2.Close
Panel1.Visible = False
ListView1.Clear
EditItem.Text = ""
Msgbox("Item successfully added.","Success")
End Sub