![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Hobbyist Programmer
Join Date: Dec 2007
Location: Durban, South-Africa
Posts: 193
Rep Power: 1
![]() |
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
__________________
Be kinder than necessary because everyone you meet is fighting some kind of battle. |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Sep 2004
Posts: 47
Rep Power: 0
![]() |
Re: Drag and Drop Text in C#
Maybe out of topic, but:
I"m interested to see the answer for this: Did you drag and drop all those textboxes manually from the toolbox? Or did you do it some other way? Thanks |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Dec 2007
Location: Durban, South-Africa
Posts: 193
Rep Power: 1
![]() |
Re: Drag and Drop Text in C#
Just dragged one, then started copying and pasting, so it's not too bad.
hehe >BstrucT
__________________
Be kinder than necessary because everyone you meet is fighting some kind of battle. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Drag n' Drop | tayspen | C# | 2 | Oct 22nd, 2005 2:46 PM |