Selamat datang di BLOGchanif.com

Program Dasar Penjualan

Tuesday, October 29, 20131komentar

Program Dasar Penjualan adalah pelajaran sederhana dalam pemogroman, karena disini lah awal dari kesempurnaan progam. Kami berharap Semoga program   Dasar Penjualan ini dapat bermanfaat bagi para programer dasar.




Public Class latihan_penjualan

    Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles kd.SelectedIndexChanged
        Dim x As String
        x = Microsoft.VisualBasic.Left(kd.Text, 2)
        If x = "TS" Then
            merk.Text = "Toshiba"
        ElseIf x = "TS" Then
            merk.Text = "Toshiba"
        ElseIf x = "VG" Then
            merk.Text = "V-GEN"
        Else
            nama.Text = "V-GEN"
        End If

        x = Microsoft.VisualBasic.Right(kd.Text, 3)
        If x = "001" Then
            nama.Text = "Flasdisk 4GB"
        ElseIf x = "002" Then
            nama.Text = "Flasdisk 2GB"
        ElseIf x = "001" Then
            nama.Text = "Flasdisk 4GB"
        Else
            nama.Text = "Flasdisk 2GB"
        End If
    End Sub

    Private Sub latihan_penjualan_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        kd.Items.Add("TS001")
        kd.Items.Add("TS002")
        kd.Items.Add("VG001")
        kd.Items.Add("VG002")
    End Sub

    Private Sub btnkeluar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnkeluar.Click
        Me.Close()
    End Sub

    Private Sub btnhapus_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnhapus.Click
        no.Text = ""
        kd.Text = ""
        merk.Text = ""
        nama.Text = ""
    End Sub
End Class

Semoga Progam Dasar Penjualan diatas dapat bermanfaat bagi para Programer Pemula.
Share this article :

+ komentar + 1 komentar

March 2, 2017 at 8:16 AM

mas bisa di ajarin untuk buat aplikasi PDAM? :-)

Post a Comment

 
Support : Cara Gampang | Resep Masakan Kampung | Johny Template | Mas Templatea | Mesran[dot]Net
Copyright © 2011. BLOGchanif.com - All Rights Reserved
Template Created by Creating Website Modify by CaraGampang.Com
Proudly powered by Blogger