Пример #1
0
 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);
     }
 }
Пример #2
0
 private void numericUpDown1_ValueChanged(object sender, EventArgs e)
 {
     textBox1.Text = AlphabetNumber.toAlphabetNumber((Int64)numericUpDown1.Value);
 }
Пример #3
0
 private void btnItS_Click(object sender, EventArgs e)
 {
     textBox1.Text = AlphabetNumber.toAlphabetNumber((int)numericUpDown1.Value);
 }