InkEdit (Constructor)
Actualización: noviembre 2007
Inicializa una nueva instancia del control InkEdit.
Espacio de nombres: Microsoft.Ink
Ensamblado: Microsoft.Ink (en Microsoft.Ink.dll)
Sintaxis
'Declaración
Public Sub New
'Uso
Dim instance As New InkEdit()
public InkEdit()
public:
InkEdit()
public InkEdit()
public function InkEdit()
Ejemplos
En este ejemplo de C# se crea un control InkEdit, theInkEdit, en un control de Windows Forms.
using System;
using System.Windows.Forms;
using Microsoft.Ink;
namespace InkEditSample
{
class InkEditSample : System.Windows.Forms.Form
{
private Microsoft.Ink.InkEdit theInkEdit;
public InkEditSample()
{
theInkEdit = new InkEdit();
theInkEdit.Parent = this;
theInkEdit.Dock = DockStyle.Fill;
theInkEdit.UseMouseForInput = true;
theInkEdit.Enabled = true;
}
[STAThread]
public static void Main()
{
Application.Run(new InkEditSample());
}
}
}
En este ejemplo de Microsoft® Visual Basic® .NET se crea un control InkEdit, theInkEdit, en un control de Windows Forms.
Imports System
Imports System.Windows.Forms
Imports Microsoft.Ink
Public Class InkEditSample
Inherits System.Windows.Forms.Form
Private theInkEdit As Microsoft.Ink.InkEdit
Public Sub New()
theInkEdit = New Microsoft.Ink.InkEdit()
theInkEdit.Parent = Me
theInkEdit.Dock = DockStyle.Fill
theInkEdit.UseMouseForInput = True
theInkEdit.Enabled = True
End Sub
<STAThread()> Shared Sub Main()
Application.Run(New InkEditSample())
End Sub
End Class
Plataformas
Windows Vista
.NET Framework y .NET Compact Framework no admiten todas las versiones de cada plataforma. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.
Información de versión
.NET Framework
Compatible con: 3.0