Example #1
0
        private void btnExport_Click(object sender, EventArgs e)
        {
            ExportJob eb = new ExportJob();
            eb.file = lblFile.Text;

            if (eb.file == "")
            {
                MessageBox.Show("Pick a file first!");
                return;
            }

            if (rbHandouts.Checked == true)
            {
                ExportAsHandoutsForm easf = new ExportAsHandoutsForm();
                eb.method = "handouts";
                easf.job = eb;
                easf.ShowDialog(this);
            }
        }
        private void btnExport_Click(object sender, EventArgs e)
        {
            ExportJob eb = new ExportJob();

            eb.file = lblFile.Text;

            if (eb.file == "")
            {
                MessageBox.Show("Pick a file first!");
                return;
            }

            if (rbHandouts.Checked == true)
            {
                ExportAsHandoutsForm easf = new ExportAsHandoutsForm();
                eb.method = "handouts";
                easf.job  = eb;
                easf.ShowDialog(this);
            }
        }