コード例 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     Multiplicative_Inverse obj = new Multiplicative_Inverse();
     int num=Convert.ToInt32( NumberTextBox.Text);
     int Base= Convert.ToInt32(BaseTextBox.Text);
     int res=obj.calculate_inverse(num, Base);
     ResTextBox.Text =Convert.ToString( res);
 }
コード例 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Multiplicative_Inverse obj = new Multiplicative_Inverse();
            int num  = Convert.ToInt32(NumberTextBox.Text);
            int Base = Convert.ToInt32(BaseTextBox.Text);
            int res  = obj.calculate_inverse(num, Base);

            ResTextBox.Text = Convert.ToString(res);
        }