Exemplo n.º 1
0
 internal void GetBudgetTemplate()
 {
     try
     {
         AppSettingsReader setting = new AppSettingsReader();
         string            report  = (string)setting.GetValue("BudgetReport", typeof(string));
         BudgetReport.Open(report);
     }
     catch (Exception ex)
     {
         new Error(ex).ShowDialog();
     }
 }
Exemplo n.º 2
0
 // CONSTRUCTORS
 public ExcelForm()
 {
     InitializeComponent();
     Source                   = Source.DivisionAccounts;
     Provider                 = Provider.SQLite;
     DbData                   = new DataBuilder(Source, Provider);
     BindingSource            = new BindingSource();
     Table                    = DbData.Table;
     BindingSource.DataSource = Table;
     ProgramElements          = DbData.ProgramElements;
     Ninja                    = new FormData(Source, Provider);
     BudgetTemplate           = GetInternalFilePath();
     BudgetReport.Open(BudgetTemplate);
 }