You are on page 1of 86

Universidad Nacional Abierta y a Distancia - UNAD

Vicerrectoría Académica y de Investigación


Visual Basic Básico

Identificar y aplicar las herramientas básicas para programar

Presentado Por

Germán Eduardo Sandoval Rodríguez – 80.097.989


Fredy Andres Villamizar - 80.114.859
Herney Galvis Galvis - 80.177.610

Tutor:

JAIME RUBIANO LLORENTE

Grupo: 2001416_35

INGENIERÍA DE SISTEMAS
JOSE ACEVEDO, MARZO 2017
INTRODUCCIÓN 4
INTRODUCTION 4
OBJETIVOS 5
OBJECTIVES 5
HERRAMIENTAS 6
1. ColorDialog 6
2. FontDialog 7
3. OpenFileDialog 10
4. SaveFileDialog 12
5. PrintDialog 14
6. Forms 17
7. TextBox 20
8. ScrollBar 22
9. DateTimePicker 24
11. ToolStripMenuItem 27
12. ContextMenuStrip 28
13. Botón 29
14. Formulario 30
15. Calendario 31
16. Caja de Texto 31
17. Chart 32
18. CheckBox 33
19 Caja de Grupo 34
20. Barra de progreso. 35
21 Botón Guardar 35
22 Modo Paralelo 36
23 Adjuntar o Ejecutar 36
24 Marcar Comentario 36
25 Label 36
26 List View 37
27 CheckedList Box 38
28 WebBrowser 40
29 MonthCalendar 41
30 RadioButton 42
TOOLS 44
1 ColorDialog 44
3 OpenFileDialog 48
4 SaveFileDialog 51
5 PrintDialog 53
6 Forms 55
7 TextBox 59
8 ScrollBar 61
9 DateTimePicker 63
11 T:System.Windows.Forms.ToolStripMenuItem 67
12 ContextMenuStrip 69
13 button 70
14 form 70
15 calendar 71
16 text box 72
17 Chart 73
18 CheckBox 74
19 group box 74
20. progress bar. 75
21 save button 76
22. parallel mode 76
23 attach or run 76
24 mark comment 76
25 Label 76
26 List View 77
27 CheckedList Box 79
28 WebBrowser 81
29 MonthCalendar 82
30 RadioButton 83
CONCLUSIONES 85
CONCLUSIONS 85
REFERENCIAS / REFERENCES 86
INTRODUCCIÓN

Visual Basic (VB) es un lenguaje de programación dirigido por eventos, desarrollado por
Alan Cooper para Microsoft. Este lenguaje de programación es un dialecto de BASIC, con
importantes agregados. Su primera versión fue presentada en 1991, con la intención de
simplificar la programación utilizando un ambiente de desarrollo que facilitó en cierta medida
la programación misma.

La actividad que vamos a ejecutar en este trabajo es con la finalidad de identificar las
herramientas que visual studio ofrece, así como entender las propiedades de cada una y
reconocer el IDE de programación, al final de este trabajo se entregarán 12 ejercicios de
programación 4 por cada integrante del curso.

INTRODUCTION

Visual Basic (VB) is an event-driven programming language developed by Alan Cooper for
Microsoft. This programming language is a dialect of BASIC, with important aggregates. Its
first version was presented in 1991, with the intention of simplifying programming using a
development environment that facilitated to a certain extent the programming itself.

The activity that we are going to execute in this work is with the purpose of identifying the
tools that the visual study offers, as well as the properties of each one, and the recognition of
the IDE of programming, at the end of this work, 12 exercises of programming 4 for each
member of the course.
OBJETIVOS

● Familiarizarnos con el entorno o IDE de programación.

● Aprender los conceptos básicos para programar.

● Entender los objetos que tenemos disponibles en la caja de herramientas.

OBJECTIVES

 Familiarize ourselves with the programming environment or IDE.


 Learn the basics to program.
 Understand the objects that we have available in the toolbox.
HERRAMIENTAS

1. ColorDialog

Representa un cuadro de diálogo común que muestra los colores disponibles junto con los
controles que permiten al usuario definir colores personalizados.

Funcionalidad: Permite al usuario seleccionar un color.

La propiedad principal del control ColorDialog es Color , que devuelve un objeto Color .

Propiedades del Control ColorDialog

Propiedad Descripción

1 AllowFullOpen Obtiene o establece un valor que indica si el usuario


puede utilizar el cuadro de diálogo para definir
colores personalizados.

2 AnyColor Obtiene o establece un valor que indica si el cuadro


de diálogo muestra todos los colores disponibles en
el conjunto de colores básicos.

3 CanRaiseEvents Obtiene un valor que indica si el componente puede


generar un evento.

4 Color Obtiene o establece el color seleccionado por el


usuario.

5 CustomColors Obtiene o establece el conjunto de colores


personalizados que se muestran en el cuadro de
diálogo.

6 FullOpen Obtiene o establece un valor que indica si los


controles utilizados para crear colores
personalizados están visibles cuando se abre el
cuadro de diálogo

7 ShowHelp Obtiene o establece un valor que indica si un botón


de Ayuda aparece en el cuadro de diálogo de color.

8 SolidColorOnly Obtiene o establece un valor que indica si el cuadro


de diálogo restringirá los usuarios a seleccionar sólo
colores sólidos.

Métodos del ColorDialog Control

Los siguientes son algunos de los métodos más utilizados del control ColorDialog:

Nombre y descripción del método

1 Reset Restablece todas las opciones a sus valores predeterminados, el último


color seleccionado en negro y los colores personalizados a sus valores
predeterminados.

2 RunDialog Cuando se reemplaza en una clase derivada, especifica un cuadro


de diálogo común.

3 ShowDialog Ejecuta un cuadro de diálogo común con un propietario


predeterminado

2. FontDialog

Indica al usuario que elija una fuente entre las instaladas en el equipo local y le permite al
usuario seleccionar la fuente, el tamaño de la fuente y el color.
Funcionalidad: Devuelve los objetos Fuente y Color.
A continuación, se muestra el cuadro de diálogo Fuente:

De forma predeterminada, la ComboBox de color no se muestra en el cuadro de diálogo


Fuente. Es necesario configurar el ShowColor propiedad del control FontDialog ser
verdadera .

Propiedades del Control FontDialog


Las siguientes son algunas de las propiedades de uso común del control FontDialog:

Propiedad Descripción

1 AllowSimulations Obtiene o establece un valor que indica si el cuadro


de diálogo permite simulaciones de fuente de
interfaz de dispositivo gráfico (GDI).

2 AllowVectorFonts Obtiene o establece un valor que indica si el cuadro


de diálogo permite selecciones de fuentes
vectoriales.

3 AllowVerticalFonts Obtiene o establece un valor que indica si el cuadro


de diálogo muestra tanto fuentes verticales como
horizontales o sólo fuentes horizontales.

4 Color Obtiene o establece el color de fuente seleccionado.

5 FixedPitchOnly Obtiene o establece un valor que indica si el cuadro


de diálogo sólo permite la selección de fuentes de
tono fijo.

6 Font Obtiene o establece la fuente seleccionada.


7 FontMustExist Obtiene o establece un valor que indica si el cuadro
de diálogo especifica una condición de error si el
usuario intenta seleccionar una fuente o un estilo que
no existe.

8 MaxSize Obtiene o establece el tamaño máximo de punto que


un usuario puede seleccionar.

9 MinSize Obtiene o establece el tamaño de punto mínimo que


un usuario puede seleccionar.

10 ScriptsOnly Obtiene o establece un valor que indica si el cuadro


de diálogo permite la selección de fuentes para todos
los conjuntos de caracteres no OEM y Symbol, así
como el conjunto de caracteres ANSI.

11 ShowApply Obtiene o establece un valor que indica si el cuadro


de diálogo contiene un botón Aplicar .

12 ShowColor Obtiene o establece un valor que indica si el cuadro


de diálogo muestra la opción de color.

13 ShowEffects Obtiene o establece un valor que indica si el cuadro


de diálogo contiene controles que permiten al
usuario especificar tachado, subrayado y opciones de
color de texto.

14 ShowHelp Obtiene o establece un valor que indica si el cuadro


de diálogo muestra un botón de Ayuda.

Métodos del Control FontDialog


Los siguientes son algunos de los métodos más utilizados del control FontDialog:

Nombre y descripción del método


1 Reset Restablece todas las opciones a sus valores predeterminados.

2 RunDialog Cuando se reemplaza en una clase derivada, especifica un cuadro


de diálogo común.

3 ShowDialog Ejecuta un cuadro de diálogo común con un propietario


predeterminado.

3. OpenFileDialog

Indica al usuario que abra un archivo y permita al usuario seleccionar un archivo para abrirlo.
Funcionalidad: El control OpenFileDialog solicita al usuario que abra un archivo y permita
al usuario seleccionar un archivo para abrirlo. El usuario puede comprobar si el archivo
existe y luego abrirlo. La clase de control OpenFileDialog hereda de la clase abstracta
FileDialog .

Si la propiedad ShowReadOnly se establece en True, aparecerá una casilla de verificación


sólo lectura en el cuadro de diálogo. También puede establecer la propiedad
ReadOnlyChecked en True, para que la casilla de verificación sólo lectura aparezca
marcada.

Propiedades del control OpenFileDialog


Las siguientes son algunas de las propiedades de uso común del control OpenFileDialog:

Propiedad Descripción

1 AddExtension Obtiene o establece un valor que indica si el


cuadro de diálogo agrega automáticamente una
extensión a un nombre de archivo si el usuario
omite la extensión.
2 AutoUpgradeEnabled Obtiene o establece un valor que indica si esta
instancia de FileDialog debe actualizar
automáticamente el aspecto y el comportamiento
cuando se ejecuta en Windows Vista.

3 CheckFileExists Obtiene o establece un valor que indica si el


cuadro de diálogo muestra una advertencia si el
usuario especifica un nombre de archivo que no
existe.

4 CheckPathExists Obtiene o establece un valor que indica si el


cuadro de diálogo muestra una advertencia si el
usuario especifica una ruta de acceso que no
existe.

5 CustomPlaces Obtiene la colección de lugares personalizados


para esta instancia de FileDialog.

6 DefaultExt Obtiene o establece la extensión de nombre de


archivo predeterminada.

7 DereferenceLinks Obtiene o establece un valor que indica si el


cuadro de diálogo devuelve la ubicación del
archivo al que hace referencia el acceso directo o
si devuelve la ubicación del acceso directo (.lnk).

