Author: admin

  • Blog
  • Author: admin

Tool, Menu, and Status Strips

Windows Forms 2.0 have great control in their stack. ToolStrip and MenuStrip are great example of it. It is a great new control which you can use with application to developer better user interface.I have found an article on both controls. It describes all the things that realted with toolstrip and menustrip. It also teaches

Tuple in C# 4.0

C# 4.0 language includes a new feature called Tuple. Tuple provides us a way of grouping elements of different data type. That enables us to use it a lots places at practical world like we can store a coordinates of graphs etc. In C# 4.0 we can create Tuple with Create method. This Create method

how to vertically middle align text in div-HTML tip

Recently in one of the project I have to vertical align text in div. so doing some internet search I have found there are no proper way to do it. So I thought it would be good do share this within my readers. Here is the code do vertically align text in div. this is

How to take ScreenShot in C#

To create a screenshot in c# we need to use drawing api of the .net framework First you have import System.Drawing.Imaging name space with following code… using System.Drawing.Imaging; here is the code in C# for screenshot. int screenWidth = Screen.GetBounds(new Point(0, 0)).Width; int screenHeight = Screen.GetBounds(new Point(0, 0)).Height; Bitmap bmpScreenShot = new Bitmap(screenWidth, screenHeight); Graphics