Sometimes you need synchronize the properties of a control with the properties of the parent control, in order to accomplish this you can use a binding by element name. In the example below you can see how to make the size of a control equal to its parent control by using binding:
Because WPF do not have a Notify Icon control, I decided implement a WPF control that wraps the Windows Form control. It only covers the basic functionality, but I believe that it is enough for most scenarios. Enjoy it !
When an exception is thrown in a thread that is not the main thread, it can be catch with the event UnhandledException of the AppDomain class. However attaching this event can not avoid the application to crash.
There are two ways to workaround this issue:
- One of this is managed the exceptions explicitly with try ... catch in each thread, the catch statement would have to handle the exception and not rethrown it.
- The second solution is set the CLR work as in the previous versions (1.0 and 1.1). It is not a recommended approach. In order to do that you need add the following configuration setting in your application configuration file:
When you build a ClickOnce deploy Visual Studio do not get assemblies not referenced in the project or any other dependent project. Basically the problem are assemblies located in other folders than the project folder.
A new NullTransport for WCF was implemented, you can found the bits in http://www.codeproject.com/WCF/NullTransportForWCF.asp.
I publish an early alpha version of the Code Task Scheduler, that allows schedule managed code. The bits are in Codeplex http://www.codeplex.com/cts.