8 Obtiene o establece una cadena que contiene el


nombre de archivo seleccionado en el cuadro de
FileName diálogo de archivo.

9 FileNames Obtiene los nombres de archivo de todos los


archivos seleccionados en el cuadro de diálogo.
10 Filter Obtiene o establece la cadena de filtro de nombre
de archivo actual, que determina las opciones que
aparecen en el cuadro "Guardar como tipo de
archivo" o "Archivos de tipo" en el cuadro de
diálogo.

Métodos del control OpenFileDialog


Los siguientes son algunos de los métodos más utilizados del control OpenFileDialog:

Nombre y descripción del método

1 OpenFile Abre el archivo seleccionado por el usuario, con permiso de sólo


lectura. El archivo se especifica mediante la propiedad FileName.

2 Reset Restablece todas las opciones a su valor predeterminado.

4. SaveFileDialog

Funcionalidad: Indica al usuario que seleccione una ubicación para guardar un archivo y le
permite al usuario especificar el nombre del archivo para guardar los datos.

El control SaveFileDialog solicita al usuario que seleccione una ubicación para guardar un
archivo y permite al usuario especificar el nombre del archivo para guardar datos. La clase
de control SaveFileDialog hereda de la clase abstracta FileDialog.

A continuación se muestra el cuadro de diálogo Guardar archivo:

Propiedades del control SaveFileDialog


Las siguientes son algunas de las propiedades de uso común del control SaveFileDialog:

Propiedad Descripción
1 AddExtension Obtiene o establece un valor que indica si el
cuadro de diálogo agrega automáticamente una
extensión a un nombre de archivo si el usuario
omite la extensión.

2 CheckFileExists Obtiene o establece un valor que indica si el


cuadro de diálogo muestra una advertencia si el
usuario especifica un nombre de archivo que no
existe.

3 CheckPathExists Obtiene o establece un valor que indica si el


cuadro de diálogo muestra una advertencia si el
usuario especifica una ruta de acceso que no
existe.

4 CreatePrompt Obtiene o establece un valor que indica si el


cuadro de diálogo solicita al usuario permiso
para crear un archivo si el usuario especifica un
archivo que no existe.

5 DefaultExt Obtiene o establece la extensión de nombre de


archivo predeterminada.

6 DereferenceLinks Obtiene o establece un valor que indica si el


cuadro de diálogo devuelve la ubicación del
archivo al que hace referencia el acceso directo o
si devuelve la ubicación del acceso directo
(.lnk).

7 FileName Obtiene o establece una cadena que contiene el


nombre de archivo seleccionado en el cuadro de
diálogo de archivo.

8 FileNames Obtiene los nombres de archivo de todos los


archivos seleccionados en el cuadro de diálogo.
9 Filter Obtiene o establece la cadena de filtro de
nombre de archivo actual, que determina las
opciones que aparecen en el cuadro "Guardar
como tipo de archivo" o "Archivos de tipo" en el
cuadro de diálogo.

10 FilterIndex Obtiene o establece el índice del filtro


seleccionado actualmente en el cuadro de
diálogo de archivo.

Métodos del control SaveFileDialog


Los siguientes son algunos de los métodos más utilizados del control SaveFileDialog:

Nombre y descripción del método

1 OpenFile Abre el archivo con permiso de lectura / escritura.

2 Reset Restablece todas las opciones del cuadro de diálogo a sus valores
predeterminados.

5. PrintDialog

Funcionalidad: Permite al usuario imprimir documentos seleccionando una impresora y


eligiendo qué secciones del documento imprimir desde una aplicación Windows Forms.
El control PrintDialog permite al usuario imprimir documentos seleccionando una impresora
y eligiendo qué secciones del documento imprimir desde una aplicación Windows Forms.

Hay varios otros controles relacionados con la impresión de documentos. Veamos


brevemente estos controles y su propósito. Estos otros controles son:

● El control PrintDocument - proporciona soporte para eventos reales y operaciones


de impresión en Visual Basic y establece las propiedades para la impresión.
● El control PrinterSettings - se utiliza para configurar cómo se imprime un
documento especificando la impresora.
● El control PageSetUpDialog : permite al usuario especificar ajustes de impresión
relacionados con la página, como la orientación de la página, el tamaño del papel y el
tamaño del margen.
● El control PrintPreviewControl : representa la parte de vista previa sin procesar de
la vista previa de impresión desde una aplicación de Windows Forms, sin ningún
cuadro de diálogo ni botones.
● El control PrintPreviewDialog - representa un formulario de cuadro de diálogo que
contiene un PrintPreviewControl para imprimir desde una aplicación Windows
Forms.
A continuación, se muestra el cuadro de diálogo Imprimir:

Propiedades del control PrintDialog


Las siguientes son algunas de las propiedades de uso común del control PrintDialog:

Propiedad Descripción

1 AllowCurrentPage Obtiene o establece un valor que indica si se


muestra el botón de opción Página actual .

2 AllowPrintToFile Obtiene o establece un valor que indica si está


activada la casilla de verificación Imprimir en
archivo .

3 AllowSelection Obtiene o establece un valor que indica si el botón


de opción de selección está habilitado.

4 AllowSomePages Obtiene o establece un valor que indica si el botón


de opción Páginas está habilitado.
5 Document Obtiene o establece un valor que indica el
PrintDocument utilizado para obtener
PrinterSettings.

6 PrinterSettings Obtiene o establece los valores de configuración


de la impresora que modifica el cuadro de diálogo.

7 PrintToFile Obtiene o establece un valor que indica si está


activada la casilla de verificación Imprimir en
archivo .

8 ShowHelp Obtiene o establece un valor que indica si se


muestra el botón Ayuda .

9 ShowNetwork Obtiene o establece un valor que indica si se


muestra el botón Network .

Métodos del control PrintDialog


Los siguientes son algunos de los métodos más utilizados del control PrintDialog:

Nombre y descripción del método

1 Reset Restablece todas las opciones a sus valores predeterminados.

2 RunDialog Cuando se reemplaza en una clase derivada, especifica un cuadro


de diálogo común.

3 ShowDialog Ejecuta un cuadro de diálogo común con un propietario


predeterminado.
6. Forms

Funcionalidad: El contenedor para todos los controles que componen la interfaz de usuario.
La creación de una aplicación de formularios de ventana siguiendo los pasos siguientes en
Microsoft Visual File -> New Project -> Windows Forms Applications

Inicialmente, seleccione Aceptar, Microsoft Visual Studio crea su proyecto y muestra la


siguiente ventana Form con un nombre Form1 .

Visual Basic Form es el contenedor para todos los controles que forman la interfaz de
usuario. Cada ventana que ves en una aplicación visual básica es un formulario, por lo que
los términos forma y ventana describen la misma entidad. Visual Studio crea un formulario
predeterminado cuando crea una aplicación Windows Forms .

Cada formulario tendrá barra de título en la que se mostrará el título del formulario y habrá
botones para cerrar, maximizar y minimizar el formulario que se muestra a continuación:

Si hace clic en el icono en la esquina superior izquierda, se abre el menú de control, que
contiene los diversos comandos para controlar el formulario como mover el control de un
lugar a otro, maximizar o minimizar el formulario o cerrar el formulario.

Propiedades del formulario


La tabla siguiente enumera varias propiedades importantes relacionadas con un formulario.
Estas propiedades se pueden establecer o leer durante la ejecución de la aplicación. Puede
consultar la documentación de Microsoft para obtener una lista completa de las propiedades
asociadas con un control de formulario:

Propiedad Descripción

1 AcceptButton El botón que se activa automáticamente cuando se


pulsa Intro, independientemente del control que
tenga el enfoque en ese momento.Normalmente, el
botón Aceptar en un formulario se establece como
AcceptButton para un formulario.
2 CancelButton El botón que se activa automáticamente cuando
pulsa la tecla Esc.Normalmente, el botón Cancelar
en un formulario se establece como CancelButton
para un formulario.

3 AutoScale Esta propiedad booleana determina si los controles


que coloca en el formulario se escalan
automáticamente a la altura de la fuente actual.El
valor predeterminado de esta propiedad es
verdadero. Esto es una propiedad del formulario,
pero afecta a los controles en el formulario.

4 AutoScroll Esta propiedad booleana indica si las barras de


desplazamiento se unirán automáticamente al
formulario si se cambia el tamaño a un punto en el
que no todos sus controles son visibles.

5 AutoScrollMinSize Esta propiedad le permite especificar el tamaño


mínimo del formulario, antes de adjuntar las barras
de desplazamiento.

6 AutoScrollPosition AutoScrollPosition es el número de píxeles por el


cual las dos barras de desplazamiento se
desplazaron de sus ubicaciones iniciales.

7 BackColor Establece el color de fondo del formulario.


8 BorderStyle La propiedad BorderStyle determina el estilo del
borde del formulario y la apariencia del formulario:
● None : ventana sin márgenes que no se
puede cambiar el tamaño.
● Sizable : Este es el valor predeterminado y
se utilizará para la ventana redimensionable
que se utiliza para mostrar formularios
regulares.
● Fixed3D : Ventana con un borde visible,
"elevado" en relación con el área principal.
En este caso, las ventanas no se pueden
cambiar el tamaño.
● FixedDialog : Una ventana fija, utilizada
para crear cuadros de diálogo.
● FixedSingle : Una ventana fija con un solo
borde de línea.
● FixedToolWindow : Una ventana fija con
un botón Cerrar solamente. Se parece a la
barra de herramientas mostrada por las
aplicaciones de dibujo y de imágenes.
● SizableToolWindow : Igual que
FixedToolWindow pero redimensionable.
Además, su fuente de leyenda es más
pequeña que la habitual.

9 ControlBox De forma predeterminada, esta propiedad es True y


puede establecerla en False para ocultar el icono y
deshabilitar el menú Control.

10 Enable Si es True, permite que el formulario responda a


los eventos del ratón y del teclado; si es Falso,
deshabilita el formulario.
7. TextBox

Representa un control de cuadro de texto de Windows.

Los controles del Text box permiten introducir texto en un formulario en tiempo de
ejecución. De forma predeterminada, toma una sola línea de texto, sin embargo, puede hacer
que acepte varios textos e incluso añadir barras de desplazamiento.

Vamos a crear un cuadro de texto arrastrando un control de cuadro de texto desde el cuadro
de herramientas y dejarlo en el formulario.

Las propiedades del control TextBox


