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