Пример #1
0
        private void button_galka_Click(object sender, EventArgs e)
        {
            short  _first_value  = Convert.ToInt16(textBox_num1.Text);
            short  _second_value = Convert.ToInt16(textBox_num2.Text);
            string str_message   = Calc.Xor(_first_value, _second_value);

            label_result.Text = str_message;
        }
Пример #2
0
        private void button_rightdraf_equal_Click(object sender, EventArgs e)
        {
            int    _first_value  = Convert.ToInt16(textBox_num1.Text);
            int    _second_value = Convert.ToInt16(textBox_num2.Text);
            string str_message   = Calc.RShift_equal(_first_value, _second_value);

            label_result.Text = str_message;
        }