예제 #1
0
 private void TemplatePrinterTestForm_Load(object sender, EventArgs e)
 {
     ArrayList lists = FontHelper.GetInstallFont();
     this.cbFonts.DataSource = lists;
     this.cbFonts.Text = "宋体";
     this.cbFonts.DropDownStyle = ComboBoxStyle.DropDownList;
     config = FT.Commons.Cache.StaticCacheManager.GetConfig<TemplateTextConfig>();
     this.dataGridView1.AutoGenerateColumns = false;
        // MessageBoxHelper.Show("模板条数:"+config.Lists.Count.ToString());
     this.RefreshData();
     this.txtPageWidth.Text = config.PageWidth.ToString();
     this.txtPageHeight.Text = config.PageHeight.ToString();
 }
예제 #2
0
 public TemplatePrintObject(TemplateTextConfig config)
 {
     this.config = config;
 }
예제 #3
0
 public TemplatePrintObject(TemplateTextConfig config)
 {
     this.config = config;
 }