|
-
Mar 9th, 2012, 07:30 AM
#1
Member
Re: 100% Customizable MenuStrip / ToolStrip / StatusStrip, including common presets
I'd want to implement your AppearanceControl -it's nice, but when I set a form for your AppearaceEditor it requires a parameter (ap) (I downloaded CustomizableStripsLibrary.zip ). What does it mean and what must I do?
Alex
-
Mar 9th, 2012, 07:39 AM
#2
Re: 100% Customizable MenuStrip / ToolStrip / StatusStrip, including common presets
 Originally Posted by RajaFaisal
Hello dear,
I am having a problem while I try to add these files in a vb class library project and recieve a lot of errors like 'Error 101 Type 'Color' is not defined.
' . As i am a newbie in VB.Net and have no clue how to deal with these errors. M i missing something to add ? Can someone help me n this 
Most likely you don't have a reference to System.Drawing, which includes the System.Drawing.Drawing2D namespace in which the Color type exists. You mention a Class Library project which indeed by default does not have this reference, so all you need to do is add a reference to System.Drawing and then correct the errors by hovering over them (in the code editor, not the error list), clicking the little button that pops up and following the instructions.
 Originally Posted by alexkn
I'd want to implement your AppearanceControl -it's nice, but when I set a form for your AppearaceEditor it requires a parameter (ap) (I downloaded CustomizableStripsLibrary.zip ). What does it mean and what must I do?
Alex
Not sure what you mean, what does "set a form for your AppearanceEditor" mean?
-
Mar 9th, 2012, 10:29 AM
#3
Member
Re: 100% Customizable MenuStrip / ToolStrip / StatusStrip, including common presets
I do new Windows Form project and the first form of this project invokes another form (the frmAppearanceEditor ), but the last requires a parameter (ap).
-
Oct 10th, 2014, 12:29 PM
#4
New Member
Re: 100% Customizable MenuStrip / ToolStrip / StatusStrip, including common presets
 Originally Posted by NickThissen
Most likely you don't have a reference to System.Drawing, which includes the System.Drawing.Drawing2D namespace in which the Color type exists. You mention a Class Library project which indeed by default does not have this reference, so all you need to do is add a reference to System.Drawing and then correct the errors by hovering over them (in the code editor, not the error list), clicking the little button that pops up and following the instructions.
Hello Nick, I absolutely love the customizable strips, I am having the same issue as this user. I have added the appropriate references but it comes up with 102 errors... They vary from: 'Invalidate is not a member of CustomizableStrips.CustomizableMenuStrip', 'Type color is not defined' and 'Value of type CustomizableStrips.CustomizableToolStrip cannot be converted to Systems.Windows.Form.Control' What should I do? When hovering over the errors in the code editor, they suggest generating method stubs or classes.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|