.net - Fix to the toolstrip system renderer
If you have created any custom controls for VB, C#, C++ or any other language then post them in here.
10 posts
Page 1 of 1
Err... Just a video of my bug fix to the toolstrip renderer lol
btw don't mind my swearing lol
Download my dll:
http://www.mediafire.com/?94f2q9ley0ad706
VB.net :
btw don't mind my swearing lol
Download my dll:
http://www.mediafire.com/?94f2q9ley0ad706
VB.net :
Code: Select all
C#:
Imports Agust1337.References.ToolStripRenderer
---
ToolStrip1.Renderer = New Renderer()
Code: Select all
C++:
using Agust1337.References.ToolStripRenderer;
---
ToolStrip1.Renderer = New Renderer();
Code: Select all
using namespace Agust1337::References::ToolStripRenderer;
---
toolStrip1->Renderer = gcnew Renderer();
Last edited by Agust1337 on Sat Dec 03, 2011 2:43 pm, edited 1 time in total.
Im srry that i cant +REP you now, but i will n the future! Nice solution!
Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
So Yeah! how many times you said that in your Vid
you dont sound Icelandic
nice video and looks pretty smart
Chris
you dont sound Icelandic
nice video and looks pretty smart
Chris
C++
Code: Select all
I think that works for C++, maybe replace . with ->, i don't have control over what is right yet.using namespace Agust1337::References::ToolStripRenderer;
---
ToolStrip1.Renderer = gcnew Renderer();
Last edited by MrAksel on Sat Dec 03, 2011 8:19 pm, edited 1 time in total.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
Yep, it works
Code: Select all
using namespace Agust1337::References::ToolStripRenderer;
---
toolStrip1->Renderer = gcnew Renderer();
Updated,
I've added ProfessionalRender thingy to it, and I've also renamed the classes.
VB.NET
I've added ProfessionalRender thingy to it, and I've also renamed the classes.
VB.NET
For the System:C#Code: Select allFor the Professional:Imports Agust1337.References.ToolStripRenderer --- ToolStrip1.Renderer = New SystemRenderer()
Code: Select allImports Agust1337.References.ToolStripRenderer --- ToolStrip1.Renderer = New ProfessionalRenderer()
For the System:C++Code: Select allFor the Professional:using Agust1337.References.ToolStripRenderer; --- toolStrip1.Renderer = new SystemRenderer():
Code: Select allusing Agust1337.References.ToolStripRenderer; --- toolStrip1.Renderer = new ProfessionalRenderer();
For the System:Code: Select allFor the Professional:using namespace Agust1337.References.ToolStripRenderer; --- toolStrip1->Renderer = gcnew SystemRenderer():
Code: Select allusing namespace Agust1337.References.ToolStripRenderer; --- toolStrip1->Renderer = gcnew ProfessionalRenderer();
You do not have the required permissions to view the files attached to this post.
Whats the difference between ProfessionalRenderer and SystemRenderer ?
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
Here, btw, im using my dll there lol
You do not have the required permissions to view the files attached to this post.
ooh, well it seems like the system one is more 'modern-ish'/nicer.
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
system depends on your os, if you have windows 7 it'd look like the second one in the pic, while professional looks the same on any os
10 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023