View Single Post
Old May 12th, 2008, 4:54 AM   #1
BstrucT
Hobbyist Programmer
 
BstrucT's Avatar
 
Join Date: Dec 2007
Location: Durban, South-Africa
Posts: 194
Rep Power: 1 BstrucT is on a distinguished road
Drag and Drop Text in C#

Hi Guys

Busy learning the Drag and Drop events in C#, but cannot find any tutorials on the following subject...

I am currently using StreamWriter() and StreamReader() to save user- entered data of all my textboxes, and to open them again.

Is it possible at all to use drag and drop of the written file ( saved with .FILE ext ) from it's directory, to my form, and populate the textboxes, as it would with StreamReader()?

Can Drag and Drop raise the StreamReader() method as it is originally defined?

Attached Pic should clarify my intentions.

>BstrucT
Attached Images
File Type: jpg pic.jpg (525.6 KB, 9 views)
__________________
Be kinder than necessary because everyone you meet is fighting some kind of battle.
BstrucT is offline   Reply With Quote