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