hoSSohbeT.com  Sohbet  forumlari

Anasayfa Bugünki Mesajlar Forumları Okundu Kabul Et
Geri git   hoSSohbeT.com Sohbet forumlari > Bilgisayar ve İnternet Dünyası > Bilgisayar - İnternet > Bilgisayar Dünyası > Programlama
Kayıt ol Yardım Sohbet Gazete oku Diyetsaglik Üye Listesi Ajanda Arama Bugünki Mesajlar Forumları Okundu Kabul Et

Programlama Delphi , C , C++ , Qbasic , .NET Vb.Konular Hakkında Bilgi Alışverişi Yapabileceğiniz Bölüm



Cevapla
 
LinkBack Seçenekler Stil
Alt 03-09-08, 23:22   #1
Dokunma Yanarsın
 
aLayıNaiSyaN - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: 04-02-08
Nerden: . . .
Mesajlar: 1,981
Tecrübe Puanı: 496 aLayıNaiSyaN 1000 aLayıNaiSyaN 1000 aLayıNaiSyaN 1000 aLayıNaiSyaN 1000 aLayıNaiSyaN 1000 aLayıNaiSyaN 1000 aLayıNaiSyaN 1000 aLayıNaiSyaN 1000 aLayıNaiSyaN 1000 aLayıNaiSyaN 1000 aLayıNaiSyaN 1000
vb alan hesaplama


Kod:
Private Sub Command1_Click() 
Dim a, b, c As Double 
If Option1.Value = True Then 
a = Val(Text1.Text) 
b = 3.14 * a ^ 2 
Text3.Text = b 
End If 
If Option2.Value = True Then 
a = Val(Text1.Text) 
b = a ^ 2 
Text3.Text = b 
End If 
If Option3.Value = True Then 
a = Val(Text1.Text) 
b = Val(Text2.Text) 
c = a * b 
Text3.Text = c 
End If 
If Option4.Value = True Then 
a = Val(Text1.Text) 
b = Val(Text2.Text) 
c = (a * b) / 2 
Text3.Text = c 
End If 
End Sub 
Private Sub option1_click() 
Text1.Text = "" 
Text2.Text = "" 
Text3.Text = "" 
Label2.Visible = False 
Text2.Visible = False 
Label1.Caption = "yarıçap(r)" 
Label3.Caption = "Alan" 
End Sub 
Private Sub option2_click() 
Text1.Text = "" 
Text2.Text = "" 
Text3.Text = "" 
Label2.Visible = False 
Text2.Visible = False 
Label1.Caption = "Kenar(a)" 
Label3.Caption = "Alan" 
End Sub 
Private Sub option3_click() 
Text1.Text = "" 
Text2.Text = "" 
Text3.Text = "" 
Label2.Visible = True 
Text2.Visible = True 
Label1.Caption = "Kenar(a)" 
Label2.Caption = "Kenar(b)" 
Label3.Caption = "Alan" 
End Sub 
Private Sub option4_click() 
Text1.Text = "" 
Text2.Text = "" 
Text3.Text = "" 
Label2.Visible = True 
Text2.Visible = True 
Label1.Caption = "Taban(a)" 
Label2.Caption = "Yükseklik(h)" 
Label3.Caption = "Alan" 
End Sub 
__________________
aLL Hope iS Gone

aLayıNaiSyaN isimli Üye şimdilik offline konumundadır  
Digg this Post!Bookmark Post in Technorati
Alıntı ile Cevapla
Cevapla

  • Submit Thread to Digg Digg
  • Submit Thread to del.icio.us del.icio.us
  • Submit Thread to StumbleUpon StumbleUpon
  • Submit Thread to Google Google
  • Bookmarks

    Seçenekler
    Stil

    Yetkileriniz
    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 Açık
    Smileler Açık
    [IMG] Kodları Açık
    HTML-KodlarıKapalı
    Trackbacks are Açık
    Pingbacks are Açık
    Refbacks are Açık



    Bütün Zaman Ayarları WEZ olarak düzenlenmiştir. Şu Anki Saat: 18:03 .


    Powered by vBulletin Version 3.8.7
    Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
    Search Engine Friendly URLs by vBSEO 3.5.0 RC2
    Sohbet ve Sohbet odalari sitesi

    Sohbet Chat Forum Oyunlar1