Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 12th, 2008, 4:54 AM   #1
BstrucT
Hobbyist Programmer
 
BstrucT's Avatar
 
Join Date: Dec 2007
Location: Durban, South-Africa
Posts: 118
Rep Power: 1 BstrucT is on a distinguished road
Send a message via MSN to BstrucT
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, 8 views)
__________________
>BstrucT
BstrucT is offline   Reply With Quote
Old May 12th, 2008, 6:36 AM   #2
Robocop
Programmer
 
Join Date: Sep 2004
Posts: 42
Rep Power: 0 Robocop is on a distinguished road
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
Robocop is offline   Reply With Quote
Old May 12th, 2008, 8:29 AM   #3
BstrucT
Hobbyist Programmer
 
BstrucT's Avatar
 
Join Date: Dec 2007
Location: Durban, South-Africa
Posts: 118
Rep Power: 1 BstrucT is on a distinguished road
Send a message via MSN to BstrucT
Re: Drag and Drop Text in C#

Just dragged one, then started copying and pasting, so it's not too bad.

hehe

>BstrucT
__________________
>BstrucT
BstrucT is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drag n' Drop tayspen C# 2 Oct 22nd, 2005 2:46 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:01 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC