Esempio n. 1
0
        private void BtnABM_Click(object sender, EventArgs e)
        {
            Program.ActualizarTablas();
            var formABM = new FormABM(Program.Tablas);

            formABM.FormClosed += FormABM_FormClosed;
            formABM.Show(this);
        }
Esempio n. 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var formSplash = new FormSplash();

            Application.Run(formSplash);
            if (formSplash.IrABM)
            {
                var formABM = new FormABM(Tablas);
                Application.Run(formABM);
            }
            else
            {
                var formVentas = new FormVentas();
                Application.Run(formVentas);
            }
        }