componentfactory / krypton Goto Github PK
View Code? Open in Web Editor NEWKrypton WinForms components for .NET
License: BSD 3-Clause "New" or "Revised" License
Krypton WinForms components for .NET
License: BSD 3-Clause "New" or "Revised" License
Is there any ways to change MonthCalendar bolded dates style? As-is its look kinda not bold enough.
I have a Ribbon Tab that works correctly, but the click on tabs is not working as expected.
When I click one tab, I have to click another control before I can click another tab. If I don't do this, the tab control apears as if it were not clickable, it doesn't react graphically to the mouse hovering. I only use the selectedtabchanged event to know which tab was clicked.
Thanks!
Hello Phil,
First of all I would like to thank you for making this amazing tool available to developers.
I'm having trouble using it, I've been trying for 5 days and I can not do it.
Could you kindly help me and everyone who has not been able to make KryptonForm work to use the tools so far?
thx
We use the Office 2010 Palette for our Krypton controls. Moving forward, we want to use the standard windows frame. This can easily be done by disabling chrome, however the ribbon has extra space between it and the top of the window. I notice that the ribbon examples has standard window frames with chrome enabled. I couldn't figure out how it is done in the example. Any guidance would be appreciated.
After creating a manifest for the help files using MSHC Migrate and loading it into Microsoft Help Viewer, I get an error and a blank page except for the page title.
Hi, I thought i would write this to help people install and use the Krypton Suite within Visual Studio 2013 and Later.
Download Krypton Suite
https://github.com/ComponentFactory/Krypton/tree/2013
Unzip to a location on your HDD. Navigate to the "Bin" folder and create a new folder "controls VS 2013". copy all 6 Krypton dll files to the new folder, Note: Only copy DLL's from Bin Folder.
Krypton.Design.dll
Krypton.Docking.dll
Krypton.Navigator.dll
Krypton.Ribbon.dll
Krypton.Toolkit.dll
Krypton.Workspace.dll
Create a new folder in programs folder -
C:\Program Files (x86)\Component Factory\Krypton Toolkit 4.5.0\Bin
Copy the dll folder you created earlier into the "Bin" folder,
C:\Program Files (x86)\Component Factory\Krypton Toolkit 4.5.0\Bin\controls VS 2013\
goto: Start >> All Programs >> Visual Studio 2013 >> Visual Studio Tools
right click "Developer Command Prompt for VS2013" run as Administrator.
change directory as follows (note: edit the SDK version folder to what you have installed, this
example uses " \v8.1A\ "as seen below.)
paste in command window
cd C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\
Paste the following one at a time then press enter. This will register the components in the
Assembly Folder. You will be notified the assembly has been successfully installed.
gacutil.exe -i "C:\Program Files (x86)\Component Factory\Krypton Toolkit 4.5.0\Bin\controls VS 2013\ComponentFactory.Krypton.Design.dll"
gacutil.exe -i "C:\Program Files (x86)\Component Factory\Krypton Toolkit 4.5.0\Bin\controls VS 2013\ComponentFactory.Krypton.Docking.dll"
gacutil.exe -i "C:\Program Files (x86)\Component Factory\Krypton Toolkit 4.5.0\Bin\controls VS 2013\ComponentFactory.Krypton.Navigator.dll"
gacutil.exe -i "C:\Program Files (x86)\Component Factory\Krypton Toolkit 4.5.0\Bin\controls VS 2013\ComponentFactory.Krypton.Ribbon.dll"
gacutil.exe -i "C:\Program Files (x86)\Component Factory\Krypton Toolkit 4.5.0\Bin\controls VS 2013\ComponentFactory.Krypton.Toolkit.dll"
gacutil.exe -i "C:\Program Files (x86)\Component Factory\Krypton Toolkit 4.5.0\Bin\controls VS 2013\ComponentFactory.Krypton.Workspace.dll"
Once installed, Reboot computer.
Open Visual Studio 2013 or later in Administrator mode.
a. Create a new Windows Form Project.
b. add new tab in ToolBox menu > Krypton Suite
c. right click and select "Choose Items"
d. In the Choose Items Dialog box, select .Net Framework Components. Select Browse Button >
Navigate to your Folder in the directory you created:
C:\Program Files (x86)\Component Factory\Krypton Toolkit 4.5.0\Bin\controls VS 2013\
e. select all Krypton dll files, select open to import, Visual Studio will show an error dialog box, select
ok, Visual Studio will show another dialog box prompting that the components are installed but
they are Hidden in the ToolBox Menu, select ok.
right click your Project and select Properties, select Application > Target Framework,
select .Net Framework 4.0 or Higher, click save, then save your Project. Go to ToolBox Menu
and now you can use the Krypton Suite Components.
Tested on Visual Studio 2013 and 2015 MSDN Subscriber Versions.
:)
Hi,
i have 5 KryptonRibbonTab (Tab1 - Tab5). Is it possible that Tab2-Tab5 inerhits from Tab1?
Hi.
I need insert TabControl to a Form, but the design of them is not accepted. The Windows Forms TabControl can't change color for tabs.
Can you add TabControl control to this library based on Windows Form Control and extend it to cooperate with Krypton themes?
Best Regards
Bartłomiej Ekiert
After changing a regular TreeView to a KryptonTreeView, the double click event no longer works. The event handler is still assigned correctly:
this.uiNavigatorTreeView.DoubleClick += new System.EventHandler(this.uiNavigatorTreeView_DoubleClick);
private void uiNavigatorTreeView_DoubleClick(object sender, EventArgs e)
{
OpenSelectedItem();
}
Hi! First of all, this is not a license issue, because I can drop controls on forms and they show up properly.
I was migrating some user controls to krypton components, and suddenly, all krypton text boxes have disappeared from the user control. They show up inside the combobox selector inside properties, and the designer code is present, but they don't show up neither in design time, nor debug time.
Some idea? Thanks!
I know it's a great component. Now is that open source for all user and no any limit? or still a commercial product we need to pay?
I have a window with a KryptonDockingManager andI can add pages on it, I want to disable (in some cases) the ability to float and dock to sides the pages, I know how to avoid floating, but I don´t know how to avoid docking to sides.
Thanks.
Is there a easy way to show popups? for example, clicking a button and then show a popup with controls inside.
Hi,
is there way to show a tooltip over a combobox when text does not fit?
Regards
Martin
I tried to change the rounding property wich it doesnt has effect
I have a KryptonNavigator with some Buttons, I need to programatically show the button tooltip.
Is this possible?
Hey,
after two Years i will start to develop again und want to use Krypton Ribbon with C# und VS2013.
After a time i get the dll working with this Guide https://github.com/ComponentFactory/Krypton/issues/16.
Thanks a lot for this, i´m still learning and this Guide was great for me.
Now i added my Testproject an KryptonManager, KryptonCheckbox and KryptonRibbon.
Until this time the Project is working.
I added References to Design.dll // Toolkit.dll // Ribbon.dll.
Now i want to use "KryptonForm"
At the Moment i change "Form1 : Form" to "Form1 : KryptonForm"
and "using ComponentFactory.Krypton.Toolkit;" it i´sn´t posibble to start the Projekt
Can anybody help me what to do?
Thanks
Greetings
Daniel
Krypton ContextMenu is awesome, but I can't attach it to a krypton DataGridView, because the KryptonContextMenu option isn't there, only the ContextMenu. Can I use a krypton ContextMenu with a kryton DataGridView?
Thanks!
Setting cue banner does not work for the KryptonTextbox
Hello,
We are using a Ribbon with some panels with anchor (right + bottom) and it is not working well in .net 4.
But, If I do the same on .net 2 its work fine.
First, let me say this is a really awesome toolkit! Thanks for making it available.
Is documentation available in PDF or online.... or better, able to be installed into VS2015? I have found the CAB file that contains the mshc file but don't know how to use it. Is there a corresponding manifest file somewhere? Any help will be appreciated!
Hello,
i get sometimes an exception when the system is suspendend or hibernated:
System.InvalidOperationException: The object is currently in use elsewhere..
bei System.Drawing.Graphics.GetHdc()
bei System.Drawing.BufferedGraphics.RenderInternal(HandleRef refTargetDC, BufferedGraphics buffer)
bei System.Drawing.BufferedGraphics.Render()
bei System.Windows.Forms.Control.WmPaint(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.PropertyGridInternal.PropertyGridView.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
which may link to some not released device context handle. It occurs very sporadically.
Regards
Martin
Hello there,
I'm having a little difficulty with my Krypton installation.
I've managed to install the Krypton Components into the GAC as per the instructions - the controls all work as expected, no problems there. I remember the old Krypton installer put a Krypton Form template into the New Project dialog, but this obviously doesn't happen now.
How would I go about changing the default form style from the Windows look to the Krypton look? I'd like my project to look uniform, and having the default Windows style ruins the effect for obvious reasons!
I understand from the help file that one must inherit from KryptonForm as opposed to Form. I see from other Krypton projects I have found that the MainForm is found in ComponentFactory.Krypton.Toolkit.KryptonForm, but I just can't work out how to load it!
Any help with this would be much appreciated - it is highly frustrating!
Kind regards,
~Ed
As title says, not working.
I even tried creating a CKryptonPanel inheriting from KryptonPanel in an OnPaint and it STILL did not work.
Is this a bug or something or am I somehow doing something wrong?
My current OnPaint has the following lines in it.
SetStyle(ControlStyles.DoubleBuffer, true);
SetStyle(ControlStyles.ResizeRedraw, true);
SetStyle(ControlStyles.Selectable, true);
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
SetStyle(ControlStyles.UserPaint, true);
Normal .net Framework Panel.Paint works fine, but I want to use KCF since they have more customization options.
It is showing icons only.
I used the same install procedure in the readme.md on Windows 10 exactly like I did on another computer with Windows 7 but can't get the controls to work in the Designer.
The problem is if I try to put a visual control (e.g. CheckButton) on a form it shows up on the bottom under the form as a non-visual component.
Anyone using the Krypton Toolkit under Windows 10?
Identified bug whereby controls do not appear on the form, instead they appear on the area where the timer, background worker, dialog controls appear. Did try gacutil with no success. See screenshot attached for visual detail.
Did have a deep look at the source code for the toolkit, but couldn't find anything glaring at me.
I did not find how to disable the Close button in KryptonDockableWorkspace
In this situation, it seems to me that such a standard method will be useful:
VB.NET code:
Private Sub kryptonDockableWorkspace1_WorkspaceCellRemoved(sender As Object, e As WorkspaceCellEventArgs) Handles kryptonDockableWorkspace1.WorkspaceCellRemoved
e.Cancel = True
End Sub
Well, or then let me disable this button type:
Dim w As KryptonDockingWorkspace = kryptonDockingManager1.ManageWorkspace(kryptonDockableWorkspace1)
w.CloseButton.Visible = False
or
Dim ctrl = page.Controls
ctrl.CloseButton.Visible = False
But it's better, of course, to put this in:
Dim p As New KryptonPage()
p.Controls.CloseButton.Visivble = False
To reflect one window had a Close button and others either did not have access, or did not display it at all ...
Well, or something in this concept
Thank you in advance!
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NotSupportedException: ReadOnly controls collection
at ComponentFactory.Krypton.Toolkit.KryptonReadOnlyControls.Add(Control value)
at cse.Forms.frmAssignRoute.InitializeComponent()
at cse.Forms.frmAssignRoute..ctor()
at cse.Forms.frmMdimain.routeEditorToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Good evening,
I would need the ocx versions of the dll.
Is it possible ?
Many thanks
Luigi
Is it possible?
Is there a way that we can change the KryptonButton font property?
When I click KryptonDateTimePicker
There is a Calendar will show up. Because I'm using a smaller font size for all application, It look like very small.
So Is there anyway could change only the Calendar font size? Thanks.
Hi, tell me how to add a new tab if kryptonDockableWorkspace1 is in UserControl, and the control button in another UserControl? And all this is inserted into the form
Just a quick question, now that I have got the toolkit working, does the source code contain the item templates that were in the commercial product?
The MouseEnter, MouseLeave and MouseHover events do not work for the KryptonTextBox and KryptonComboBox. I think the problem is due to the unhandled internal nested controls.
I solved the issue with the KryptonTextBox by using the following simple trick, however i couldn't find the way around for the KryptonComboBox
myTextBox.Controls[0].MouseEnter += myTextBox_MouseEnter;
myTextBox.Controls[0].MouseLeave += myTextBox_MouseLeave;
Hi @ComponentFactory
Thanks for making this code open source. I liked this code very much.
@ComponentFactory, @jacobmesu,
I am trying to use this code in visual studio 2015
but I am not able to drag-drop any krypton control on Form.
May be I am missing some steps with Installer.
Can you please help me to solve this issue.
Thanks
Hi,
I'm trying to convert the entire suite to use the .NET 4.7 Framework instead of the .NET 2.0 version. However I'm receiving errors in reference to the gacutil.exe -a command. Can anyone assist with this?
Hello!
I am using KryptonDockingManager.
I added one page to workspace and one page with docking.bottom
kryptonDockingManager.AddToWorkspace("Workspace", new[] {NewGraph()});
kryptonDockingManager.AddDockspace("Control", DockingEdge.Bottom, new[] {NewGraph()});
NewGraph()
is method which creates KryptonPage
with some content. When form is showing, user can select one page or another to work with it.
Is there anyway to determine programmatically which page is active (selected, focused, etc..) now?
Dear Sir/Madam
After one month working with your great components, now every time I open my project it ask for licence key.
Please help me solve this problem.
Best Regards
Hi there! Great project, used it for years in a project. Thanks for the effort and opening to OSS.
Question: Would you agree/accept a pull request for a build pipeline (AppVeyor) for a/several nuget packages?
What should be defined:
Alternatively official releases could be built and published here on nuget.
I think the discoverability and usability would be much greater.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.