private void BtnABM_Click(object sender, EventArgs e) { Program.ActualizarTablas(); var formABM = new FormABM(Program.Tablas); formABM.FormClosed += FormABM_FormClosed; formABM.Show(this); }
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); } }