BCA / B.Tech 11 min read

Windows Application in .NET | What is a Windows Application?

Quick Summary & Key Takeaways

  • • Subject Focus: .Net Notes in English (BCA / B.Tech Syllabus)
  • • Core Topic: Windows Application in .NET | What is a Windows Application? - General Topics
  • • Overview: Windows Application in .NET in Hindi | Windows Application in .NET in Hindi:A Windows Application is a type of software application that runs on the Win...
  • • Key Concepts: NET Windows application, WinForms controls button textbox Hindi, Events dialogs deployment Windows,.NET Windows application, WinForms controls button textbox, Events dialogs deployment Windows

Windows Application in .NET in Hindi | Windows Application in .NET in Hindi:


  • A Windows Application is a type of software application that runs on the Windows operating system.
  • The .NET Framework is a platform developed by Microsoft that is used to create various types of applications (Windows Forms, Web Applications, and Web Services).
  • Windows Forms is a part of the .NET Framework that helps in creating GUI (Graphical User Interface) applications.
Windows Application in .NET in Hindi | What is a Windows Application?

Windows Forms in .NET in Hindi 

  • Windows Forms is a graphical interface that is based on the .NET Framework.
  • It provides developers with tools and controls to create applications easily.
  • A Windows Forms application mainly uses forms and controls.
Label Control in .NET in Hindi 

  • Function: Used to display text.
  • Properties: Text, Font, ForeColor, BackColor.
Example:

label1.Text = "Enter Name:";
label1.Font = new Font("Arial", 12, FontStyle.Bold);

Button Control in .NET in Hindi 

  • Function: Used to execute an action.
  • Properties: Text, Click Event.
Example:

private void button1_Click(object sender, EventArgs e)
{
    MessageBox.Show("Button clicked!");
}

TextBox Control in .NET in Hindi 

  • Function: Used to enter data (text).
  • Properties: Text, MaxLength, ReadOnly.
Example:
string enteredText = textBox1.Text;

ComboBox Control in .NET in Hindi 

  • Function: Used to choose an option from a dropdown list.
  • Properties: Items, SelectedItem.
Example:
comboBox1.Items.Add("India");
comboBox1.Items.Add("USA");

ListBox Control in .NET in Hindi 

  • Function: Used to choose one or more options from many options.
  • Properties: Items, SelectedItems.
Example:
listBox1.Items.Add("Cricket");
listBox1.Items.Add("Football");

CheckedListBox Control in .NET in Hindi 

  • Function: Provides a list with checkboxes.
  • Properties: Items, CheckedItems.
Example:

checkedListBox1.Items.Add("Computer");
checkedListBox1.Items.Add("Mobile");

RadioButton Control in .NET in Hindi 

  • Function: Used to choose only one option from the options.
  • Properties: Text, Checked.
Example:

if (radioButton1.Checked)
{
    MessageBox.Show("First option selected.");
}

PictureBox Control in .NET in Hindi 

  • Function: Used to show pictures.
  • Properties: Image, SizeMode.
  • Example: pictureBox1.Image = Image.FromFile("image.jpg");
ScrollBars Control in .NET in Hindi 

  • Function: Used to scroll the content of the screen.
  • Properties: Minimum, Maximum, Value.
Example:
vScrollBar1.ValueChanged += VScrollBar1_ValueChanged;

DateTimePicker Control in .NET in Hindi 

  • Function: Used to choose a date and time.
  • Properties: Value, Format.
  • Example:DateTime selectedDate = dateTimePicker1.Value;
TreeView Control in .NET in Hindi 

  • Function: Used to show data hierarchically (in the form of a tree).
  • Properties: Nodes.
Example:

treeView1.Nodes.Add("Root Node");
treeView1.Nodes[0].Nodes.Add("Sub Node");

ListView Control in .NET in Hindi 

  • Function: Used to show a list of items.
  • Properties: Items, View.
  • Example: listView1.Items.Add("First Item");
Menu Control in .NET in Hindi 

  • Function: Used to create a menu bar.
Example:

menuStrip1.Items.Add("File");
menuStrip1.Items[0].DropDownItems.Add("New");

MDI Form in .NET in Hindi 

  • Function: To manage multiple forms in a Multiple Document Interface (MDI).
Example:
childForm.MdiParent = this;
childForm.Show();

Color Dialog Box in .NET in Hindi 

  • Function: To choose a color.
Example:

if (colorDialog1.ShowDialog() == DialogResult.OK)
{
    this.BackColor = colorDialog1.Color;
}

Font Dialog Box in .NET in Hindi 

  • Function: To choose a font.
Example:

if (fontDialog1.ShowDialog() == DialogResult.OK)
{
    label1.Font = fontDialog1.Font;
}

OpenFile Dialog Box in .NET in Hindi 

