void RefreshToolStripPin() { int countForGenerate = LetterManager.GetPinCountToGenerate(textBox_summa.Text.Length > 0? textBox_summa.Text : "0" ); toolStripLabel_pins.Text = countForGenerate.ToString(); SetXlsReportButtonEnable(); }