private void btnCalcCost_Click(object sender, EventArgs e) { txtBxCost.Text = WinManager.cost_trip(distance, comboBoxTariff.SelectedIndex, probki).ToString("c"); btnCalcCost.Enabled = false; }