Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Visual Basic .NET only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Visual Basic .NET
Can I use one Imageslist for all form in my apps?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
apatiuthai
New Member
Join Date:
Jan 2010
Posts:
5
#1
Can I use one Imageslist for all form in my apps?
Jan 1 '10, 07:56 AM
Can I use one Imageslist for all form in my apps?
like data module in delphi
thanks very much
tlhintoq
Recognized Expert
Specialist
Join Date:
Mar 2008
Posts:
3532
#2
Jan 1 '10, 08:48 AM
Your question is pretty much non-understandable. It makes little sense.
Comment
Post
Cancel
apatiuthai
New Member
Join Date:
Jan 2010
Posts:
5
#3
Jan 1 '10, 09:20 AM
yes sir.
i'm have imagelist on frmMain and i add many icon to it
and i create new form and How can I use picture in frmMain.ImageLi st1 from another form
Comment
Post
Cancel
tlhintoq
Recognized Expert
Specialist
Join Date:
Mar 2008
Posts:
3532
#4
Jan 1 '10, 09:28 AM
put the imagelist in program.cs instead of frmMain.
Then you can reach it from any form
Program.imageli st
Comment
Post
Cancel
apatiuthai
New Member
Join Date:
Jan 2010
Posts:
5
#5
Jan 1 '10, 09:51 AM
sorry i'm new for vb.net
you said program.cs
what file in vb
Comment
Post
Cancel
tlhintoq
Recognized Expert
Specialist
Join Date:
Mar 2008
Posts:
3532
#6
Jan 1 '10, 07:45 PM
I don't do VB. What file is the primary file for your program that calls the first form to open?
Comment
Post
Cancel
apatiuthai
New Member
Join Date:
Jan 2010
Posts:
5
#7
Jan 2 '10, 02:33 AM
frmmain.vb is my first form and I have Image list on this form.
Comment
Post
Cancel
tlhintoq
Recognized Expert
Specialist
Join Date:
Mar 2008
Posts:
3532
#8
Jan 2 '10, 04:12 PM
Sorry. In C# the first code that runs is the Program.cs file. That in turn opens the forms. I have just now seen that a VB project is a bit different.
I think I'll bow out since this isn't my primary coding language.
Comment
Post
Cancel
apatiuthai
New Member
Join Date:
Jan 2010
Posts:
5
#9
Jan 3 '10, 06:48 AM
Thank you tlhintoq. :)
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment