static void Main() { //DI Injection , Ninject + Log4Net CompositionRoot.Wire(new InjectModule()); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(CompositionRoot.Resolve <FrmPrincipal>()); }
private void modificarBannerToolStripMenuItem_Click(object sender, EventArgs e) { CompositionRoot.Resolve <FrmBannerModificar>().ShowDialog(); }
private void modificarFuenteToolStripMenuItem_Click(object sender, EventArgs e) { CompositionRoot.Resolve <FrmFuenteRSSTXTModificar>().ShowDialog(); }
private void borrarCampañaToolStripMenuItem_Click(object sender, EventArgs e) { CompositionRoot.Resolve <FrmCampaniaBorrar>().ShowDialog(); }
private void gestiónDeCampañaToolStripMenuItem_Click(object sender, EventArgs e) { CompositionRoot.Resolve <FrmCampaniaAgregar>().ShowDialog(); }
private void btnOperacion_Click(object sender, EventArgs e) { CompositionRoot.Resolve <FrmOperacion>().ShowDialog(); }
private void gestiónDeImagenesToolStripMenuItem_Click(object sender, EventArgs e) { CompositionRoot.Resolve <FrmImagenesGestion>().ShowDialog(); }