예제 #1
0
 private void Btn_OK_Click(object sender, EventArgs e)
 {
     // TODO: Need to be chcek
     DocSetting.Instance.ReportTitle      = this.Txb_ReportTitle.Text;
     DocSetting.Instance.ReportHeader     = this.Txb_ReportHeader.Text;
     DocSetting.Instance.ReportFooter     = this.Txb_ReportFooter.Text;
     DocSetting.Instance.ReportNamePrefix = this.Txb_ReportPrefix.Text;
     DocSetting.Save();
     this.DialogResult = System.Windows.Forms.DialogResult.OK;
 }
예제 #2
0
        private void Btn_OK_Click(object sender, EventArgs e)
        {
            DocSetting.Instance.ReportHeader     = this.Txb_ReportHeader.Text;
            DocSetting.Instance.ReportFooter     = this.Txb_ReportFooter.Text;
            DocSetting.Instance.ReportTitle      = this.Txb_ReportTitle.Text;
            DocSetting.Instance.ReportNamePrefix = this.Txb_ReportPrefix.Text;
            DocSetting.Save();

            TemplateControl   = new UCControl.DocumentControl();
            this.DialogResult = System.Windows.Forms.DialogResult.OK;
        }