Beispiel #1
0
        private void TsmiReportTkClick(object sender, EventArgs e)
        {
            DataRecept i = panelBrouse1.GetSelectedRecept();

            if (i != null)
            {
                FormPreview frm = new FormPreview(i, PreviewReport.FormTK);
                frm.Show();
            }
            else
            {
                MessageBox.Show("Выберите рецептуру", "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0);
            }
        }
Beispiel #2
0
        private void tsmiReportBookList_Click(object sender, EventArgs e)
        {
            FormPreview frm = new FormPreview(DataBook.Book, PreviewReport.BookList);

            frm.Show();
        }