Function: To open a file.
Example:

if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
    MessageBox.Show(openFileDialog1.FileName);
}
 
Print Dialog Box in .NET in Hindi 

Function: To print.
Example:

if (printDialog1.ShowDialog() == DialogResult.OK)
{
    printDocument1.Print();
}
These controls are the basis of a Windows Forms application in the .NET Framework. By using them, developers can create user-friendly GUI applications.

Frequently Asked Questions (FAQs)

Windows Application in .NET in Hindi | Windows Application in .NET in Hindi:A Windows Application is a type of software application that runs on the Windows operating system.The .NET Framework is a platform developed by Microsoft that is used to create various types of applications (Windows Forms, Web Applications, and Web Services).Windows Forms is a part of the .NET Framework that helps in creating GUI (Graphical User Interface) applications.Windows Forms in .NET in Hindi Windows Forms is a graphical interface that is based on the .NET Framework.It provides developers with tools and controls to create applications easily.A Windows Forms application mainly uses forms and controls.Label Control in .NET in Hindi Function: Used to display text.Properties: Text, Font, ForeColor, BackColor.Example:label1.Text = "Enter Name:";label1.Font = new Font("Arial", 12, FontStyle.Bold);Button Control in .NET in Hindi Function: Used to execute an action.Properties: Text, Click Event.Example:private void button1_Click(object sender, EventArgs e){    MessageBox.Show("Button clicked!");}TextBox Control in .NET in Hindi Function: Used to enter data (text).Properties: Text, MaxLength, ReadOnly.Example:string enteredText = textBox1.Text;ComboBox Control in .NET in Hindi Function: Used to choose an option from a dropdown list.Properties: Items, SelectedItem.Example:comboBox1.Items.Add("India");comboBox1.Items.Add("USA");ListBox Control in .NET in Hindi Function: Used to choose one or more options from many options.Properties: Items, SelectedItems.Example:listBox1.Items.Add("Cricket");listBox1.Items.Add("Football");CheckedListBox Control in .NET in Hindi Function: Provides a list with checkboxes.Properties: Items, CheckedItems.Example:checkedListBox1.Items.Add("Computer");checkedListBox1.Items.Add("Mobile");RadioButton Control in .NET in Hindi Function: Used to choose only one option from the options.Properties: Text, Checked.Example:if (radioButton1.Checked){    MessageBox.Show("First option selected.");}PictureBox Control in .NET in Hindi Function: Used to show pictures.Properties: Image, SizeMode.Example: pictureBox1.Image = Image.FromFile("image.jpg");ScrollBars Control in .NET in Hindi Function: Used to scroll the content of the screen.Properties: Minimum, Maximum, Value.Example:vScrollBar1.ValueChanged += VScrollBar1_ValueChanged;DateTimePicker Control in .NET in Hindi Function: Used to choose a date and time.Properties: Value, Format.Example:DateTime selectedDate = dateTimePicker1.Value;TreeView Control in .NET in Hindi Function: Used to show data hierarchically (in the form of a tree).Properties: Nodes.Example:treeView1.Nodes.Add("Root Node");treeView1.Nodes[0].Nodes.Add("Sub Node");ListView Control in .NET in Hindi Function: Used to show a list of items.Properties: Items, View.Example: listView1.Items.Add("First Item");Menu Control in .NET in Hindi Function: Used to create a menu bar.Example:menuStrip1.Items.Add("File");menuStrip1.Items[0].DropDownItems.Add("New");MDI Form in .NET in Hindi Function: To manage multiple forms in a Multiple Document Interface (MDI).Example:childForm.MdiParent = this;childForm.Show();Color Dialog Box in .NET in Hindi Function: To choose a color.Example:if (colorDialog1.ShowDialog() == DialogResult.OK){    this.BackColor = colorDialog1.Color;}Font Dialog Box in .NET in Hindi Function: To choose a font.Example:if (fontDialog1.ShowDialog() == DialogResult.OK){    label1.Font = fontDialog1.Font;}OpenFile Dialog Box in .NET in Hindi Function: To open a file.Example:if (openFileDialog1.ShowDialog() == DialogResult.OK){    MessageBox.Show(openFileDialog1.FileName);} Print Dialog Box in .NET in Hindi Function: To print.Example:if (printDialog1.ShowDialog() == DialogResult.OK){    printDocument1.Print();}These controls are the basis of a Windows Forms application in the .NET Framework.
Understanding Windows Application in .NET | What is a Windows Application? is fundamental to mastering .Net Notes in English. It covers crucial concepts, solved problems, and revision points essential for academic and entrance exam success.
You can read free solved examples, detailed explanations, and key formulas for Windows Application in .NET | What is a Windows Application? directly on the NotesMedia website or by downloading the NotesMedia App.