Ejemplo n.º 1
0
        private void btnReport_Click(object sender, EventArgs e)
        {
            ReportForm rf;

            if (rdbtnReportEventFree.Checked)
            {
                rf = new ReportForm(ShowReport.freeEvents);
            }
            else
            {
                rf = new ReportForm(ShowReport.statistics);
            }
            rf.Show();
        }
Ejemplo n.º 2
0
        private void btnOwnEvent_Click(object sender, EventArgs e)
        {
            SummaryForm of;

            if (rdbtnSummaryOwnEvents.Checked)
            {
                of = new SummaryForm(Data.ShowList.ownEvents, ControllerMain.ControllerInstantion.Userid);
                of.Show();
            }
            else
            {
                ReportForm rf = new ReportForm(ShowReport.ownEvents, ControllerMain.ControllerInstantion.Userid);
            }
        }