Friday, April 12, 2013

How To Make A Calculate Basic Math, Program Console With VB.Net




i make a simple program to calculate basic math....





How to make simple Calculator with VB.Net



Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click, Button2.Click, Button3.Click, Button4.Click, Button5.Click
        Dim a As String = CType(sender, Button).Text
        Dim b As Integer
        If Me.TextBox1.Text = "" Or Me.TextBox2.Text = "" Then
            MsgBox("Kolom Kosong", MsgBoxStyle.Critical, "Warning")
            If a = "C" Then
                Me.TextBox1.Text = ""
                Me.TextBox2.Text = ""
                Me.TextBox3.Text = ""
            End If
        Else
            If IsNumeric(Me.TextBox1.Text) = False Or IsNumeric(Me.TextBox2.Text) = False Then
                MsgBox("Inputan Hanya Berupa Angka", MsgBoxStyle.Exclamation, "Warning")
                If a = "C" Then
                    Me.TextBox1.Text = ""
                    Me.TextBox2.Text = ""
                    Me.TextBox3.Text = ""
                End If

3-Egg Omelet with Quinoa, Sun-Dried Tomatoes, Spinach, and Goat Cheese

3-Egg Omelet with Quinoa, Sun-Dried Tomatoes, Spinach, and Goat Cheese
2011-09-22-Omelet3v2.jpg 
2011-09-22-Omelet5.jpg 
 
 
 
 
 
 
 
 
 
2011-09-22-Omelet6.jpg 
2011-09-22-Omelet4.jpg 

Chicken Salad with Parsley Walnut Pesto

Chicken Salad with Parsley Walnut Pesto 

Recipe: Creamy Chicken Salad with Parsley Walnut Pesto & Sun-Dried Tomatoes

Serves 4-6 (can easily be doubled or tripled)
This chicken salad is good served buffet-style at room temperature, but it would be equally good tucked in mini pita or lettuce wraps, or piled in small phyllo cups or tart shells. The pesto itself would be great tossed with pasta or smeared on crostini with goat cheese or mozzarella.
For the chicken: 2 1/2 - 3 pounds boneless, skinless chicken breasts (about 6 breasts)
3 large garlic cloves, smashed