Las siguientes son algunas de las propiedades de uso común del control TextBox:

Propiedad Descripción

1 AcceptsReturn Obtiene o establece un valor que indica si


presionar ENTRAR en un control TextBox
multilínea crea una nueva línea de texto en el
control o activa el botón predeterminado para el
formulario.

2 AutoCompleteCustomSource Obtiene o establece una


System.Collections.Specialized.StringCollection
personalizada para utilizar cuando
AutoCompleteSourceproperty se establece en
CustomSource.

3 AutoCompleteMode Obtiene o establece una opción que controla


cómo funciona la finalización automática para el
TextBox.

4 AutoCompleteSource Obtiene o establece un valor que especifica el


origen de las cadenas completas utilizadas para la
finalización automática.
5 CharacterCasing Obtiene o establece si el control TextBox
modifica el caso de los caracteres a medida que
se escriben.

6 Font Obtiene o establece la fuente del texto mostrado


por el control.

7 FontHeight Obtiene o establece la altura de la fuente del


control.

8 ForeColor Obtiene o establece el color de primer plano del


control.

9 Lines Obtiene o establece las líneas de texto en un


control de cuadro de texto.

10 Multiline Obtiene o establece un valor que indica si se trata


de un control TextBox multilínea.

Los métodos del control TextBox


Los siguientes son algunos de los métodos más utilizados del control TextBox:

Nombre y descripción del método

1 AppendText Agrega texto al texto actual de un cuadro de texto.

2 Clear Borra todo el texto del control de cuadro de texto.

3 Copy Copia la selección actual en el cuadro de texto en el Portapapeles .


4 Cut Mueve la selección actual en el cuadro de texto al Portapapeles .

5 Paste Reemplaza la selección actual en el cuadro de texto con el contenido


del Portapapeles .

6 Paste (String) Establece el texto seleccionado en el texto especificado sin


borrar el búfer de deshacer.

7 ResetText Restablece la propiedad Text a su valor predeterminado.

8 ToString Devuelve una cadena que representa el control TextBoxBase.

10 Undo Deshace la última operación de edición en el cuadro de texto.

8. ScrollBar

Funcionalidad: Implementa la funcionalidad básica de un control de barra de


desplazamiento.

Los controles ScrollBar muestran barras de desplazamiento verticales y horizontales en el


formulario. Esto se utiliza para navegar a través de gran cantidad de información. Hay dos
tipos de controles de barra de desplazamiento: HScrollBar para barras de desplazamiento
horizontal y VScrollBar para barras de desplazamiento vertical. Estos se utilizan
independientemente entre sí.

Hagamos clic en el control HScrollBar y el control VScrollBar desde el cuadro de


herramientas y colocarlos en el formulario.

Propiedades del control ScrollBar


Las siguientes son algunas de las propiedades de uso común del control ScrollBar:
Propiedad Descripción

1 AutoSize Obtiene o establece un valor que indica si la


ScrollBar se redimensiona automáticamente para
adaptarse a su contenido.

2 BackColor Obtiene o establece el color de fondo para el


control.

3 ForeColor Obtiene o establece el color de primer plano del


control de barra de desplazamiento.

4 Obtiene o establece el modo Editor de métodos de


entrada (IME) admitido por este control.
ImeMode

5 LargeChange Obtiene o establece un valor que se agrega o se


resta de la propiedad Value cuando el cuadro de
desplazamiento se mueve una gran distancia.

6 Maximum Obtiene o establece el límite superior de valores del


rango desplazable.

7 Minimum Obtiene o establece el límite inferior de valores del


rango desplazable.

8 SmallChange Obtiene o establece el valor que se agrega o se resta


de la propiedad Value cuando el recuadro de
desplazamiento se mueve una distancia pequeña.

9 Value Obtiene o establece un valor numérico que


representa la posición actual del cuadro de
desplazamiento en el control de barra de
desplazamiento.
Métodos del control ScrollBar
Los siguientes son algunos de los métodos más utilizados del control ScrollBar:

Nombre y descripción del método

1 OnClick Genera el evento Click.

2 Select Activa el control.

9. DateTimePicker

Representa un control de Windows que permite al usuario seleccionar una fecha y una hora
y mostrar la fecha y hora con un formato especificado.

Funcionalidad: El control DateTimePicker permite seleccionar una fecha y hora editando


los valores mostrados en el control. Si hace clic en la flecha en el control DateTimePicker,
muestra un calendario de mes, como un control de cuadro combinado. El usuario puede
hacer la selección haciendo clic en la fecha requerida. El nuevo valor seleccionado aparece
en la parte de cuadro de texto del control.

Las propiedades MinDate y MaxDate le permiten poner límites al intervalo de fechas.

Propiedades del control DateTimePicker


Las siguientes son algunas de las propiedades de uso común del control DateTimePicker:

Propiedad Descripción

1 BackColor Obtiene o establece un valor que indica el


color de fondo del control DateTimePicker.
2 BackgroundImage Obtiene o establece la imagen de fondo para
el control.

3 BackgroundImageLayout Obtiene o establece el diseño de la imagen de


fondo del control DateTimePicker.

4 CalendarFont Obtiene o establece el estilo de fuente


aplicado al calendario.

5 CalendarForeColor Obtiene o establece el color de primer plano


del calendario.

6 CalendarMonthBackground Obtiene o establece el color de fondo del mes


del calendario.

7 CalendarTitleBackColor Obtiene o establece el color de fondo del


título del calendario.

8 CalendarTitleForeColor Obtiene o establece el color de primer plano


del título del calendario.

9 CalendarTrailingForeColor Obtiene o establece el color de primer plano


de las fechas finales de calendario.

10 Checked Obtiene o establece un valor que indica si la


propiedad Value se ha establecido con un
valor de fecha / hora válido y el valor
mostrado se puede actualizar.

Métodos del control DateTimePicker


Los siguientes son algunos de los métodos más utilizados del control DateTimePicker:

Nombre y descripción del método


1 ToString Devuelve la cadena que representa el control.

10. MenuStrip

Proporciona un sistema de menús para un formulario. El control MenuStrip representa el


contenedor para la estructura de menú.

Funcionalidad: El control MenuStrip funciona como el contenedor de nivel superior para la


estructura de menú. La clase ToolStripMenuItem y la clase ToolStripDropDownMenu
proporcionan las funcionalidades para crear elementos de menú, submenús y menús
desplegables.

El diagrama siguiente muestra la adición de un control MenuStrip en el formulario:

Propiedades del control MenuStrip


Las siguientes son algunas de las propiedades de uso común del control MenuStrip:

Propiedad Descripción

1 CanOverflow Obtiene o establece un valor que indica si el


MenuStrip admite la funcionalidad de
desbordamiento.

2 GripStyle Obtiene o establece la visibilidad de la


empuñadura utilizada para reposicionar el
control.

3 MdiWindowListItem Obtiene o establece el ToolStripMenuItem que


se utiliza para mostrar una lista de formularios
secundarios de interfaz de documentos
múltiples (MDI).

4 ShowItemToolTips Obtiene o establece un valor que indica si se


muestran ToolTips para el MenuStrip.
5 Stretch Obtiene o establece un valor que indica si el
MenuStrip se extiende de extremo a extremo en
su contenedor.

Eventos del Control MenuStrip


Los siguientes son algunos de los eventos de uso común del control MenuStrip:

Evento Descripción

MenuActivate Se produce cuando el usuario accede al menú


con el teclado o el mouse.

MenuDeactivate Se produce cuando el MenuStrip está


desactivado.

11. ToolStripMenuItem

Representa una opción seleccionable que se muestra en un MenuStripo ContextMenuStrip


. El control ToolStripMenuItem reemplaza y agrega funcionalidad al control MenuItem de
versiones anteriores.

Funcionalidad: La clase ToolStripMenuItem admite los menús y elementos de menú en


un sistema de menús. Puede manejar estos elementos de menú a través de los eventos de clic
en un sistema de menús.

Propiedades del ToolStripMenuItem Control


Las siguientes son algunas de las propiedades de uso común del control ToolStripMenuItem:

Propiedad Descripción

1 Checked Obtiene o establece un valor que indica si el


ToolStripMenuItem está marcado.
2 CheckOnClick Obtiene o establece un valor que indica si
ToolStripMenuItem debe aparecer
automáticamente marcado y desmarcado
cuando se hace clic.

3 CheckState Obtiene o establece un valor que indica si un


ToolStripMenuItem está en el estado marcado,
no marcado o indeterminado.

4 Enabled Obtiene o establece un valor que indica si el


control está habilitado.

5 IsMdiWindowListEntry Obtiene un valor que indica si el


ToolStripMenuItem aparece en una lista de
ventana de interfaz de documentos múltiples
(MDI).

6 ShortcutKeyDisplayString Obtiene o establece el texto de la tecla de


acceso directo.

7 ShortcutKeys Obtiene o establece las teclas de método


abreviado asociadas con el ToolStripMenuItem.

8 ShowShortcutKeys Obtiene o establece un valor que indica si las


teclas de método abreviado asociadas con
ToolStripMenuItem se muestran junto a
ToolStripMenuItem.

12. ContextMenuStrip

Representa un menú contextual.

Funcionalidad: El control ContextMenuStrip representa un menú contextual que aparece


sobre los controles, normalmente cuando hace clic con el botón derecho en ellos. Aparecen
en el contexto de algunos controles específicos, por lo que se llaman menús contextuales.
Por ejemplo, Cortar, Copiar o Pegar opciones.

Este control asocia el menú contextual con otros elementos de menú estableciendo la
propiedad ContextMenuStrip de ese elemento de menú en el control ContextMenuStrip que
diseñó.

Los elementos del menú contextual también se pueden desactivar, ocultar o eliminar.
También puede mostrar un menú contextual con la ayuda del método Show del control
ContextMenuStrip.

El diagrama siguiente muestra la adición de un control ContextMenuStrip en el formulario:

Propiedades del control ContextMenuStrip


Las siguientes son algunas de las propiedades de uso común del control ContextMenuStrip:

Propiedad Descripción

1 SourceControl Obtiene el último control que muestra el


control ContextMenuStrip.

13. Botón

: Esta herramienta crea un botón dentro del formulario.

Atributos - Propiedades del elemento Botón

Esta propiedad permite cambiar la fuente del botón.

Este atributo permite cambiar el texto del botón.

Propiedad que permite habilitar o deshabilitar el botón.

Propiedad para hacer el botón visible o invisible.

