C# İle Mobile Programlama

C# İle Mobile Programlama

5. January 2010

Evet arkadaşlar sizler için bügün   birde Mobile Application  hazırladm  sadece başlangiç amaçlı bir örnek  yaptım 

 sizlerde visual studio nimetlerin den yararlanarak  böyle   başlıca projeler yaza bilirsiniz

Tabiki Unutmadan Microsoft Download Sayfasından Windows Mobile 6 Professional SDK Refresh indirmeyi unutmayalım   buda bir  bildiri.

 

 


Source Code :

using System;
using System.Windows.Forms;

namespace FirstMyDeviceProject
{
    public partial class Form1 : Form
    {

        public Form1()
        {
            InitializeComponent();

        }
        int _sayi1, _sayi2;
        double _sonuc;
        private void btnToplam_Click(object sender, EventArgs e)
        {
            if (chkTopla.Checked)
            {
                _sayi1 = Convert.ToInt32(txtsayi1.Text);
                _sayi2 = Convert.ToInt32(txtsayi2.Text);
                _sonuc = _sayi1 + _sayi2;
                lblSonuc.Text = _sonuc.ToString();
                Temiz();
            }
            else if (chkCarp.Checked)
            {
                _sayi1 = Convert.ToInt32(txtsayi1.Text);
                _sayi2 = Convert.ToInt32(txtsayi2.Text);
                _sonuc = _sayi1 * _sayi2;
                lblSonuc.Text = _sonuc.ToString();

                Temiz();
            }
            else if (chkcikart.Checked)
            {
                _sayi1 = Convert.ToInt32(txtsayi1.Text);
                _sayi2 = Convert.ToInt32(txtsayi2.Text);
                _sonuc = _sayi1 - _sayi2;
                lblSonuc.Text = _sonuc.ToString();
                Temiz();
            }
            else if (chkbol.Checked)
            {
                _sayi1 = Convert.ToInt32(txtsayi1.Text);
                _sayi2 = Convert.ToInt32(txtsayi2.Text);
                 _sonuc = _sayi1 / _sayi2;               

                  lblSonuc.Text = _sonuc.ToString();
                Temiz();
            }

        }

        void  Temiz()
        {
            txtsayi1.Text = "";
            txtsayi2.Text = "";
            txtsayi1.Focus();
        }
      
    }
}

Projenin Solution Kodu indir

Evet arkadaşlar örnek bir projenin sona gelmiş olduk  herkeze  iyi calışmalar kibk  

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

C# , Windows Mobile

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading