![]() |
|
|
#1 (permalink) | ||
|
E & G
![]() ![]() Üyelik tarihi: Eyl 2007
Nerden: ordan burdan
Mesajlar: 894
Konular: 531
Üye No: 7129
Ruh halim:
Rep Gücü : 33
Rep Puanı : 567
Rep Seviyesi :
![]() ![]() ![]() ![]() ![]() ![]() |
![]() 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 Konu qRaLL tarafından (29-02-2008 Saat 06:00 ) değiştirilmiştir.. |
||
|
|
|
![]() |
| Bu konunun kısa yolunu aşağıdaki sitelere ekleyebilirsiniz! |
| Konu Araçları | |
| Stil | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | Forum | Cevaplar | son Mesaj |
| Visual basic kodları | GhostShip | Visual Basic | 4 | 21-09-2008 22:48 |
| Visual Basic 6.0 | qRaLL | Visual Basic | 0 | 29-02-2008 05:52 |
| Visual Basic Kuralım | Extreme | Visual Basic | 8 | 09-02-2008 15:49 |
| Visual Basic Derleyicileri | Extreme | Visual Basic | 2 | 30-01-2008 11:34 |
| Visual Basic 6.0 | 4Stifler | Programlar | 3 | 18-01-2008 22:36 |