Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
AnswerRe: ColorDialog. Pin
Brisingr Aerowing7-Dec-12 17:12
professionalBrisingr Aerowing7-Dec-12 17:12 
GeneralRe: ColorDialog. Pin
Septimus Hedgehog8-Dec-12 0:05
Septimus Hedgehog8-Dec-12 0:05 
GeneralRe: ColorDialog. Pin
Brisingr Aerowing8-Dec-12 7:35
professionalBrisingr Aerowing8-Dec-12 7:35 
GeneralRe: ColorDialog. Pin
Septimus Hedgehog8-Dec-12 9:27
Septimus Hedgehog8-Dec-12 9:27 
GeneralRe: ColorDialog. Pin
Brisingr Aerowing8-Dec-12 12:46
professionalBrisingr Aerowing8-Dec-12 12:46 
GeneralRe: ColorDialog. Pin
Septimus Hedgehog8-Dec-12 22:09
Septimus Hedgehog8-Dec-12 22:09 
GeneralRe: ColorDialog. Pin
Brisingr Aerowing9-Dec-12 5:52
professionalBrisingr Aerowing9-Dec-12 5:52 
GeneralRe: ColorDialog. Pin
Septimus Hedgehog9-Dec-12 21:35
Septimus Hedgehog9-Dec-12 21:35 
Zac, I ran into a problem which I'll explain. I downloaded the ColorDialogEx, unzipped it and loaded the solution in VS2012, compiled it, successful. There were a couple of minor warnings telling me == and != were implemented but no override for Object.Equals and Object.GetHashCode have been defined, but nothing serious.

I then created a new winform app in 2012 and I added the ColorDialogExe.dll to the General toolbox category. It added a few components. I selected the ColorPickerCombobox component and dropped it on the form. It shows correctly. I didn't change any of the properties, etc.

When I run the app it throws an exception in ImagesUtil's GetToolbarImageList. Here's an extract of the exception:

System.ArgumentException was unhandled
HResult=-2147024809
Message=Resource 'ColorPicker.Resources.popupcontainerbuttons.bmp' cannot be found in class 'resfinder'.
Source=System.Drawing
StackTrace:
at System.Drawing.Bitmap..ctor(Type type, String resource)
at ColorPicker.ImagesUtil.GetToolbarImageList(Type type, String resourceName, Size imageSize, Color transparentColor) in c:\Temp\ColorDialogEx\ColorDialogEx\Resources\Images.cs:line 13
at ColorPicker.PopupContainerImages.ImageList() in c:\Temp\ColorDialogEx\ColorDialogEx\Resources\Images.cs:line 63
at ColorPicker.PopupContainerImages.Image(eIndexes index) in c:\Temp\ColorDialogEx\ColorDialogEx\Resources\Images.cs:line 68
at ColorPicker.DropdownContainer`1.OnPaint(PaintEventArgs e) in c:\Temp\ColorDialogEx\ColorDialogEx\DropdownContainerControl.cs:line 335
at System.Windows.Forms.Control.PaintTransparentBackground(PaintEventArgs e, Rectangle rectangle, Region transparentRegion)
at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle, Color backColor, Point scrollOffset)
at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle)

Do you think I need to do something else before I can use it?
"I do not have to forgive my enemies, I have had them all shot." — Ramón Maria Narváez (1800-68).
"I don't need to shoot my enemies, I don't have any." - Me (2012).

GeneralRe: ColorDialog. Pin
Brisingr Aerowing10-Dec-12 6:10
professionalBrisingr Aerowing10-Dec-12 6:10 
GeneralRe: ColorDialog. Pin
Brisingr Aerowing10-Dec-12 6:15
professionalBrisingr Aerowing10-Dec-12 6:15 
GeneralRe: ColorDialog. Pin
Septimus Hedgehog10-Dec-12 6:21
Septimus Hedgehog10-Dec-12 6:21 
GeneralRe: ColorDialog. Pin
Brisingr Aerowing10-Dec-12 9:16
professionalBrisingr Aerowing10-Dec-12 9:16 
QuestionDbConnectionBuilder and class question Pin
Darkmatter56-Dec-12 8:21
Darkmatter56-Dec-12 8:21 
AnswerRe: DbConnectionBuilder and class question Pin
Eddy Vluggen6-Dec-12 14:30
professionalEddy Vluggen6-Dec-12 14:30 
QuestionNo scrollbars when executing program on another PC [Solved] Pin
Member 96474616-Dec-12 7:43
Member 96474616-Dec-12 7:43 
AnswerRe: No scrollbars when executing program on another PC Pin
Alan N6-Dec-12 13:32
Alan N6-Dec-12 13:32 
QuestionCompare rows of a datagridview and remove repeated rows Pin
GREG_DORIANcod6-Dec-12 6:12
professionalGREG_DORIANcod6-Dec-12 6:12 
AnswerRe: Compare rows of a datagridview and remove repeated rows Pin
Member 96474616-Dec-12 8:30
Member 96474616-Dec-12 8:30 
Question[OptionalField] prevents deserialization [SOLVED] Pin
Alan Balkany6-Dec-12 5:20
Alan Balkany6-Dec-12 5:20 
QuestionShare datalayer in memory Pin
RICARDOR2708746-Dec-12 5:14
RICARDOR2708746-Dec-12 5:14 
AnswerRe: Share datalayer in memory Pin
Eddy Vluggen6-Dec-12 5:32
professionalEddy Vluggen6-Dec-12 5:32 
QuestionLocalize ColorDialog Pin
David Knechtges6-Dec-12 4:28
David Knechtges6-Dec-12 4:28 
AnswerRe: Localize ColorDialog Pin
Brisingr Aerowing7-Dec-12 17:23
professionalBrisingr Aerowing7-Dec-12 17:23 
QuestionHow to get enum as parameter thru interface Pin
MichCl6-Dec-12 4:00
MichCl6-Dec-12 4:00 
AnswerRe: How to get enum as parameter thru interface Pin
DaveyM696-Dec-12 4:08
professionalDaveyM696-Dec-12 4:08 

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.