/// <summary> /// Evento para item de menu principal /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void NavBarItem1_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { ControlesNasti controles = ControlesNasti.getInstancia(); ControlGeneralNasti control = controles.crearControl(((DevExpress.XtraNavBar.NavBarItem)sender).Tag.ToString()); FormaBase.getInstancia().asignarControlNasti(control, ((DevExpress.XtraNavBar.NavBarItem)sender).ImageOptions.SmallImage); }
public ControlGeneralNasti() { InitializeComponent(); this.estadosComprobante = new EstadoGeneral(this); this.formaBase = (ISubjectData)FormaBase.getInstancia(); }