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); }
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); }