S
SquirrellyShane
Guest
I am trying to get the user input in textBox1 to multiply by 1.35% by pressing a "Calculate" button and show the result in textBox2, but I have 0 clue on how this happens. I looked up a few calculator codes but I couldn't make heads or tails of how to just use * on the input with the 1.35 decimal.
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void CalcBtn_Click(object sender, EventArgs e)
{
}
private void ClearBtn_Click(object sender, EventArgs e)
{
this.textBox1.Text = "";
this.textBox2.Text = "";
}
private void ExitBtn_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
Continue reading...
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void CalcBtn_Click(object sender, EventArgs e)
{
}
private void ClearBtn_Click(object sender, EventArgs e)
{
this.textBox1.Text = "";
this.textBox2.Text = "";
}
private void ExitBtn_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
Continue reading...