private void fPageSetup_Load(object sender, EventArgs e)
{
cUtil.listAdd(cb_paperSize, "Letter", (int)csReportPaperType.CSRPTPAPERTYPELETTER);
cUtil.listAdd(cb_paperSize, "A4", (int)csReportPaperType.CSRPTPAPERTYPEA4);
cUtil.listAdd(cb_paperSize, "Legal", (int)csReportPaperType.CSRPTPAPERTYPELEGAL);
cUtil.listAdd(cb_paperSize, "A3", (int)csReportPaperType.CSRPTPAPERTYPEA3);
cUtil.listAdd(cb_paperSize, "User", (int)csReportPaperType.CSRPTPAPERUSER);
cUtil.listSetListIndexForId(cb_paperSize, (int)m_paperSize);
tx_height.Text = m_customHeight.ToString();
tx_width.Text = m_customWidth.ToString();
if (m_orientation == (int)csRptPageOrientation.LANDSCAPE)
{
op_landscape.Checked = true;
}
else
{
op_portrait.Checked = true;
}
cWindow.centerForm(this);
}