Most of your questions are FAQ:
http://msdn.microsoft.com/smartclien...q/default.aspx
--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com |
www.opennetcf.org
"(E-Mail Removed)" wrote:
> Hi there
> I'm new to developping with the .NET Compact Framework . I've many open
> question and hope that all of you can help me :-)
>
>
> First of all I create a small app and compiled it with the compact
> framework. Now I've some trouble with showing a picture
>
> when ever i ad an picture class i get an error on the PocketPC. So my
> first question is: How can i add pictures to my apps and what is
> important to do this?
>
> Then the bottom bar of the pda where you can activate the keyboard
> disappears and i also can'T see the border of my form.It seems like my
> form stretches out of the screen. What do i wrong?
> How can I show the keyboard? id'like to show always the keyboard when a
> user clicks in a textbox
>
> Here my source hope this helps
>
> using System;
> using System.Drawing;
> using System.Windows.Forms;
>
> namespace Form
> {
> /// <summary>
> /// Description of MainForm.
> /// </summary>
> public class MainForm : System.Windows.Forms.Form
> {
> private System.Windows.Forms.TextBox textBox1;
> private System.Windows.Forms.TextBox textBox2;
> private System.Windows.Forms.PictureBox pictureBox1;
> public MainForm()
> {
> //
> // The InitializeComponent() call is required for Windows Forms
> designer support.
> //
> InitializeComponent();
>
> //
> // TODO: Add constructor code after the InitializeComponent() call.
> //
> }
>
> //[STAThread]
> public static void Main(string[] args)
> {
> Application.Run(new MainForm());
> }
>
> #region Windows Forms Designer generated code
> private void InitializeComponent() {
> System.Resources.ResourceManager resources = new
> System.Resources.ResourceManager(typeof(MainForm));
> this.pictureBox1 = new System.Windows.Forms.PictureBox();
> this.textBox2 = new System.Windows.Forms.TextBox();
> this.textBox1 = new System.Windows.Forms.TextBox();
> //
> // pictureBox1
> //
> //this.pictureBox1.Image =
> ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
> //this.pictureBox1.Location = new System.Drawing.Point(64, 72);
> //this.pictureBox1.Size = new System.Drawing.Size(40, 32);
> //
> // textBox2
> //
> this.textBox2.Location = new System.Drawing.Point(120, 80);
> this.textBox2.Text = "textBox2";
> //
> // textBox1
> //
> this.textBox1.Location = new System.Drawing.Point(0, 0);
> this.textBox1.Text = "";
> //
> // MainForm
> //
> this.Width = 50;
> this.Height = 50;
> this.ClientSize = new System.Drawing.Size(100,100);
> this.Controls.Add(this.pictureBox1);
> this.Controls.Add(this.textBox2);
> this.Text = "smartCRM.PDA";
> this.Load += new System.EventHandler(this.MainFormLoad);
> }
> #endregion
> void MainFormLoad(object sender, System.EventArgs e)
> {
>
> }
>
> }
> }
>
> thank you!
>
>