code for in-place Tablet PC Input Panel icon
code help for Window1.xaml.cs file would be appreciated (newbie):
I would like to know how to add The floating in-place
Tablet PC Input Panel icon to the textbox controls?
The following is in my Windows1.xaml:
<Window x:Class="ExpenseIt.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ExpenseIt" Height="300" Width="300"
>
<Grid>
<TextBox Height="26" Margin="92,4,100,0" Name="textName" VerticalAlignment="Top"></TextBox>
<PasswordBox Height="26" Margin="89,69,103,0" Name="txtpassword" VerticalAlignment="Top" />
<Label Height="23.2766666666667" HorizontalAlignment="Left" Margin="15.37,7.72333333333333,0,0" Name="Label1" VerticalAlignment="Top" Width="43.63">Name</Label>
<Label Height="23.2766666666667" HorizontalAlignment="Left" Margin="10.37,75.7233333333333,0,0" Name="label2" VerticalAlignment="Top" Width="68.63">Password</Label>
<TextBox Height="26" Margin="92,0,100,93" Name="txtBox1" VerticalAlignment="Bottom"></TextBox>
<Label Height="23.2766666666666" HorizontalAlignment="Left" Margin="24.37,0,0,97" Name="label3" VerticalAlignment="Bottom" Width="35.63">Text</Label>
</Grid>
</Window>
The following is the code in Window1.xaml.cs:
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace LearnIt
{
/// <summary>
/// Interaction logic for Window1.xaml
/// </summary>
public partial class Window1 : System.Windows.Window
{
public Window1()
{
InitializeComponent();
}
}
}
Thanks for all your help,
Paul
|