Contents tagged with C#

  • Drop GDI+ in WinForms and move to WPF

    Tags: .NET, C#, WPF

    Recently a friend of mine came to me asking for some advice on his first C#-project, in which he had to port an existing application to the .NET Framework. He had some minor issues with drawing … more

  • Closing your Office processes while using PIA

    Tags: C#, Office

    With Office 2007, developers are able to access and modify Office 2007 documents by using the Open XML Formats as an alternative to Office Interop. But even a few years after the release of Office … more

  • LINQ to SQL not generating code for association

    Tags: C#, LINQ

    It’s a good practice to create a proof of concept in a separate project to test out some new features or untested ideas, or to try and fix a certain problem. This way you’re able to focus … more

  • C# snippet: override Object.Equals

    Tags: .NET, C#, Snippet

    Lately I’ve been creating quite a few business entities with the ID of the object as the actual key to compare objects, which isn't the default implementation. Because of that I had to override … more