Propiedad que cambia el tipo de cursos cuando se pasa sobre el botón.


Propiedad que cambia el Color de borde del botón.

Propiedad que cambia el tamaño del borde.

Propiedad tamaño fuente, permite definir el tamaña para fuente en un

botón.

Al momento de activar el Botón se verá una animación en espera en

este caso el típico reloj de arena de Microsoft.

Define margen del botón.

14. Formulario

: Objeto Formulario, permite crear un formulario.

Atributos - Propiedades del elemento Formulario

Propiedad que define el texto del formulario.

Propiedad para definir el color de fondo de formulario.

Propiedad que define si hay una imagen de fondo en el formulario.

Propiedad para definir la fuente del formulario.

Permite definir si un objeto puede ser arrojado o movido en el

formulario.

Permite definir el icono principal del formulario.

Permite definir si el icono en el formulario principal se muestra o no.

Propiedad que define el tamaño del formulario.

Propiedad para definir los métodos de entrada en el formulario.

Propiedad que permite habilitar la fuente itálica en el formulario.


15. Calendario

: Objeto Calendario, crea un calendario dentro del formulario.

Propiedad que define el primer dia de la semana.

Propiedad que define la fecha final o máxima que puede ser usada en

el calendario.

Propiedad que define la fecha mínima o inicial que puede ser usada en

el calendario.

Propiedad que define si el dia de hoy es mostrado cuando se elige el

calendario.

Atributo que define la cantidad de días que pueden ser elegidos en el

calendario.

Atributo que define el dia actual en un círculo.

Atributo que muestra los días de las semanas en el calendario.

Propiedad que define el número de meses a adelantar o atrasar al

momento de hacer click en los controles del calendario

Propiedad que define el nombre del objeto calendario.

Indica si una variable miembro es producida o generada para el objeto

calendario.

16. Caja de Texto

: Objeto caja de Texto.Crea una caja de texto para ser usada en el formulario.
Propiedad para definir un color de fondo en la caja de texto.

Propiedad para definir una de fondo en la caja de texto.

Propiedad para definir un array de texto dentro de la caja de texto.

Atributo para definir si la caja de texto puede tener multilineas.

Número de caracteres que pueden ser escritos en el objeto caja de

texto.

Permite definir si los caracteres insertados se muestran con asteriscos.

Define la caja de texto como un objeto de solo lectura no hay

interacción con el usuario.

Permite que las palabras dentro de la caja sean reorganizadas para

multilínea.

Permite transformar los caracteres a mayúsculas o no al momento de

ingresar datos.

Define si el objeto ejecuta validación al momento cuando hay un

evento con el objeto.

17. Chart

Objeto Chart, crea una objeto de gráfica estadística en el formulario.

Propiedades:

Paleta de Colores que se pueden definir en el objeto de graficas

estadisticas.
Colores personalizados que se pueden definir en el objeto de graficas

estadisticas.

Nombre que se le puede dar al gráfico.

Permite definir si el gráfico se puede modificar de alguna forma como

arrastrar o cambiar de tamaño.

Indica y modifica la visibilidad del objeto.

Define si utiliza suavizado de las texturas del gráfico.

Define si se agrega suavizado sombras al gráfico.

Define la calidad de suavizado de texto Alto, normal o por defecto del

sistema.

Anotaciones o texto que se puede agregar dentro del gráfico

estadístico.

Nombre que se da al campo serie dentro del gráfico.

18. CheckBox

Objeto checkbox.Permite definir un checkbox en el formulario

Propiedades:

Define si hay o no nombre en el checkbox.

Da alineación para el texto del checkbox.

Define si el renderizado puede hacerse compatible con versiones

previas de Windows Forms.

Texto para cambiar el nombre del checkbox.

Permite definir el lenguaje en el que el checkbox es definido.


Define si el checkbox crece automáticamente al momento de

maximizar el formulario.

Define la ubicación en píxeles del objeto dentro del formulario.

Margen del objeto checkbox dentro del formulario.

Define el Tamaño máximo del checkbox en el formulario.

Define el Tamaño máximo del checkbox en el formulario.

19 Caja de Grupo

Objeto Caja de grupo.

Propiedad para definir el nombre de la caja de grupo.

Define el tamaño del objeto caja de grupo.

Define la ubicación dentro del formulario usando pixeles como

coordenadas.

Define el modo de tamaño si solo va ser para crecer o si es para crecer

y encogerse.

Define el comportamiento del objeto cuando un usuario hace click

sobre el o pasa el mouse sobre el.

El tipo de cursor de mouse que mostrara al momento de pasar el

mouse sobre el objeto

Sirve para definir una etiqueta la cual puede estar asociada al objeto.
Define color de fondo en el objeto caja de grupo

Define una imagen de fondo para el objeto caja de grupo.

Define fuente de texto para el objeto caja de grupo.

20. Barra de progreso.

Objeto barra de progreso.

Estilo que define cómo se visualizan los bloques de progreso en la

barra.

Define el valores máximos y mínimos cuando se inicia la barra de

progreso.

Determina si el objeto se muestra o está escondido en el formulario.

Velocidad de animación de la barra de progreso.

Define si el objeto barra de progreso está habilitado en el formulario.

Define el valor máximo con el cual la barra de progreso trabaja.

Define el valor mínimo con el cual la barra de progreso trabaja.

Propiedad para dar nombre a la barra de progreso.

Define si los bordes del objeto pueden estar unidos a un contenedor.

Color que se le da a la animación de carga en la barra de progreso.

21 Botón Guardar

Este botón permite guardar los avances del proyecto, se puede utilizar con el teclado

oprimiendo las teclas cntrl + s


22 Modo Paralelo

Me permite comparar dos archivos con código.

23 Adjuntar o Ejecutar

Permite ejecutar el programa en modo de depuración.

24 Marcar Comentario

Esta botón nos permite crear un comentario para unas líneas de código.

25 Label

Proporciona información en tiempo de ejecución o texto descriptivo para un control

Propiedades:
Text: Propiedad que define el texto del formulario.
BackColor: Propiedad para definir el color de fondo de formulario.
BackgroudImage: Propiedad que define si hay una imagen de fondo en el formulario.
Font: Propiedad para definir la fuente del formulario.
AllowDrop: Permite definir si un objeto puede ser arrojado o movido en el formulario.
Icon: Permite definir el icono principal del formulario.
ShowIcon:Permite definir si el icono en el formulario principal se muestra o no.
Size:Propiedad que define el tamaño del formulario.
ImeMode: Propiedad para definir los métodos de entrada en el formulario.
Italic: Propiedad que permite habilitar la fuente itálica en el formulario
26 List View

Muestra una colección de elementos en una de cinco vistas disponibles

Propiedades

Nombre Descripción

AccessibilityObject Obtiene AccessibleObject asignado al control.(Heredado de Control).

AccessibleDefaultAc Obtiene o establece la descripción de la acción predeterminada del

tionDescription control que usan las aplicaciones cliente de accesibilidad.(Heredado

de Control).

AccessibleDescripti Obtiene o establece la descripción del control que las aplicaciones

on cliente de accesibilidad utilizan.(Heredado de Control).

AccessibleName Obtiene o establece el nombre del control que las aplicaciones cliente

de accesibilidad utilizan.(Heredado de Control).

AccessibleRole Obtiene o establece el rol accesible del control. (Heredado

de Control).

Activation Obtiene o establece el tipo de acción que el usuario debe llevar a cabo

para activar un elemento.

Alignment Obtiene o establece la alineación de los elementos del control.


AllowColumnReorde Obtiene o establece un valor que indica si el usuario puede arrastrar

r encabezados de columna para reordenar las columnas del control.

AllowDrop Obtiene o establece un valor que indica si el control puede aceptar los

datos que el usuario arrastra al mismo.(Heredado de Control).

Anchor Obtiene o establece los bordes del contenedor al que está enlazado un

control y determina cómo se cambia el tamaño de un control con su

elemento primario.(Heredado de Control).

AutoArrange Obtiene o establece si los iconos se mantienen organizados

automáticamente.

AutoScrollOffset Obtiene o establece a dónde se desplaza este control

en ScrollControlIntoView.(Heredado de Control).

AutoSize Esta API admite la infraestructura producto y no está diseñada para

usarse directamente desde el código.Esta propiedad no es relevante

para esta clase.(Heredado de Control).

BackColor Obtiene o establece el color de fondo.(Invalida Control.BackColor).

27 CheckedList Box

Muestra una lista de elementos con una casilla a la izquierda de cada elemento
Propiedades:

Nombre Descripción

AccessibleDefaultActionDescription Obtiene o establece la descripción de la acción


predeterminada del control que usan las aplicaciones
cliente de accesibilidad.(Heredado de Control).

AccessibleDescription Obtiene o establece la descripción del control que las


aplicaciones cliente de accesibilidad
utilizan.(Heredado de Control).

AccessibleName Obtiene o establece el nombre del control que las


aplicaciones cliente de accesibilidad
utilizan.(Heredado de Control).

AccessibleRole Obtiene o establece el rol accesible del


control. (Heredado de Control).

AllowDrop Obtiene o establece un valor que indica si el control


puede aceptar los datos que el usuario arrastra al
mismo.(Heredado de Control).

AllowSelection Obtiene un valor que indica si la ListBox habilita


actualmente la selección de elementos de
lista.(Heredado de ListBox).

Anchor Obtiene o establece los bordes del contenedor al que


está enlazado un control y determina cómo se cambia
el tamaño de un control con su elemento
primario.(Heredado de Control).

AutoScrollOffset Obtiene o establece a dónde se desplaza este control


en ScrollControlIntoView.(Heredado de Control).

AutoSize Esta API admite la infraestructura producto y no está


diseñada para usarse directamente desde el
código. Esta propiedad no es relevante para esta
clase.(Heredado de Control).

BackColor Obtiene o establece el color de fondo del


control.(Heredado de ListBox).

BackgroundImage Esta API admite la infraestructura producto y no está


diseñada para usarse directamente desde el
código. Esta propiedad no es relevante para esta
clase.(Heredado de ListBox).
BackgroundImageLayout Esta API admite la infraestructura producto y no está
diseñada para usarse directamente desde el
código.Obtiene o establece el diseño de la imagen de
fondo para un ListBox tal como se define en
el ImageLayout(enumeración).(Heredado de ListBox).

28 WebBrowser

Permite al usuario explorar páginas web dentro del formulario.

Propiedades:
Nombre Descripción

