/// <summary>
 /// OK
 /// </summary>
 /// <param name="sender">イベントの発生したオブジェクト</param>
 /// <param name="e">発生したイベント</param>
 private void btnOK_Click(object sender, EventArgs e)
 {
     CPrintDocumentBody.SetFont(TimeTable, CPrintDocumentHeader.RIT_LEFTFONT, dlgLeftFont.Font);
     CPrintDocumentBody.SetFont(TimeTable, CPrintDocumentHeader.RIT_CENTERFONT, dlgCenterFont.Font);
     CPrintDocumentBody.SetFont(TimeTable, CPrintDocumentHeader.RIT_RIGHTFONT, dlgRightFont.Font);
     TimeTable[CPrintDocumentHeader.RIT_LEFTTEXT]      = cmbLeftText.Text;
     TimeTable[CPrintDocumentHeader.RIT_CENTERTEXT]    = cmbCenterText.Text;
     TimeTable[CPrintDocumentHeader.RIT_RIGHTTEXT]     = cmbRightText.Text;
     TimeTable[CPrintDocumentHeader.RIT_DATEFORMAT]    = cmbDateFormat.Text;
     TimeTable[CPrintDocumentHeader.RIT_PAGEFORMAT]    = txtPageFormat.Text;
     TimeTable[CPrintDocumentHeader.RIT_PAGEALLFORMAT] = txtPageAllFormat.Text;
 }
Esempio n. 2
0
 /// <summary>
 /// OK
 /// </summary>
 /// <param name="sender">イベントの発生したオブジェクト</param>
 /// <param name="e">発生したイベント</param>
 private void btnOK_Click(object sender, EventArgs e)
 {
     CPrintDocumentBody.SetFont(TimeTable, CPrintDocumentFooter.RIT_FONT, dlgFont.Font);
     TimeTable[CPrintDocumentFooter.RIT_FORMAT] = cmbFormat.Text;
     TimeTable[CPrintDocumentFooter.RIT_COLUMN] = nupColumnCount.Value.ToString();
 }