Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Windows Presentation Foundation
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Windows Presentation Foundation Discussion of the beta version of Windows Presentation Foundation "WPF" formerly know as codename "Avalon" as well as the related XAML.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Windows Presentation Foundation section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 20th, 2007, 01:31 PM
Registered User
 
Join Date: Jun 2004
Location: New Westminster, BC, Canada.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pbhupal Send a message via Yahoo to pbhupal
Default 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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where do I place the code? dotnetDeveloper ASP.NET 2.0 Basics 1 August 7th, 2008 01:06 PM
Write .NET code in .ZIP File in place of .aspx savan_thakkar ASP.NET 1.0 and 1.1 Professional 3 November 2nd, 2006 07:28 AM
ViewState problem when adding a panel to a panel koekie17 C# 3 February 20th, 2006 08:17 AM
Input Panel matt.fields VB Components 3 November 13th, 2003 09:55 AM



All times are GMT -4. The time now is 08:08 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.