2010-11-23

簡易銷售系統

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Menu
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void butsum1_Click(object sender, EventArgs e)
        {
            double price = double.Parse(tbprice1.Text);
            double number = (double)nudnumber1.Value;
            double sum = price * number;
            tbsum1.Text = sum.ToString();

        }
    }
}

menu1.JPG

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License