コード例 #1
0
        private void FormConfigConnections_Load(object sender, EventArgs e)
        {
            txtCaminhoBase.Text = Util.GetPastaConfiguracao();


            _ConfigConnectionsController = new ConfigConnectionsController();
            _ConfigConnectionsController.Initialize();

            //this.CarregarConfiguracoes(configConnectionFirebirdFiscal);
            //this.CarregarConfiguracoes(configConnectionFirebirdContabil);
            this.CarregarConfiguracoes(configConnectionFirebirdSpedFiscal);
            this.CarregarConfiguracoes(configConnectionFirebirdSpedContabil);
            this.CarregarConfiguracoes(configConnectionContmatic);
        }
コード例 #2
0
        public MainForm()
        {
            InitializeComponent();
            tsmPublish.Visible = false;
            if (System.Diagnostics.Debugger.IsAttached)
            {
                tsmPublish.Visible = true;
            }
            tsVersao.Text = "Versão: " + Assembly.GetEntryAssembly().GetName().Version;;
            _ConfigConnectionsController = new ConfigConnectionsController();
            _ConfigConnectionsController.Initialize();



            CarregaMenus();
        }