
Forma eklemeniz gereken araçlar
2 Button, 2 Label, 2 TextBox
Imports System.IO Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click File.Copy(TextBox1.Text, TextBox2.Text) End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If File.Exists(TextBox2.Text) Then File.Delete(TextBox1.Text) End If End Sub End Class
ads
Hiç yorum yok: