Click here to Skip to main content
15,906,329 members
Home / Discussions / C#
   

C#

 
GeneralRe: Render Vista Style ComboBox Pin
badtoto24-Dec-08 18:40
badtoto24-Dec-08 18:40 
GeneralRe: Render Vista Style ComboBox Pin
Lea Hayes26-Dec-08 8:16
Lea Hayes26-Dec-08 8:16 
Generalinsert images in rtf file Pin
panoskatws20-Apr-08 7:30
panoskatws20-Apr-08 7:30 
GeneralRe: insert images in rtf file Pin
mav.northwind20-Apr-08 7:44
mav.northwind20-Apr-08 7:44 
GeneralLoading an Icon Resource [modified] Pin
#realJSOP20-Apr-08 4:35
professional#realJSOP20-Apr-08 4:35 
GeneralRe: Loading an Icon Resource Pin
Scott Dorman20-Apr-08 4:50
professionalScott Dorman20-Apr-08 4:50 
GeneralRe: Loading an Icon Resource Pin
#realJSOP20-Apr-08 5:07
professional#realJSOP20-Apr-08 5:07 
GeneralRe: Loading an Icon Resource Pin
Scott Dorman20-Apr-08 5:14
professionalScott Dorman20-Apr-08 5:14 
John Simmons / outlaw programmer wrote:
I also tried typeof(this) in the icon's constructor call, and received the compiler error Type expected for "this".


Sorry...try this.GetType() or typeof([some custom type in the same assembly as the icon]).

John Simmons / outlaw programmer wrote:
so I changed them to "Embedded", but that had no effect at all.


Right, that won't have any visible effect. What you're doing is telling the compiler to embed the icons as resources into the assembly. The "Content" tells it to copy the files to the output directory.

Scott.

—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

[Forum Guidelines] [Articles] [Blog]

GeneralRe: Loading an Icon Resource Pin
#realJSOP20-Apr-08 5:41
professional#realJSOP20-Apr-08 5:41 
GeneralRe: Loading an Icon Resource Pin
Scott Dorman20-Apr-08 6:44
professionalScott Dorman20-Apr-08 6:44 
QuestionSorting data using BindingSource.Sort Pin
Alessandra7720-Apr-08 4:04
Alessandra7720-Apr-08 4:04 
QuestionOutofMemoryException Pin
Ian Grech20-Apr-08 2:57
Ian Grech20-Apr-08 2:57 
GeneralRe: OutofMemoryException Pin
Luc Pattyn20-Apr-08 3:10
sitebuilderLuc Pattyn20-Apr-08 3:10 
GeneralRe: OutofMemoryException Pin
Jordanwb20-Apr-08 4:09
Jordanwb20-Apr-08 4:09 
GeneralRe: OutofMemoryException Pin
Luc Pattyn20-Apr-08 13:08
sitebuilderLuc Pattyn20-Apr-08 13:08 
GeneralRe: OutofMemoryException Pin
Jordanwb20-Apr-08 13:24
Jordanwb20-Apr-08 13:24 
GeneralRe: OutofMemoryException Pin
Luc Pattyn20-Apr-08 14:07
sitebuilderLuc Pattyn20-Apr-08 14:07 
GeneralRe: OutofMemoryException Pin
Jordanwb20-Apr-08 15:46
Jordanwb20-Apr-08 15:46 
GeneralRe: OutofMemoryException Pin
Ian Grech20-Apr-08 23:40
Ian Grech20-Apr-08 23:40 
GeneralRe: OutofMemoryException Pin
Ian Grech22-Apr-08 22:14
Ian Grech22-Apr-08 22:14 
AnswerRe: OutofMemoryException Pin
Ian Grech28-Apr-08 10:52
Ian Grech28-Apr-08 10:52 
GeneralRe: OutofMemoryException Pin
Scott Dorman20-Apr-08 4:42
professionalScott Dorman20-Apr-08 4:42 
GeneralRe: OutofMemoryException Pin
Ian Grech20-Apr-08 23:24
Ian Grech20-Apr-08 23:24 
GeneralRe: OutofMemoryException Pin
Jordanwb21-Apr-08 2:39
Jordanwb21-Apr-08 2:39 
GeneralRe: OutofMemoryException Pin
Scott Dorman22-Apr-08 16:58
professionalScott Dorman22-Apr-08 16:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.