private void btnDiv_Click(object sender, EventArgs e) { double polar = Convert.ToDouble(txtMDPol1.Text); int angle = Convert.ToInt16(txtMDPolAngel1.Text); cn one = new cn(polar, angle); polar = Convert.ToDouble(txtMDPol2.Text); angle = Convert.ToInt16(txtMDPolAngle2.Text); cn two = new cn(polar, angle); txtMDPolTotal.Text = Convert.ToString(one.getPolarDouble() / two.getPolarDouble()); txtMDPolAngleTotal.Text = Convert.ToString(one.getAngleInt() - two.getAngleInt()); }