tag

home / developersection / tag

SaveFileDialog in CSharp .NET
c# 18-Jul-2010
SaveFileDialog in CSharp .NET

Here I am going to demonstrate how to use SaveFileDialog in C#.Net.ExampleCreating stream for writing file Stream str; //creating object of Sa

Radio Buttons in CSharp .NET
c# 18-Jul-2010
Radio Buttons in CSharp .NET

We use Radio Button, when we want user to select only one options from given list of options. Here below I am using three radio buttons Red, Blue, Green, so when user will select Red radio button then the background color of form will be changed.

Method Overloading
c# 17-Jul-2010
Method Overloading

In method overloading method performs the different task at the different input parameters with same method name and in same class.   ExampleTo expl

Inheritance in C Sharp
c# 17-Jul-2010
Inheritance in C Sharp

Inheritance allows us to reuseexisting code which saves time. It is basic concept of Object Oriented Programming (OOPS). Here, I am going to demon

Event Handling in CSharp .NET
c# 17-Jul-2010
Event Handling in CSharp .NET

Here I am going to show how to handle events. Timer tick event//adding tick event to timer tm.Tick += newEventHandler(tm_Tick);3      //code for ti

Value Type and Boxing
.net 17-Jul-2010
Value Type and Boxing

The operation of converting value type to reference type is called Boxing and the reverse operation is called Unboxing. Boxingint Val = 1; //Value

Move Items from one ListBox to Another in CSharp .NET
c# 16-Jul-2010
Move Items from one ListBox to Another in CSharp .NET

To move items from ListBox1 to ListBox2 and vice-versa, we would have to write code for four buttons.·         Forward: to move selected item in list

Method Overriding in C# Net
c# 16-Jul-2010
Method Overriding in C# Net

Overriding a method is to change the behavior of the method for the derived class. Overriding is done using inheritance and virtual functions. Examp

Passing Parameters in C Sharp
c# 15-Jul-2010
Passing Parameters in C Sharp

We need parameters when we want to pass values to a method. There are four ways of passing values to a method.·        Value·         Ref (Referenc

OpenFileDialog
c# 15-Jul-2010
OpenFileDialog

Here I’m going to demonstrate the use of OpenFileDialog in C#. Example string strFileName=string.Empty;                        //creationg object

Multithreading
c# 15-Jul-2010
Multithreading

In C# multithreading is a way to implement multitasking.Exampleforint i = 1; i //creating thread for display() method Thread t = newThreadne

Editing MS Word Document in CSharp .NET
c# 12-Jul-2010
Editing MS Word Document in CSharp .NET

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-st