Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagramming for Windows Forms, V5.8 beta (Read 3401 times)
Forum Admin
YaBB Administrator
*****
Offline


Rock and Roll

Posts: 740
Joined: Apr 6th, 2003
Diagramming for Windows Forms, V5.8 beta
Feb 13th, 2012 at 9:49am
Print Post  
We are about to release version 5.8 of FlowChart.NET.

This version adds two new visual effects that can be applied to nodes - Glass and Aero. In addition, the existing Emboss and Smooth Shadow effects are now applied to all node types, not just ShapeNode.

A new API is provided to facilitate effects usage. To apply an effect, create an instance of one of the effect classes, set up its properties, then add the instance to the Diagram.NodeEffects collection. Currently, there are four effect classes available - EmbossEffect, SmoothShadowEffect, GlassEffect, and AeroEffect. Effects can be added, removed or modified at any time and this will immediately reflect on the diagram. Effects of different types can be applied simultaneously. It is also possible to apply more than one effect of the same type.

The old EnableEmbossEffects and EnableShadowEffects properties are reworked internally to use the new effect pipeline. Turning these properties on will automatically add an instance of the appropriate class to the NodeEffects collection. Therefore clearing the NodeEffects collection will turn these properties off if they were previously enabled. Keep in mind that the Diagram.EffectsProvider property is still required in order to enable the Emboss and Smooth Shadow effects.

Emboss


Smooth Shadow


Glass


Aero


A more thorough preview of the effects as well as some interesting presets are demonstrated by the following sample:
https://mindfusion.eu/_samples/_sample_Effects.zip

The control assemblies can be downloaded from here:
https://mindfusion.eu/_beta/MindFusion.Diagramming.WinForms.5.8.trial.beta.zip

Comments and suggestions are welcome.

Enjoy!
  
Back to top
WWW  
IP Logged
 
yangxh
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Mar 12th, 2012
Re: Diagramming for Windows Forms, V5.8 beta
Reply #1 - Mar 13th, 2012 at 11:27am
Print Post  
Runtime error when Run without debugging?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Diagramming for Windows Forms, V5.8 beta
Reply #2 - Mar 13th, 2012 at 6:11pm
Print Post  
What kind of error, was there any exception thrown?
  
Back to top
 
IP Logged
 
yangxh
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Mar 12th, 2012
Re: Diagramming for Windows Forms, V5.8 beta
Reply #3 - Mar 14th, 2012 at 12:11pm
Print Post  
No exceptions.
Just a messagebox saying
'Effect Sample has stopped working
Windows is checking for a solution to the problem...
'
Ctrl+F5 will show this messagebox. F5 will not.
Compiled using vs2010 On Windows 7 x64 with latest service pack and updates(both windows and vs 2008/2010).

Sorry for my English.
Thank you
  
Back to top
 
IP Logged
 
yangxh
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Mar 12th, 2012
Re: Diagramming for Windows Forms, V5.8 beta
Reply #4 - Mar 14th, 2012 at 12:16pm
Print Post  
Sorry, I did another test.
If the target is .net platform 2.0, error occured. If 4.0, everything is ok.
Thank you.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint