Category: WPF (Windows Presentation Framework)

Good Reads For Information Security Domain

For February 2016 OpenSSL Releases Security Advisory for Several Vulnerabilities https://mta.openssl.org/pipermail/openssl-announce/2016-March/000066.html https://drownattack.com/ Drupal Releases Critical Security Advisory for Multiple Vulnerabilities https://www.drupal.org/SA-CORE-2016-001 Google Project Zero: The Definitive Guide on Win32 to NT Path Conversion https://googleprojectzero.blogspot.com/2016/02/the-definitive-guide-on-win32-to-nt.html Angler Attempts to Slip The Hook http://blog.talosintel.com/2016/03/angler-slips-hook.html?f_l=s

Posted in ASP.NET, Azure, Database, iPhone Apps, JQUERY, JSON, LINQ, Operating System, Programming Language, Secure .NET Coding, Security, Sharepoint, Sharepoint Security, Silverlight, SQL Server, Visual Studio, WCF (Windows Communication Framework), Windows 7, WPF (Windows Presentation Framework), XML Tagged with: , ,

Capture DataGridView cell’s KeyPress event

Background It was a challenge for me to achieve this. So I took it and completed successfully. The question is what was the challenge.The challenge was to capture the KeyPress event of DataGridView Cell. Problem How would you achieve this?

Posted in ASP.NET, Programming Language, WPF (Windows Presentation Framework)

Set ComboBox Item color

Background Not sure when this is useful, but its handy code to have when developing windows forms applications. The need can arise when we have to color code the data that we are displaying like status, severity, types, etc. As

Posted in Programming Language, Secure .NET Coding, Security, Visual Studio, WPF (Windows Presentation Framework) Tagged with: ,

Visual Studio is not debugging

Background It was a very normal day of development for me. As we know that luck does not favors us always, so for me as well. I was doing some coding on my project and wanted to debug the code

Posted in Programming Language, Secure .NET Coding, Security, Visual Studio, WPF (Windows Presentation Framework) Tagged with: ,

Making stock ticker in c#

Introduction Stock market has always attracted people to invest money, whether it has gone up or down. Many of us made money ­čÖé and few of us must have lost money ­čÖü Now what made me write this article is

Posted in ASP.NET, Visual Studio, WPF (Windows Presentation Framework), XML

Styling WPF datagrid

In this article we will see how easy it is to style WPF DataGrid Following are some properties and values to getting started. Property Type Values Default AlternatingRowBackground Brush Any Brush Null Background Brush Any Brush Theme default ColumnHeaderHeight Double

Posted in Programming Language, WPF (Windows Presentation Framework), XML Tagged with: ,

Remove Duplicate Words in C#

While developing application its very often that we take input from users, other applications or from some where else. It is very much possible that it may contain some junk or unnecessary value. Even if we put in all kind

Posted in ASP.NET, Programming Language, Visual Studio, WCF (Windows Communication Framework), WPF (Windows Presentation Framework) Tagged with: , ,

Remove duplicate items from Generic List

Most of times we use extensions like IList, IEnumerable, etc. which comes with .NET Framework 3.5. Other day when I was using these generic list with my custom class, I came across one of its shortcoming. Like it offers methods

Posted in ASP.NET, LINQ, Programming Language, Silverlight, Visual Studio, WPF (Windows Presentation Framework), XML Tagged with: , , ,

Interesting feature of Visual Studio 2008

Many times what happens is programmer or developer while writing thousands of lines of code, it is very obvious to forget which line of code was changed last? And one will be like this…. ­čÖé To avoid┬á this confusion Microsoft

Posted in ASP.NET, Programming Language, Sharepoint, Visual Studio, WPF (Windows Presentation Framework) Tagged with: