4.1在4.0的基础上增加了VS2010的支持,姑且不论2010的效果具体怎么样,从Office2003开始,历经了VS2005, VS2008,Office2007,到现在的VS2010,WinForm的应用一直都在跟着MS小跑,不管怎么说,MS的界面还是有值得称道之处——即使你不喜欢,你也需要习惯。顺便说一点,DotNetBar率先支持Robbin的时候,着实兴奋了一阵,可惜时间不长,因为我不知道拿他来做什么,尝试着做了一个应用,就发现功能按钮太少,界面太空,所以俺最终放弃了这个东西,在CodePlex和SourceProject上面都有现成的免费的类似控件,有兴趣的可以下载来玩玩。
回到主题,本次的更新还涉及到默认的Theme设置成Vs2010了,这个有点强加的意思,我倒要看看到底如何。可惜,TabControl还是在Nav组件中,没有放到Free的Toolkit中,看来我还是逃不开啊。
Office 2010 Blue
Office 2010 Silver
Office 2010 Black
These three new palettes are now available so that applications can simulate the look and feel of the upcoming Office 2010 release. The palettes are based on the appearance of the Beta 1 release of Office 2010 and so may need updating once the full release of Office occurs if the release differs in appearance from the current beta version.
Office 2010 Blue is now the default palette used by the KryptonManager.
KryptonGroupBox
This mimics the standard windows forms GroupBox control and consists of an optional caption that gives a heading for the contents of the internal panel.
KryptonContextMenu.Caller
This property is populated from a parameter of the various Show methods that are used to display the context menu. You can access the property inside any of the Opening/Opened/Closing and Closed events to discover a reference to the calling object that caused the menu to be displayed. This way you can assign the same context menu to many controls and then discover later which one was the caller that display the actual menu.
KryptonDateTimePicker.ActiveFragment
Use this property to get and set the active fragment within the date time picker control. For example, set the value to MMMM to set the long month fragment of the display to be active.
KryptonDateTimePicker.CalendarCloseOnTodayClick
When the user clicks the Today button on the drop down menu this property is used to decide if the drop down menu should be closed. By default the setting is False to ensure the same operation as previous versions.
KryptonDateTimePicker.SelectFirstFragment
KryptonDateTimePicker.SelectNextFragment
KryptonDateTimePicker.SelectPreviousFragment
KryptonDateTimePicker.SelectLastFragment
These four methods allow you to programmatically move which fragment of the display is active. Next and previous methods will automatically overflow and ends of the fragment list.
KryptonDateTimePicker.ActiveFragmentChanged
Fired whenever the value of the ActiveFragment property changes. This is useful if you want to track which fragment he user is currently interacting with.
WorkspaceMaximize
WorkspaceRestore
These two new button specifications are used within the workspace component in order to allow the user to toggle a cell between maximized and restored states.
FormClose
Until now the min/max/restore and close buttons on the KryptonForm used the same Form button specification for defining appearance. Now the close button will use the FormClose button spec instead. This allows the appearance of the close button to differ from the other form buttons and is required to mimic the appearance of Office 2010.
KryptonWrapLabel using incorrect LabelStyle
The control is not correctly setting the style to use internally and so it draws with the wrong colours. This is most obvious with a sparkle theme as the actual label style used gives a different colour to the one you think it should be used. This is now fixed.
KryptonPalette methods for updating from base are failing
Using the Populate from Base option would cause an exception that prevents the palette instance being populated with values from the base palette. The related Reset to Default Values would not clear all the values from the palette. Both of these issues have been resolved.
KryptonPalette format number not set correctly using Palette Upgrade Tool
Using the palette upgrade tool was not incrementing the format number to the latest value and so you would have to manually update the configuration file before it could be loaded into a palette instance. This is now fixed.
KryptonCheckButton with InputControl style using System palette crashes
If your application is using check buttons and the system palette it can crash if you change the button style to be an input control. This is fixed.
KryptonDataGridView not drawing background
When you have more rows than can be drawn but are not using scroll bars then the background area when you use the keyboard to reach the bottom of the data is not drawn correctly. Instead you get a black area. This is corrected.
KryptonComboBox
KryptonNumericUpDown
KryptonDomainUpDown
KryptonCheckedListBox
When the values are obtained from a KryptonPalette and the palette settings are changed the checked list box and combo box were not always updated to reflect them. This has been fixed.
KryptonTextBox
KryptonMaskedTextBox
KryptonNumericUpDown
KryptonDomainUpDown
KryptonComboBox
When these controls are disabled and you change the display settings the text disappears on Windows XP. This is fixed.