コード例 #1
0
        private void tsmi_Lists_Click(object sender, EventArgs e)
        {
            frm_Reports f_Reports = new frm_Reports();

            f_Reports.MdiParent   = this;
            f_Reports.WindowState = FormWindowState.Maximized;
            f_Reports.Show();
        }
コード例 #2
0
        private void btn_Report_Click(object sender, EventArgs e)
        {
            frm_Reports f_reports = new frm_Reports();

            f_reports.SetDate(monthCalendar1.SelectionStart, monthCalendar1.SelectionEnd);
            f_reports.SetUnitID((Int64)cb_Unit.SelectedValue);
            f_reports.MdiParent = this.MdiParent;
            f_reports.Show();
            f_reports.btn_Graph_Click(this, e);
        }