AccessibilityObject Obtiene AccessibleObject asignado al


control.(Heredado de Control).

AccessibleDefaultActionDescription Obtiene o establece la descripción de la acción


predeterminada del control que usan las aplicaciones
cliente de accesibilidad.(Heredado de Control).

AccessibleDescription Obtiene o establece la descripción del control que las


aplicaciones cliente de accesibilidad
utilizan.(Heredado de Control).

AccessibleName Obtiene o establece el nombre del control que las


aplicaciones cliente de accesibilidad
utilizan.(Heredado de Control).

AccessibleRole Obtiene o establece el rol accesible del


control. (Heredado de Control).

ActiveXInstance Esta API admite la infraestructura producto y no está


diseñada para usarse directamente desde el
código.Obtiene el ActiveX
subyacente WebBrowser control.(Heredado
de WebBrowserBase).

AllowDrop Esta API admite la infraestructura producto y no está


diseñada para usarse directamente desde el código. El
control no es compatible con esta propiedad.(Heredado
de WebBrowserBase).

AllowNavigation Obtiene o establece un valor que indica si el control


puede navegar a otra página después de haberse
cargado la página inicial.

AllowWebBrowserDrop Obtiene o establece un valor que indica si el


control WebBrowser navega hasta los documentos
colocados en él.

29 MonthCalendar

Muestra un calendario mensual donde el usuario puede seleccionar una fecha

Propiedades
Nombre Descripcion

AccessibleDefa Obtiene o establece la descripción de acción predeterminada del control


ultActionDescri para su uso por las aplicaciones de cliente de accesibilidad. (Heredado de
ption Control).

AccessibleDesc Obtiene o establece la descripción del control utilizado por las


ription aplicaciones de cliente de accesibilidad. (Heredado de Control).

AccessibleNam Obtiene o establece el nombre del control utilizado por las aplicaciones
e cliente de accesibilidad. (Heredado de Control).

AccessibleRole Obtiene o establece el rol accesible del control (Heredado de Control).

AllowDrop Obtiene o establece un valor que indica si el control puede aceptar datos
que el usuario arrastra sobre él (Heredado de Control).

Anchor Obtiene o establece los bordes del contenedor al que está vinculado un
control y determina cómo se redimensiona un control con su elemento
primario. (Heredado de Control)
AnnuallyBolded Obtiene o establece la matriz de objetos DateTime que determina qué días
Dates anuales se muestran en negrita.

AutoScrollOffse Obtiene o establece el desplazamiento de este control en


t ScrollControlIntoView. (Heredado de Control).

AutoSize Esta API admite la infraestructura del producto y no está destinada a ser
utilizada directamente desde su código. Esta propiedad no es relevante
para esta clase. (Heredado de Control).

30 RadioButton

Permite al usuario seleccionar una única opción de entre un grupo de opciones cuando están
emparejadas en otros RadioButtons

Propiedades

Descripción
Nombre

AccessKey Obtiene o establece la clave de acceso que le permite navegar rápidamente


al control del servidor web. (Heredado de WebControl).

Adapter Obtiene el adaptador específico del navegador para el control. (Heredado


de Control)

AppRelativeTe Obtiene o establece el directorio virtual relativo a la aplicación del objeto


mplateSourceDi Página o UserControl que contiene este control. (Heredado de Control).
rectory

Attributes Obtiene la colección de atributos arbitrarios (solo para la representación)


que no se corresponden con las propiedades del control. (Heredado de
WebControl).

AutoPostBack Obtiene o establece un valor que indica si el estado de CheckBox se


registra automáticamente en el servidor al hacer clic en él (Heredado de
CheckBox).

BackColor Obtiene o establece el color de fondo del control del servidor web.
(Heredado de WebControl).

BindingContain Esta API admite la infraestructura del producto y no está destinada a ser
er utilizada directamente desde su código. Obtiene el control que contiene el
enlace de datos de este control. (Heredado de Control).

BorderColor Obtiene o establece el color del borde del control web. (Heredado de
WebControl)

BorderStyle Obtiene o establece el estilo de borde del control del servidor web.
(Heredado de WebControl).

BorderWidth Obtiene o establece el ancho del borde del control del servidor web.
(Heredado de WebControl).

Page Obtiene una referencia a la instancia de página que contiene el control del
servidor. (Heredado de Control).
TOOLS

1 ColorDialog

It represents a common dialog box showing the colors available along with the controls that
allow the user to define custom colors.

Functionality: Allows the user to select a color.

The main property of the ColorDialog control is Color, which returns a Color object.

Properties of the ColorDialog Control

Properties Description

1 P:System.Windows.Forms.ColorDialog.AllowFullOpen Gets or sets a value


that indicates whether
the user can use the
dialog box to define
custom colors.

2 AnyColor Gets or sets a value


that indicates whether
the dialog box shows
all available colors in
the basic color set.

3 CanRaiseEvents Gets a value that


indicates whether the
component can
generate an event.

4 Color Gets or sets the color


selected by the user.

5 CustomColors Gets or sets the set of


custom colors that
are displayed in the
dialog box.

6 P:System.Windows.Forms.ColorDialog.FullOpen Gets or sets a value


that indicates whether
the controls used to
create custom colors
are visible when the
dialog box is opened

7 ShowHelp Gets or sets a value


that indicates whether
a Help button appears
in the color dialog
box.

8 P:System.Windows.Forms.ColorDialog.SolidColorOnly Gets or sets a value


that indicates whether
the dialog box will
restrict users to select
only solid colors.

ColorDialog Control Methods

The following are some of the most commonly used methods of the ColorDialog control:

Name and description of the method

1 Reset When overridden in a derived class, specifies a common dialog box

2 RunDialog When overridden in a derived class, specifies a common dialog


box.

3 ShowDialog Runs a common dialog with a default owner box


2 FontDialog
It indicates to the user that choose to source among the installed on the local computer and
allows the user to select the font, the font size and color.

Functionality- Returns the font and Color objects.

The font dialog box is as follows: By default, the ComboBox of color is not displayed in the
font dialog box. It is necessary to configure the ShowColor property of the FontDialog
control be true.

Properties of the FontDialog Control, the following are some of the properties of common
use of FontDialog control:

Properties Description

1 AllowSimulations Gets or sets a value


indicating whether the dialog
box allows source (GDI)
graphics device interface
simulations.

2 AllowVectorFonts Gets or sets a value


indicating whether the dialog
box allows selections from
vector sources.

3 AllowVerticalFonts Gets or sets a value


indicating whether the dialog
box displays both vertical
and horizontal sources or
only horizontal fonts.

4 Color Gets or sets the selected font


color.
5 FixedPitchOnly Gets or sets a value that
indicates if the dialog box
allows only the selection of
sources of fixed pitch.

6 Font Gets or sets the selected


source.

7 FontMustExist Gets or sets a value


indicating whether the dialog
box specifies an error
condition if the user tries to
select a font or style that
does not exist.

8 MaxSize Gets or sets the maximum


point size that a user can
select.

9 P:System.Windows.Forms.FontDialog.MinSize Gets or sets the point size


minimum that a user can
select.

10 ScriptsOnly Gets or sets a value


indicating whether the dialog
box allows selection of fonts
for all non-OEM and Symbol
character sets, as well as the
ANSI character set.

11 ShowApply Gets or sets a value


indicating whether the dialog
box contains an apply button
.

12 ShowColor Gets or sets a value


indicating whether the dialog
box displays the color
choice.

13 ShowEffects Gets or sets a value


indicating whether the dialog
box contains controls that
allow the user to specify
strikethrough, underline, and
text color options.

14 ShowHelp Gets or sets a value


indicating whether the dialog
box displays a help button.

The FontDialog Control methods


The following are some of the most used of the FontDialog control methods:

Name and description of the method

1 Reset Resets all options to their default values.

2 RunDialog When overridden in a derived class, specifies a common dialog


box.

3 ShowDialog Runs a common dialog with a default owner box.

3 OpenFileDialog

Instructs the user to open a file and allows the user to select a file to open it.
Functionality : The OpenFileDialog control prompts the user to open a file and allows the
user to select a file to open it. The user can check if the file exists and then open it. The
OpenFileDialog control class inherits from the abstract class FileDialog .

If the P:System.Windows.Forms.OpenFileDialog.ShowReadOnly property is set to True,


will be a read-only check box in the dialog box. You can also set the
P:System.Windows.Forms.OpenFileDialog.ReadOnlyChecked property to True, so the
check box only reading appears marked.

Properties of the OpenFileDialog control


The following are some of the common use of the OpenFileDialog control properties:

Property Description

1 AddExtension Gets or sets a value indicating whether the dialog


box automatically adds an extension to a file
name if the user omits the extension.

2 AutoUpgradeEnabled Gets or sets a value that indicates if this


T:System.Windows.Forms.FileDialog instance
should automatically update the appearance and
behavior when running on Windows Vista.

3 CheckFileExists Gets or sets a value indicating whether the dialog


box displays a warning if the user specifies a file
name that does not exist.

4 CheckPathExists Gets or sets a value indicating whether the dialog


box displays a warning if the user specifies a path
that does not exist.

5 CustomPlaces Gets the collection of sites customized for this


FileDialog instance.
6 DefaultExt Gets or sets the default file name extension.

7 DereferenceLinks Gets or sets a value indicating whether the dialog


box returns the location of the file to which the
shortcut refers or if it returns the location of the
shortcut (.lnk).

8 Gets or sets a string that contains the name of the


file selected in the file dialog box.
FileName

9 FileNames Gets the names of all files selected in the dialog


box.

10 Filter Gets or sets the filter string name of current file,


which determines the choices that appear in the
box "Save as file type" or "Files of type" in the
dialog box.

OpenFileDialog control methods


The following are some of the most used of the OpenFileDialog control methods:

Name and description of the method

1 OpenFile Opens the file selected by the user with read-only permission. The
file specified by the FileName property.

2 Reset Resets all options to their default value.


4 SaveFileDialog

Functionality: Instructs the user to select a location to save a file and allows the user to
specify the name of the file to save the data.

SaveFileDialog control prompts the user to select a location to save a file and allows the
user to specify the name of the file to save data. The SaveFileDialog control class inherits
from the abstract class FileDialog.

The save file dialog box is as follows:

SaveFileDialog control properties


The following are some of the common use of the SaveFileDialog control properties:

Property Description

1 AddExtension Gets or sets a value indicating whether the dialog


box automatically adds an extension to a file
name if the user omits the extension.

