private void btnStI_Click(object sender, EventArgs e) { textBox1.Text = textBox1.Text.ToUpper(); try { numericUpDown1.Value = AlphabetNumber.toInt(textBox1.Text); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void numericUpDown1_ValueChanged(object sender, EventArgs e) { textBox1.Text = AlphabetNumber.toAlphabetNumber((Int64)numericUpDown1.Value); }
private void btnItS_Click(object sender, EventArgs e) { textBox1.Text = AlphabetNumber.toAlphabetNumber((int)numericUpDown1.Value); }