Hey mir ist grade aufgefallen das mein Pfad immer nur den Ausgangspfad anzeigt was mir auch kla is warum xD (öffnungspfad = anzeigepfad xD) !! Allerdings will ich das mir die textbox den komplettenpfad anzeigt den ich zuletzt geöffnet hatte ! was muss ich dazu ändern ?
C#-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10:
| private void button_Click(object sender, EventArgs e) { openFileDialog.InitialDirectory = @"C\"; openFileDialog.Filter = "Icon|*.ico|PNG|*.png*"; if (openFileDialog.ShowDialog() == DialogResult.OK) textEdit1.Text = openFileDialog.InitialDirectory; } |
Gruß
Ph@r@oXX
Moderiert von
Christian S.: Topic aus Basistechnologien verschoben am Fr 29.08.2008 um 10:51