2 CheckFileExists Gets or sets a value indicating whether the dialog


box displays a warning if the user specifies a file
name that does not exist.

3 CheckPathExists Gets or sets a value indicating whether the dialog


box displays a warning if the user specifies a
path that does not exist.

4 CreatePrompt Gets or sets a value indicating whether the dialog


box prompts the user for permission to create a
file if the user specifies a file that does not exist.

5 DefaultExt Gets or sets the default file name extension.


6 DereferenceLinks Gets or sets a value indicating whether the dialog
box returns the location of the file to which the
shortcut refers or if it returns the location of the
shortcut (.lnk).

7 FileName Gets or sets a string that contains the name of the


file selected in the file dialog box.

8 FileNames Gets the names of all files selected in the dialog


box.

9 Filter Gets or sets the filter string name of current file,


which determines the choices that appear in the
box "Save as file type" or "Files of type" in the
dialog box.

10 FilterIndex Gets or sets the index of the filter currently


selected in the file dialog box.

SaveFileDialog control methods


The following are some of the most used of the SaveFileDialog control methods:

Name and description of the method

1 OpenFile Opens the file with read permission / write.

2 Reset Resets all options to their default values dialog box.


5 PrintDialog

Functionality: Allows the user to print documents by selecting a printer and choose which
sections of the paper print from a Windows Application Forms.
The PrintDialog control allows the user to print documents by selecting a printer and choose
which sections of the document to print from a Windows Forms application.

There are several other controls related to the printing of documents. Let's briefly these
controls and its purpose. The other controls are:

● PrintDocument control - provides support for Visual Basic printing operations and
actual events and set the properties for printing.

● Control PrinterSettings - is used to set how to print a document specifying the printer.

● The PageSetUpDialog control: allows the user to specify print settings related to the
page, such as the orientation of the page, the size of the paper and margin size.

● The PrintPreviewControl control: represents the part of preview without processing


the preview of printing from a Windows Forms application, without any dialog boxes
or buttons.

● The PrintPreviewDialog control - represents a form of dialog box that contains a


T:System.Windows.Forms.PrintPreviewControl for printing from a Windows Forms
application.

The print dialog box are as follows:

Property of the PrintDialog control


The following are some of the common use of the PrintDialog control properties:

Property Description

1 AllowCurrentPage Gets or sets a value that indicates


whether the current page option
button is displayed .
2 AllowPrintToFile Gets or sets a value indicating
whether the print to file check box is
selected .

3 P:System.Windows.Forms.PrintDialog.AllowS Gets or sets a value that indicates


election whether the selection option button
is enabled.

4 AllowSomePages Gets or sets a value that indicates


whether the pages option button is
enabled.

5 Document Gets or sets a value indicating the


T:System.Drawing.Printing.PrintDoc
ument used to obtain
T:System.Drawing.Printing.PrinterSe
ttings.

6 PrinterSettings Gets or sets values for printer settings


that the dialog box modifies.

7 PrintToFile Gets or sets a value indicating


whether the print to file check box is
selected .

8 ShowHelp Gets or sets a value that indicates


whether the help button is displayed .

9 ShowNetwork Gets or sets a value that indicates


whether the Network button is
displayed .

The PrintDialog control methods


The following are some of the most used of the PrintDialog control methods:
Name and description of the method

1 Reset Resets all options to their default values.

2 RunDialog When overridden in a derived class, specifies a common dialog


box.

3 ShowDialog Runs a common dialog with a default owner box.

6 Forms

Functionality: The container for all the controls that make up the user interface.
The creation of a window Forms application following the following steps in Microsoft
Visual File - > New Project - > Windows Forms Applications

Initially, select OK, Microsoft Visual Studio creates your project and displays the following
window Form named Form1 .

Visual Basic Form is the container for all the controls that make up the user interface. Each
window you see in a visual basic application is a form, so the terms form and window
describes the same entity. Visual Studio creates a default form when you create an Windows
Forms application .

Each form will have title bar in which the title of the form will be shown and there will be
buttons to close, maximize and minimize the form displayed below:

If you click the icon in the upper left corner, opens the control menu, which contains various
commands to control the form to move the control from one place to another, maximize or
minimize the form and close the form.

In the form's properties


The following table lists several important properties associated with a form. These
properties can be set or read during the execution of the application. You may consult the
Microsoft documentation for a complete list of the properties associated with a form control:

Property Description

1 AcceptButton The button that is activated automatically


when you hit enter, regardless of the
control that has the focus at that time.
Normally, the OK button in a form is set to
AcceptButton for a form.

2 P:System.Windows.Forms.form.Cancel The button that is activated automatically


Button
when you click the Esc.Normalmente
button, the button cancel on a form is set
to
P:System.Windows.Forms.form.CancelBu
tton for a form.

3 AutoScale This Boolean property determines whether


controls placed on the form are
automatically scaled to the height of the
current font. The default value of this
property is true. This is a property of the
form, but does affect the controls on the
form.

4 AutoScroll This Boolean property indicates if


scrollbars will automatically join the form
changing the size to a point in which not all
controls are visible.

5 P:System.Windows.Forms.ScrollableC This property allows you to specify the


ontrol.AutoScrollMinSize minimum size of the form, before attaching
the scroll bars.
6 P:System.Windows.Forms.ScrollableC P:System.Windows.Forms.ScrollableContr
ontrol.AutoScrollPosition ol.AutoScrollPosition is the number of
pixels by which the two sliding bars moved
from their initial locations.

7 BackColor Sets the background color of the form.

8 BorderStyle The BorderStyle property determines the


style of the edge of the form and
appearance of the form:
● None : borderless window that you
can change the size.

● Sizable : This is the default and will


be used for resizable window that is
used to display regular forms.


F:System.Windows.Forms.Border
Style.Fixed3D : Window with a
visible border, "elevated" in relation
to the main area. In this case,
windows cannot change size.

● FixedDialog : A fixed window, used


to create dialog boxes.


F:System.Windows.Forms.Border
Style.FixedSingle : A window with
a single line border.


F:System.Windows.Forms.FormB
orderStyle.FixedToolWindow : A
window with a button close only.
Looks like the toolbar displayed by
drawing and image applications.

● SizableToolWindow : Same as
F:System.Windows.Forms.FormBor
derStyle.FixedToolWindow but
resizable. In addition, the source of
legend is smaller than the usual.

9 ControlBox By default, this property is True, and can


set it to False to hide the icon and disable
the Control menu.

1 Enable If True, it allows the form to respond to


0 events of mouse and keyboard; If it is false,
it disables the form.
7 TextBox

Represents a Windows text box control.

The controls of the Text box allow you to enter text in a form at run time. By default, takes a
single line of text, however, may make it accept several texts and even add scroll bars.

We are going to create a text box by dragging a text box control from the Toolbox and leave
it on the form.

The properties of the TextBox control


The following are some of the common use of the TextBox control properties:

Property Description

1 AcceptsReturn Gets or sets a value indicating


whether pressing enter in a TextBox
multiline creates a new line of text in
the control or activates the default
form button.

2 AutoCompleteCustomSource Gets or sets a custom


System.Collections.Specialized.String
Collection to use when
AutoCompleteSourceproperty is set to
CustomSource.

3 AutoCompleteMode Gets or sets an option that controls


how automatic completion for the
TextBox.

4 P:System.Windows.Forms.TextBox.AutoCo Gets or sets a value that specifies the


mpleteSource source of complete strings used for
automatic completion.
5 P:System.Windows.Forms.TextBox.Characte Gets or sets whether the TextBox
rCasing control modifies the case of
characters as they are typed.

6 Font Gets or sets the font of the text


displayed by the control.

7 P:System.Windows.Forms.control.FontHeig Gets or sets the height of the font of


ht the control.

8 ForeColor Gets or sets the color of the


foreground of the control.

9 Lines Gets or sets the lines of text in a text


box control.

1 Multiline Gets or sets a value that indicates if


0 it's a TextBox multiline.

The methods of the TextBox control


The following are some of the most used of the TextBox control methods:

Name and description of the method

1 AppendText Adds text to the current text of a text box.

2 Clear Clears all text in the text box control.

3 Copy Copies the current selection in the TextBox to the Clipboard .


4 Cut Moves the current selection in the text box to the Clipboard .

5 Paste Replaces the current selection in the text box with the contents of the
Clipboard .

6 Paste (String) Sets the selected text in the specified text without deleting the
buffer undo.

7 ResetText Resets the Text property to its default value.

8 ToString Returns a string that represents the


T:System.Windows.Forms.TextBoxBase control.

10 Undo Undoes the last editing operation on text box.

8 ScrollBar

Functionality : Implements the basic functionality of a scroll bar control.

The ScrollBar controls display vertical and horizontal scroll bars on the form. This is used to
navigate through large amounts of information. There are two types of scroll bar controls:
HScrollBar for horizontal scrolling and VScrollBar bars for vertical scroll bars. These are
used independently each other.

We click on control HScrollBar and VScrollBar control from the Toolbox and place them on
the form.

The ScrollBar control properties


The following are some of the common use of the ScrollBar control properties:
Property Description

1 AutoSize Gets or sets a value that


indicates whether the
ScrollBar is automatically
resized to fit its contents.

2 BackColor Gets or sets the background


color for the control.

3 ForeColor Gets or sets the color of the


foreground of the scroll bar
control.

4 Gets or sets the Editor input


(IME) mode supported by
ImeMode this control.

5 LargeChange Gets or sets a value that is


added or subtracted from
the Value property when
the scroll box is moved a
large distance.

6 Maximum Gets or sets the upper limit


of values of the scrollable
range.

7 Minimum Gets or sets the lower limit


of values of the scrollable
range.

8 P:System.Windows.Forms.TrackBar.SmallChange Gets or sets the value that


is added or subtracted from
the Value property when
the scroll box is moved a
small distance.
9 Value Gets or sets a numeric
value that represents the
current position of the
scroll box in the scroll bar
control.

ScrollBar control methods


The following are some of the most used of the ScrollBar control methods:

Name and description of the method

1 OnClick Raises the Click event.

2 Select Activates the control.

9 DateTimePicker

Represents a Windows control that allows the user to select a date and a time and show the
date and time in a specified format.

Functionality : The DateTimePicker control allows you to select a date and time by editing
the values displayed in the control. If you click the arrow in the DateTimePicker control
displays a calendar month, such as a combo box control. The user can make the selection by
clicking on the required date. The new selected value appears at the text box of the control.

P:System.Windows.Forms.DateTimePicker.MinDate properties and MaxDate le allow


you to set limits on the range of dates.

Properties of the DateTimePicker control


The following are some of the common use of the DateTimePicker control properties:
Property Description

1 BackColor Gets or sets a


value that
indicates the
background
color of the
DateTimePick
er control.

2 BackgroundImage Gets or sets


the
background
image for the
control.

3 P:System.Windows.Forms.control.BackgroundImageLayout Gets or sets


the layout of
the
background
image of the
DateTimePick
er control.

4 CalendarFont Gets or sets


the font style
applied to the
calendar.

5 P:System.Windows.Forms.DateTimePicker.CalendarForeColor Gets or sets


the color of
the foreground
of the
calendar.

6 P:System.Windows.Forms.DateTimePicker.CalendarMonthBackg Gets or sets


round the
background
color of the
calendar
month.

7 CalendarTitleBackColor Gets or sets


the
background
color of the
calendar title.

8 CalendarTitleForeColor Gets or sets


the color of
the foreground
of the title of
the calendar.

9 CalendarTrailingForeColor Gets or sets


the color of
the foreground
of the final
dates on
calendar.

1 Checked Gets or sets a


0 value that
indicates
whether the
Value property
is set with a
value of date /
time valid and
the displayed
value can be
updated.

The DateTimePicker control methods


The following are some of the most used of the DateTimePicker control methods:
Name and description of the method

1 ToString Returns the string that represents the control.

10 MenuStrip

It provides a system of menus for a form. The MenuStrip control represents the container
for the menu structure.

Functionality : The MenuStrip control functions as the top-level menu structure for
container. The T:System.Windows.Forms.ToolStripMenuItem class and the
T:System.Windows.Forms.ToolStripDropDownMenu class provide the functionality to
create menu items, submenus, and drop-down menus.

The following diagram shows the addition of a MenuStrip control on the form:

Properties of MenuStrip control


The following are some of the common use of MenuStrip control properties:

Property Description

1 CanOverflow Gets or sets a value indicating


whether the
T:System.Windows.Forms.MenuStr
ip supports overflow functionality.

2 GripStyle Gets or sets the visibility of the grip


used to reset the control.

3 P:System.Windows.Forms.MenuStrip.MdiWi Gets or sets the


T:System.Windows.Forms.ToolStri
ndowListItem
pMenuItem that is used to display a
list of child forms of multiple-
document interface (MDI).
4 ShowItemToolTips Gets or sets a value that indicates if
Show ToolTips for the
T:System.Windows.Forms.MenuStr
ip.

5 Stretch Gets or sets a value that indicates if


the
T:System.Windows.Forms.MenuStr
ip stretches from end to end in its
container.

The T:System.Windows.Forms.MenuStrip Control events


The following are some of the common use of MenuStrip control events:

Event Description

E:System.Windows.Forms.MenuStrip.MenuActi Occurs when the user accesses the


menu with the keyboard or
vate
mouse.

E:System.Windows.Forms.MenuStrip.MenuDeac Occurs when the


T:System.Windows.Forms.Menu
tivate
Strip is deactivated.

11 T:System.Windows.Forms.ToolStripMenuItem

Represents a selectable option displayed on a T:System.Windows.Forms.MenuStripor


T:System.Windows.Forms.ContextMenuStrip . The
T:System.Windows.Forms.ToolStripMenuItem control replaces and adds functionality to the
MenuItem control of previous versions.

Functionality: The T:System.Windows.Forms.ToolStripMenuItem class supports menus


and menu items in a menu system. You can manage these menu items by clicking on a menu
system events.

Properties of the T:System.Windows.Forms.ToolStripMenuItem Control


The following are some of the common use of the
T:System.Windows.Forms.ToolStripMenuItem control properties:

Property Description

1 Checked Gets or sets a value indicating


whether the
T:System.Windows.Forms.ToolStri
pMenuItem is marked.

2 CheckOnClick Gets or sets a value that indicates


whether
T:System.Windows.Forms.ToolStri
pMenuItem should appear
automatically marked and
unchecked when clicked.

3 CheckState Gets or sets a value that indicates


whether a
T:System.Windows.Forms.ToolStri
pMenuItem is marked, not marked
or indeterminate state.

4 Enabled Gets or sets a value that indicates


whether the control is enabled.

5 IsMdiWindowListEntry Gets a value indicating whether the


T:System.Windows.Forms.ToolStri
pMenuItem appears on a list of
multiple document interface
window (MDI).

6 ShortcutKeyDisplayString Gets or sets the shortcut key text.


7 ShortcutKeys Gets or sets the shortcut key
associated with the
T:System.Windows.Forms.ToolStri
pMenuItem.

8 P:System.Windows.Forms.ToolStripMenuItem.s Gets or sets a value that indicates


howshortcutkeys whether the shortcut key associated
with the
T:System.Windows.Forms.ToolStri
pMenuItem are displayed alongside
T:System.Windows.Forms.ToolStri
pMenuItem.

12 ContextMenuStrip

Represents a shortcut menu.

Functionality: The T:System.Windows.Forms.ContextMenuStrip control represents a


context menu that appears on the checks, usually when clicking with the right button on
them. They appear in the context of some specific controls, by what are called contextual
menus. For example, cut, copy, or paste options.

This control associated with the context menu with other menu items by setting the
ContextMenuStrip property of that menu item to the
T:System.Windows.Forms.ContextMenuStrip control designed.

The contextual menu items can also be disable, hide or delete. You can also display a
shortcut menu with the help of the Show method of the
T:System.Windows.Forms.ContextMenuStrip control.

The following diagram shows the addition of a


T:System.Windows.Forms.ContextMenuStrip control in the form:

The T:System.Windows.Forms.ContextMenuStrip control properties


The following are some of the common use of the
T:System.Windows.Forms.ContextMenuStrip control properties:
Property Description

1 SourceControl Gets the last control that displays the


T:System.Windows.Forms.ContextMenuStrip
control.

13 button

: This tool creates a button within the form.

Attributes - properties of the button element

This property allows you to change the font of the button.

This attribute allows you to change the text of the button.

Property that allows you to enable or disable the button.

Property to make the button visible or invisible.

A property that changes the type of courses as it passes over the

button.

A property that changes the button's border Color.

A property that changes the size of the edge.

Property size source, allows you to define the size to source a button.

Activate when button will be an animation on hold in this case the

typical hourglass of Microsoft.

Sets margin of the button.

14 form

: Object form, allows you to create a form.


Attributes - the form element properties

A property that defines the text on the form.

Property to set the background color of form.

A property that defines whether there is a background on the form

image.

Property to define the source of the form.

It allows to define if an object can be thrown or moved in the form.

Defines the main icon of the form.

Defines if the icon on the main form is displayed or not.

A property that defines the size of the form.

Property to define the methods of entry into the form.

Property that allows you to enable the italic font in the form.

15 calendar

: Calendar object, creates a calendar within the form.

A property that defines the first day of the week.

A property that defines the final or maximum date that can be used in

the calendar.

A property that defines the minimum or initial date that can be used in

the calendar.
Property that defines whether today is displayed when you choose the

calendar.

Attribute that defines the number of days that can be selected in the

calendar.

Attribute that defines the current day in a circle.

Attribute that displays the days of the weeks in the calendar.

Property that defines the number of months to advance or delay when

clicking the calendar controls

A property that defines the name of the calendar object.

Indicates whether a member variable is produced or generated for the

calendar object.

16 text box

: Object Texto.Crea box a box of text to be used in the form.

Property to define a background color in the text box.

Property to define a background in the text box.

Property to define an array of text within the text box.

Attribute to define if the text box may be multi-line.

Number of characters that can be typed in the text box object.

Defines if the inserted characters displayed with asterisks.

Defines the text as a read-only object box there is no interaction with

the user.

It allows that the words inside the box are reorganized to multiline.
It allows to transform the characters to uppercase or not at the time of

entering data.

Defines whether the object runs validation at the time when there is

an event with the object.

17 Chart

Chart object, creates a graphical statistic object in the form.

Properties:

The palette of colors that can be defined in the graphic statistics

object.

Custom colors that can be defined in the graphic statistics object.

Name that can be given to the graphic.

Defines if the graph can be somewhat like dragging or resizing.

Specifies and modifies the visibility of the object.

Defines if you use anti-aliased graphic textures.

Defines whether adds softened shadows to chart.

It defines the quality of anti-aliasing of text high, normal or the

system default.

Annotations, or text that can be added within the statistical graph.

Name given to the field series within the chart.


18 CheckBox

Checkbox object. Allows you to define a checkbox on the form

Properties:

Defines if there is or not name the checkbox.

It gives alignment for the text of the checkbox.

Defines whether the rendering can be compatible with previous

versions of Windows Forms.

Text to change the name of the checkbox.

Defines the language in which the checkbox is defined.

Defines whether the checkbox automatically grows in time to

maximize the form.

Defines the location in pixels of the object within the form.

Margin of the checkbox within the form object.

Defines the maximum size of the checkbox on the form.

Defines the maximum size of the checkbox on the form.

19 group box

Object group box.

Property to set the name of the group box.


Sets the size of the GroupBox object.

Specifies the location within the form using pixels as coordinates.

Set the size mode if you are only going to be to grow or if it is to grow

and shrink.

Defines the behavior of the object when a user clicks on or passing the

mouse over the.

The type of mouse cursor showing when passing the mouse over the

object

It serves to define a tag which may be associated with the object.

It defines background color in the object group box

Specifies a background image for the GroupBox object.

Defines font of text for the GroupBox object.

20. progress bar.

Progress bar object.

A style that defines how blocks progress in the bar are displayed.

Defines the maximum and minimum values when the progress bar

starts.

Determines if the object is shown or hidden on the form.

The progress bar animation speed.

Defines whether the object progress bar is enabled on the form.

Defines the maximum value with which the progress bar works.

Specifies the minimum value with which the progress bar works.

Property to name the progress bar.

Defines whether the edges of the object can be attached to a container.


Color given to load animation in the progress bar.

21 save button

This button allows you to save the progress of the project, it can be used with the keyboard

by pressing the cntrl key + s

22. parallel mode

It allows me to compare two files with code.

23 attach or run

Lets run the program in debug mode.

24 mark comment

This button allows us to create a comment for a few lines of code.

25 Label

It provides information on the time of execution or descriptive text for a control

Properties:
Text: Property that defines the text on the form.
BackColor: Property to set the background color of form.
BackgroudImage: Property defined if there is a background on the form image.
Font: Property to define the source of the form.
P:System.Windows.Forms.control.AllowDrop: It allows to define if an object can be thrown
or moved in the form.
Icon: Defines the main icon of the form.
ShowIcon: Defines if the icon on the main form is displayed or not.
A size:Propiedad that defines the size of the form.
ImeMode: Property to define the methods of entry into the form.
Italic: Property that allows you to enable the italic form font

26 List View

Displays a collection of items in one of five views available

Properties

Name Description

AccessibilityObject Get AccessibleObject assigned to the

control. (Inherited from ) Control ).

AccessibleDefaultActionDescription Gets or sets the description of the

default action of the control used by

accessibility client applications.

(Inherited from ) Control ).

AccessibleDescription Gets or sets the description of the

control used by accessibility client


applications. (Inherited from ) Control ).

AccessibleName Gets or sets the name of the control used

by accessibility client applications.

(Inherited from ) Control ).

P:System.Windows.Forms.control.AccessibleRole Gets or sets the accessible role of the

control. (Inherited from ) Control ).

Activation Gets or sets the type of action that the

user must take to activate an item.

Alignment Gets or sets the alignment of the

elements of the control.

AllowColumnReorder Gets or sets a value that indicates

whether the user can drag column

headers to reorder the columns in the

control.

P:System.Windows.Forms.control.AllowDrop Gets or sets a value that indicates

whether the control can accept data that

the user drags it. (Inherited from )

Control ).

Anchor Gets or sets the edges of the container to

which a control is bound and determines


how the size of a control is changed with

its parent. (Inherited from ) Control ).

AutoArrange Gets or sets whether icons are kept

organized automatically.

AutoScrollOffset Gets or sets where this control moves in

ScrollControlIntoView . (Inherited from

) Control ).

AutoSize This API supports the product

infrastructure and is not intended to be

used directly from your code. This

property is not relevant for this class.

(Inherited from ) Control ).

BackColor Gets or sets the background color.

(Overrides ) Control.BackColor ).

27 CheckedList Box

Displays a list of items with a check box to the left of each item

Properties:

Name Description
AccessibleDefaultActionDescription Accessibility client sets the description of the
default action of the control that use the
applications or gets. (Inherited from Control )).

AccessibleDescription Gets or sets the description of the control used


by accessibility client applications. (Inherited
from Control )).

AccessibleName Gets or sets the name of the control used by


accessibility client applications. (Inherited from
Control )).

P:System.Windows.Forms.control.Accessi Gets or sets the accessible role of the control.


bleRole (Inherited from Control )).

P:System.Windows.Forms.control.AllowD Gets or sets a value that indicates whether the


rop control can accept data that the user drags the.
(Inherited from Control )).

P:System.Windows.Forms.PrintDialog.All Gets a value indicating whether the ListBox


owSelection currently enables selection of list items.
(Inherited from ListBox )).

Anchor Gets or sets the edges of the container to which


a control is bound and determines how the size
of a control is changed with its parent.
(Inherited from Control )).

AutoScrollOffset Gets or sets where this control moves in


ScrollControlIntoView . (Inherited from
Control )).

AutoSize This API supports the product infrastructure


and is not intended to be used directly from
your code. This property is not relevant for this
class. (Inherited from ) Control ).

BackColor Gets or sets the background color of the


control. (Inherited from ListBox )).

BackgroundImage This API supports the product infrastructure


and is not intended to be used directly from
your code. This property is not relevant for this
class. (Inherited from ) ListBox ).

P:System.Windows.Forms.control.Backgro This API supports the product infrastructure


undImageLayout and is not intended to be used directly from
your code. Gets or sets the layout of the
background image for a ListBox as defined in
the
P:System.Windows.Forms.DataGridViewImag
eCell.ImageLayout (enumeration). (Inherited
from ListBox )).

28 WebBrowser

Allows the user to explore web pages within the form.

Properties:

Name Description

AccessibilityObject Get AccessibleObject assigned to


the control. (Inherited from Control
)).

AccessibleDefaultActionDescription Accessibility client sets the


description of the default action of
the control that use the applications
or gets. (Inherited from Control )).

AccessibleDescription Gets or sets the description of the


control used by accessibility client
applications. (Inherited from Control
)).

AccessibleName Gets or sets the name of the control


used by accessibility client
applications. (Inherited from Control
)).

P:System.Windows.Forms.control.AccessibleRole Gets or sets the accessible role of


the control. (Inherited from Control
)).

ActiveXInstance This API supports the product


infrastructure and is not intended to
be used directly from your code.
Gets the underlying ActiveX
WebBrowser control. (Inherited
from ) WebBrowserBase ).

P:System.Windows.Forms.control.AllowDrop This API supports the product


infrastructure and is not intended to
be used directly from your code.
Control is not compatible with this
property. (Inherited from )
WebBrowserBase ).

P:System.Windows.Forms.DataGrid.AllowNavigation Gets or sets a value that indicates if


the control can navigate to another
page after loading the home page.

AllowWebBrowserDrop Gets or sets a value that indicates if


the control WebBrowser navigate to
the documents placed in the.

29 MonthCalendar

Displays a monthly calendar where the user can select a date

Properties

Name Description

AccessibleDefaultActionDescription Gets or sets the description of the


default action of the control for use by
accessibility client applications.
(Inherited from Control).

AccessibleDescription Gets or sets the description of the


control used by accessibility client
applications. (Inherited from Control).

AccessibleName Gets or sets the name of the control used


by accessibility client applications.
(Inherited from Control).
P:System.Windows.Forms.control.AccessibleRole Gets or sets the accessible role of the
control (inherited from Control).

P:System.Windows.Forms.control.AllowDrop Gets or sets a value that indicates


whether the control can accept data that
the user drags over it (inherited from
Control).

Anchor Gets or sets the edges of the container to


which a control is bound and determines
how a control is resized with its parent.
(Inherited from Control)

AnnuallyBoldedDates Gets or sets the array of DateTime


objects that determines which annual
days are displayed in bold.

AutoScrollOffset Gets or sets the offset of this control in


ScrollControlIntoView. (Inherited from
Control).

AutoSize This API supports the infrastructure of


the product and is not intended to be
used directly from your code. This
property is not relevant for this class.
(Inherited from Control).

30 RadioButton

Allows the user to select a single option from a group of choices when paired in other
RadioButtons

Properties

Description
Name

AccessKey Gets or sets the access key that allows you to navigate quickly
to the web server control. (Inherited from WebControl).
Adapter Gets the specific adapter of the browser control. (Inherited from
Control)

P:System.Web.UI.contro Gets or sets the virtual directory relative to the object's


l.AppRelativeTemplateS application page or UserControl that contains this control.
ourceDirectory (Inherited from Control).

Attributes Gets the collection of arbitrary attributes (for representation)


that do not correspond to properties of the control. (Inherited
from WebControl).

AutoPostBack Gets or sets a value that indicates if the CheckBox State is


automatically registered on the server when you click on it
(inherited from CheckBox).

BackColor Gets or sets the background color of the web server control.
(Inherited from WebControl).

P:System.Web.UI.contro This API supports the infrastructure of the product and is not
l.BindingContainer intended to be used directly from your code. Gets the control
that contains this control's data binding. (Inherited from
Control).

BorderColor Gets or sets the color of the edge of the web. (Inherited from
WebControl)

BorderStyle Gets or sets the border style of the web server control.
(Inherited from WebControl).

BorderWidth Gets or sets the width of the edge of the web server control.
(Inherited from WebControl).

Page Gets a reference to the instance of the page that contains the
server control. (Inherited from Control).
CONCLUSIONES

Visual Basic, es un lenguaje de programación muy completo para uso de formularios y


manejo con bases de datos, es muy claro y tiene muy buena ayuda en español.

Sus usos para fines administrativos y contables para pequeñas y medianas empresas, lo hacen
ser uno de los mejores en esa materia.

Es un lenguaje de programación hibrido, es decir formado por código y objetos insertables en


los formularios, y es de alto nivel, es decir se expresa en un dialogo semejante al que usan las
personas. Maneja todo el entorno de Windows con gran facilidad.

Cada una de las herramientas y sus respectivas propiedades, facilitan la programación de


aplicaciones en visual basic, sin embargo es importante conocer su aplicabilidad, ya que
también al ingresar una propiedad de manera incorrecta va a generar errores en nuestra
aplicación.

CONCLUSIONS

Visual Basic, is a very complete programming language for the use of forms and
management with databases, it is very clear and has very good help in Spanish.

Its uses for administrative and accounting purposes for small and medium enterprises, make it
one of the best in that area.

It is a hybrid programming language, that is, formed by code and insertable objects in the
forms, and it is of a high level, that is, it is expressed in a dialogue similar to that used by
people. It handles the entire Windows environment with great ease.

Each of the tools and their respective properties, facilitate the programming of applications in
visual basic, however it is important to know its applicability, since also entering a property
incorrectly will generate errors in our application.
REFERENCIAS / REFERENCES

Msdn.microsoft.com. (2018). Propiedades ListView (System.Windows.Forms). [online]


Available at: https://msdn.microsoft.com/es-
es/library/system.windows.forms.listview_properties(v=vs.110).aspx [Accessed 13 Mar.
2018].

Msdn.microsoft.com. (2018). RadioButton Properties (System.Web.UI.WebControls).


[online] Available at: https://msdn.microsoft.com/en-
us/library/system.web.ui.webcontrols.radiobutton_properties(v=vs.110).aspx [Accessed 13
Mar. 2018].

Msdn.microsoft.com. (2018). Propiedades CheckedListBox (System.Windows.Forms).


[online] Available at: https://msdn.microsoft.com/es-
es/library/system.windows.forms.checkedlistbox_properties(v=vs.110).aspx [Accessed 13
Mar. 2018].

Msdn.microsoft.com. (2018). Propiedades WebBrowser (System.Windows.Forms). [online]


Available at: https://msdn.microsoft.com/es-
es/library/system.windows.forms.webbrowser_properties(v=vs.110).aspx [Accessed 13 Mar.
2018].

Repository.unad.edu.co. (2018). [online] Available at:


http://repository.unad.edu.co/bitstream/10596/9390/1/Material_apoyo_unidad_1.pdf
[Accessed 13 Mar. 2018].

Rubiano. J. (2015). Material de apoyo unidad 1. Recuperado de


http://hdl.handle.net/10596/9390

You might also like