Step 1 of fixing the issue with Auto Compute and Spacing
This commit is contained in:
@@ -112,7 +112,8 @@ namespace WindowsFormsApplication1
|
||||
i++;
|
||||
}
|
||||
}
|
||||
binaryTextBox.Text = binaryString;
|
||||
//debugLabel.Text = sender.GetType().ToString();
|
||||
binaryTextBox.Text = binaryString;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -230,25 +231,29 @@ namespace WindowsFormsApplication1
|
||||
|
||||
private void binaryTextBox_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (autoCompute.Checked)
|
||||
//debugLabel.Text = sender.GetType().ToString();
|
||||
if (autoCompute.Checked & (sender.GetType().ToString().Equals("System.Windows.Forms.TextBox")))
|
||||
compute();
|
||||
}
|
||||
|
||||
private void hexTextBox_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (autoCompute.Checked)
|
||||
//debugLabel.Text = sender.GetType().ToString();
|
||||
if (autoCompute.Checked & (sender.GetType().ToString().Equals("System.Windows.Forms.TextBox")))
|
||||
compute();
|
||||
}
|
||||
|
||||
private void octalTextBox_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (autoCompute.Checked)
|
||||
//debugLabel.Text = sender.GetType().ToString();
|
||||
if (autoCompute.Checked & (sender.GetType().ToString().Equals("System.Windows.Forms.TextBox")))
|
||||
compute();
|
||||
}
|
||||
|
||||
private void decimalTextBox_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (autoCompute.Checked)
|
||||
//debugLabel.Text = sender.GetType().ToString();
|
||||
if (autoCompute.Checked & (sender.GetType().ToString().Equals("System.Windows.Forms.TextBox")))
|
||||
compute();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user