Esempio n. 1
0
        private void btnPrtLabels_Click(object sender, EventArgs e)
        {
            LabRpt rpt = new LabRpt();

            rpt.rptName     = "ReportLabel";
            rpt.WindowState = FormWindowState.Maximized;
            rpt.nRptNo      = Convert.ToInt32(txtRptNo.Text);
            try
            {
                rpt.Show();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Esempio n. 2
0
        private void btnLSPreview_Click(object sender, EventArgs e)
        {
            if (nMode == 0)
            {
                LabRpt rpt = new LabRpt();
                rpt.rptName     = "LoadSchedules";
                rpt.WindowState = FormWindowState.Maximized;


                try
                {
                    rpt.Show();
                }
                catch (Exception ex)
                {
                    string exc = ex.Message;
                }
            }
        }