Beispiel #1
0
 private void ChangeDesktopButton_Click(object sender, EventArgs e)
 {
     ChangeDesktop.Change_Desktop(DirectoryTextBox.Text);
 }
Beispiel #2
0
 private void DefaultDesktopButton_Click(object sender, EventArgs e)
 {
     ChangeDesktop.Change_Desktop(@"C:\Users\" + Environment.UserName + @"\Desktop\");
 }
Beispiel #3
0
 public static void Change_Desktop(string newPath)
 {
     ChangeDesktop.Change_Desktop(newPath);
 }