Esempio n. 1
0
        private WordDoc openDocumentWord(string name)
        {
            TemplateList templateList = TemplateList.getInstance();
            Template     template     = templateList.getItem(name);

            return(new WordDoc(template.File));
        }
Esempio n. 2
0
        private ExcelDoc openDocumentExcel(string name)
        {
            TemplateList templateList = TemplateList.getInstance();
            Template     template     = templateList.getItem(name);

            return(new ExcelDoc(template.File));
        }
 private void _dgvTemplate_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     openAddEdit(_templateList.getItem(_dgvMain.GetID()));
 }