Year: 2009
-
Composite Palindrome Control
Step 1 Creating the Server Control. The first step is to start a new project with the custom control template and build the control. To create the custom control On the File menu, point to New, and then click Project. The New Project dialog box appears. In the Project Types pane, choose either Visual Basic…
-
Back to Basic # Static class in c#
Objective This article will discuss about static class in c#. Different feature of static class and different way of creating static class also will be discussed. Finally one sample will give a hand on of the static class. Static class is type of classes which cannot be instantiated. Instance of static class cannot be created.…
-
Silver Light 4.0 feature # Mouse wheel event
Objective In this article, I am going to give a basic introduction of Mouse wheel event in Silver Light 4.0. Introduction Silver Light 4.0 has been introduced Mouse wheel event. Now on mouse wheel event can be captured. And the event can be raised for any silver light control. In below image you can…
-
Accessing Microsoft Office InterOP Objects using C# 4.0
Objective This article will show, how Microsoft office InterOp objects can be access and use in C#. I will be using dynamic type feature of c# 4.0 To create and open an Excel Application in VS2010 To display list in Active Excel Application. To Create and open a word document in VS2010. To create an…
-
Optional Argument in C# 4.0
Objective This article will give a very basic introduction of Optional Argument in C#4.0. This article will explain how Operation overloading and Optional Argument is different with samples. This article will give different syntax with Named parameter to work with Optional arguments. Optional Argument Five facts about Optional Parameter Each Optional Parameter has a default…
-
Named Argument in c# 4.0
Objective In this article I will talk about a very new and highly useful feature of c# 4.0. I will give introduction of Named Argument. I will give one sample on possible usage of Named Argument. Five facts about Named argument There is no need to remember order of the parameter in parameter list. The…
-
Dynamic type in c# 4.0
Objective This article will introduce dynamic type. This article will be giving samples on different usage of dynamic type in programming. Prerequisite: Visual Studio 2010 C# 4.0 is all about Dynamic Programming and type. 10 facts about Dynamic type C# 4.0 allows a new static type called “dynamic”. Any operation on the object of type…
-
Silver Light 4.0 Feature #1 Printing Support
Objective This article will introduce New Printing support in Silver Light 4.0. Introduction Silver Light 4.0 add support to enable business application development. Printing support allows developer to print the Silver Light application itself. Printing support helps Formatting the content of the Printing. Specifying the content of the Printing. Choosing the Printer. How Printing support…
-
Silver Light 4.0 feature #2: Right click Mouse events [Context Menu]
Objective This article will give an introduction of mouse right click events on Silver Light controls. Silver Light 4.0 introduces context menu for all the controls. Right Click Mouse Event is added newly added feature in Silver Light 4.0. Design Create a Button on silver light page. <Grid x:Name=”LayoutRoot” Background=”Black”> <Button x:Name=”myButton” Width=”75″ Height=”40″…
-
Step by Step Installing Silver Light 4.0 beta
Objective In this tutorial , I will give step by step pictorial representation of installing Silver Light 4.0 Beta. Minimum Requierment Silver Light 4.0 beta can only be installed in Visual Studio 2010. Step 1 Install Silver Light 4.0 developer run time Link to dwonload Developer runtime is below, http://www.microsoft.com/downloads/details.aspx?FamilyID=9fa8afe9-cad6-4090-a7f6-7d9cdc560e2d&displaylang=en After downloading , just…