//Кнопка отчётов private void buttonReport_Click(object sender, EventArgs e) { if (!Data.PrintSelected()) Data.PrintSetup(); if (Data.PrintSelected()) { FormReports rep = new FormReports(); rep.ShowDialog(); } }
private void отчётыToolStripMenuItem_Click(object sender, EventArgs e) { StopRefresh(); FormReports form = new FormReports(); form.ShowDialog(); StartRefresh(); }