Thursday, June 13, 2013

1st Lecture

4logoc.jpg
.net - a framework software development platform to develop high scale application consist of 2 components
BCL stands for Base Class Library. It is collection of classes which use to develop applicwation.
CLR stands for Common Lnaguage Runtime.It is an engine which execyte the application made by BCL.
using .net framework we can create diff types of APPS.
like Console apps windows\desktop web applications\sites windows services mobile applications
Windows applications or desktop applications
when u have opnd vsl stdo edtr
to crte app
.click file new project
.select language
.type of appplication
.click ok
to run app form press f5 or run button.
open toolbox step cntrl+alt+x\icon with hammer
this means form
for design window click design button
.this.close(); means form close
.this.BackColor=Color."ColorName" to change color
.MessageBox.Show("Any Message"); to display any message
.diff visual elements are known as controls
.int a=Convert.Toint32(textbox1.text;
int b=a*a*a;
textBox2.text=Convert.ToString(b);
to convert a string to int and an int to string
steps to add a new form in current app
.open solution explorer ctrl+alt+l
.in solution explorer right click application
.add>select window form
how to change
.open solution explorer>open Program.cs file>change name of form
form
application to add two numbers
"label is used to showsome descriptive text"
int a=Convert.toint32(textbox1.text);
int b=convert.toint32(textbox2.text);
int sum=a+b;
textbox3.text=convert.tostring(sum);
this.close();
how to change forms title
.select form>open properties click f4>change text properties
text
maximise
form border size
click on the thing whose properties u want to change
radio button coding
if(radioButton1.Checked==true)
{
Messagebox.Show("text");
}
else if(radioButton2.Checked==true)
{
MessageBox.Show("text");
}

No comments:

Post a Comment