Hier ein Beispielcode, wie man in C++ mit einer CLR anwedung eine Datei laden kann. Realisiert wird dies durch die Benutzung des openFileDialog sowie eines Stream's und dazugehörigem StreamReader.
Den Filter für Dateien habe ich auf Text Dateien gestellt. Als andere Option wird auch "All files" geboten, wodurch alle dateien sichtbar sind. Meine Textbox auf der Form trägt den Namen "txtBX_EinAus".
Die Namensräume
Das Event an sich
Congratulations @der-schlitzer! You received a personal award!
Click here to view your Board
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @der-schlitzer! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit