public void CreateFolder() { string tempT = addressBox.Text; NameSetForm penama = new NameSetForm(); penama.mf = this; penama.mode = "createFolder"; penama.source = tempT; penama.Show(); }
public void RenameFile() { string tempT = addressBox.Text; string selectedItem = tempT + "\\" + listView1.SelectedItems[0].Text; NameSetForm penama = new NameSetForm(); penama.mf = this; penama.textBox1.Text = listView1.SelectedItems[0].Text; penama.source = selectedItem; penama.Show(); }