public override void MakePayment(string price, string description, PrintType printType) { if (ProgramCore.IsFreeVersion) { ProgramCore.MainForm.SuccessPay(printType); // бесплатная версия return; } var ctrl = new ctrlPaypalPayment(printType); if (!ctrl.CreatePayment(price, description)) { MessageBox.Show("Can't activate paypal service. Check your Internet connection or try later.."); return; } ProgramCore.ShowDialog(ProgramCore.MainForm, ctrl, "Please pay for export!", MessageBoxButtons.OK, 0, false, false); if (ctrl.IsSuccess) { ProgramCore.MainForm.SuccessPay(printType); } else { ProgramCore.MainForm.BadPay(); } }