Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Cash c = CashFactory.CreatCash(comboBox1.SelectedIndex);

            label1.Text = c.finalCash(Convert.ToDouble(textBox1.Text)).ToString();
        }