open text file

  1. D

    Question open text files with my notepad...

    hi everybody, i created my own notepad and it can open files with openFileDialog. but i also want that if i select a text file, and i say "open with" my notepad... that my notepad will show that text file... so not with openFileDialog or someting like that... Thanks!