Blog

Blog posts on .NET, Azure, and more.

How to move a window or form without titlebar

March 14, 2013 by Anuraj

.Net Win 32 API Windows Forms

In my current project I had to implement move for a Form, which doesn’t have a title bar or FormBorderStyle property set to None. Instead of title bar I was using a Panel with background Image. Here is the code snippet.

Using Microsoft Ink Picture control

March 06, 2013 by Anuraj

.Net .Net 3.0 / 3.5 CodeProject Windows Forms

The InkPicture control provides the ability to place an image in an application and enable users to add ink on top of it. It is intended for scenarios in which ink is not recognized as text but is instead stored as ink. InkPicture control extends the default picturebox control. This post is about working with InkPicture control.

How to prevent automatic screen lock in WP7

February 11, 2013 by Anuraj

.Net Silverlight Windows Phone

If you are developing some travel applications or fitness applications, you may want to disable automatic screen locking feature of Windows Phone. You can disable this using UserIdleDetectionMode property of PhoneApplicationService.Current class.

Building a language translation bot using Skype and C#

February 05, 2013 by Anuraj

.Net .Net 4.0 CodeProject Windows Forms

In Google talk, there was some bot service available which will help to translate from one language to another. You can implement similar service using Skype with the help of Skype4COM.dll. In this implementation for language translation, the Bing soap API is used.

How to exclude test assembly from code coverage in VS 2012

January 28, 2013 by Anuraj

.Net Code coverage Visual Studio

If you are using VS 2012, by default Code coverage results are available for Test assembly also.

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub