Ejemplo n.º 1
0
 public CVentanaProgramas(CViewsManager vm)
 {
     view                       = (vm.getFirstView("GestorProgramas.VentanaProgramas") != null)? vm.getFirstView("GestorProgramas.VentanaProgramas"): vm.AddView("GestorProgramas.VentanaProgramas");
     VentanaProgramas           = (System.Windows.Forms.Form)view.getCtrl("GestorProgramas.VentanaProgramas");
     VentanaProgramas_cstr      = view.getCtrlStruct("GestorProgramas.VentanaProgramas");
     PProcesses                 = (System.Windows.Forms.Panel)view.getCtrl("PProcesses");
     PProcesses_cstr            = view.getCtrlStruct("PProcesses");
     PTop                       = (System.Windows.Forms.Panel)view.getCtrl("PTop");
     PTop_cstr                  = view.getCtrlStruct("PTop");
     PListaProcesos             = (System.Windows.Forms.Panel)view.getCtrl("PListaProcesos");
     PListaProcesos_cstr        = view.getCtrlStruct("PListaProcesos");
     ListaProcesos              = (System.Windows.Forms.DataGridView)view.getCtrl("ListaProcesos");
     ListaProcesos_cstr         = view.getCtrlStruct("ListaProcesos");
     contextMenu_LProcesos      = (System.Windows.Forms.ContextMenuStrip)view.getCtrl("contextMenu_LProcesos");
     contextMenu_LProcesos_cstr = view.getCtrlStruct("contextMenu_LProcesos");
     PanelArbolProgramas        = (System.Windows.Forms.Panel)view.getCtrl("PanelArbolProgramas");
     PanelArbolProgramas_cstr   = view.getCtrlStruct("PanelArbolProgramas");
     ArbolProgramas             = (System.Windows.Forms.TreeView)view.getCtrl("ArbolProgramas");
     ArbolProgramas_cstr        = view.getCtrlStruct("ArbolProgramas");
     contextMenu_Programas      = (System.Windows.Forms.ContextMenuStrip)view.getCtrl("contextMenu_Programas");
     contextMenu_Programas_cstr = view.getCtrlStruct("contextMenu_Programas");
     MenuTop                    = (System.Windows.Forms.ToolStrip)view.getCtrl("MenuTop");
     MenuTop_cstr               = view.getCtrlStruct("MenuTop");
     OpenXML_Document           = new o_OpenXML_Document(view);
     Cargar_arbol_recursivo     = new o_Cargar_arbol_recursivo(view);
 }
Ejemplo n.º 2
0
 public CTablaB(CViewsManager vm)
 {
     view          = (vm.getFirstView("ARQODE_UI.TablaB") != null)? vm.getFirstView("ARQODE_UI.TablaB"): vm.AddView("ARQODE_UI.TablaB");
     TablaB        = (System.Windows.Forms.Form)view.getCtrl("ARQODE_UI.TablaB");
     TablaB_cstr   = view.getCtrlStruct("ARQODE_UI.TablaB");
     panel1        = (System.Windows.Forms.Panel)view.getCtrl("panel1");
     panel1_cstr   = view.getCtrlStruct("panel1");
     Buscar        = (System.Windows.Forms.Button)view.getCtrl("Buscar");
     Buscar_cstr   = view.getCtrlStruct("Buscar");
     Tabla         = (System.Windows.Forms.DataGridView)view.getCtrl("Tabla");
     Tabla_cstr    = view.getCtrlStruct("Tabla");
     TextBox1      = (System.Windows.Forms.TextBox)view.getCtrl("TextBox1");
     TextBox1_cstr = view.getCtrlStruct("TextBox1");
 }
Ejemplo n.º 3
0
 public CVisorTexto(CViewsManager vm)
 {
     view                  = (vm.getFirstView("ARQODE_UI.VisorTexto") != null)? vm.getFirstView("ARQODE_UI.VisorTexto"): vm.AddView("ARQODE_UI.VisorTexto");
     VisorTexto            = (System.Windows.Forms.Form)view.getCtrl("ARQODE_UI.VisorTexto");
     VisorTexto_cstr       = view.getCtrlStruct("ARQODE_UI.VisorTexto");
     PContent              = (System.Windows.Forms.Panel)view.getCtrl("PContent");
     PContent_cstr         = view.getCtrlStruct("PContent");
     RB_Texto              = (System.Windows.Forms.RichTextBox)view.getCtrl("RB_Texto");
     RB_Texto_cstr         = view.getCtrlStruct("RB_Texto");
     PTop                  = (System.Windows.Forms.Panel)view.getCtrl("PTop");
     PTop_cstr             = view.getCtrlStruct("PTop");
     LRes                  = (System.Windows.Forms.Label)view.getCtrl("LRes");
     LRes_cstr             = view.getCtrlStruct("LRes");
     BBuscar               = (System.Windows.Forms.Button)view.getCtrl("BBuscar");
     BBuscar_cstr          = view.getCtrlStruct("BBuscar");
     CH_Palabra            = (System.Windows.Forms.CheckBox)view.getCtrl("CH_Palabra");
     CH_Palabra_cstr       = view.getCtrlStruct("CH_Palabra");
     CH_CaseSensitive      = (System.Windows.Forms.CheckBox)view.getCtrl("CH_CaseSensitive");
     CH_CaseSensitive_cstr = view.getCtrlStruct("CH_CaseSensitive");
     TB_Busqueda           = (System.Windows.Forms.TextBox)view.getCtrl("TB_Busqueda");
     TB_Busqueda_cstr      = view.getCtrlStruct("TB_Busqueda");
 }
Ejemplo n.º 4
0
 public CInputDialog(CViewsManager vm)
 {
     view             = (vm.getFirstView("VentanasUsoGeneral.InputDialog") != null)? vm.getFirstView("VentanasUsoGeneral.InputDialog"): vm.AddView("VentanasUsoGeneral.InputDialog");
     InputDialog      = (System.Windows.Forms.Form)view.getCtrl("VentanasUsoGeneral.InputDialog");
     InputDialog_cstr = view.getCtrlStruct("VentanasUsoGeneral.InputDialog");
     PContenido       = (System.Windows.Forms.Panel)view.getCtrl("PContenido");
     PContenido_cstr  = view.getCtrlStruct("PContenido");
     PTextBox         = (System.Windows.Forms.Panel)view.getCtrl("PTextBox");
     PTextBox_cstr    = view.getCtrlStruct("PTextBox");
     textBox1         = (System.Windows.Forms.TextBox)view.getCtrl("textBox1");
     textBox1_cstr    = view.getCtrlStruct("textBox1");
     PLabel           = (System.Windows.Forms.Panel)view.getCtrl("PLabel");
     PLabel_cstr      = view.getCtrlStruct("PLabel");
     Label1           = (System.Windows.Forms.Label)view.getCtrl("Label1");
     Label1_cstr      = view.getCtrlStruct("Label1");
     panel1           = (System.Windows.Forms.Panel)view.getCtrl("panel1");
     panel1_cstr      = view.getCtrlStruct("panel1");
     BCancelar        = (System.Windows.Forms.Button)view.getCtrl("BCancelar");
     BCancelar_cstr   = view.getCtrlStruct("BCancelar");
     BAceptar         = (System.Windows.Forms.Button)view.getCtrl("BAceptar");
     BAceptar_cstr    = view.getCtrlStruct("BAceptar");
 }
Ejemplo n.º 5
0
 public CVentanaEdicion(CViewsManager vm)
 {
     view                = (vm.getFirstView("VentanasUsoGeneral.VentanaEdicion") != null)? vm.getFirstView("VentanasUsoGeneral.VentanaEdicion"): vm.AddView("VentanasUsoGeneral.VentanaEdicion");
     VentanaEdicion      = (System.Windows.Forms.Form)view.getCtrl("VentanasUsoGeneral.VentanaEdicion");
     VentanaEdicion_cstr = view.getCtrlStruct("VentanasUsoGeneral.VentanaEdicion");
     PContent            = (System.Windows.Forms.Panel)view.getCtrl("PContent");
     PContent_cstr       = view.getCtrlStruct("PContent");
     PTop                = (System.Windows.Forms.Panel)view.getCtrl("PTop");
     PTop_cstr           = view.getCtrlStruct("PTop");
     BNuevaFila          = (System.Windows.Forms.Button)view.getCtrl("BNuevaFila");
     BNuevaFila_cstr     = view.getCtrlStruct("BNuevaFila");
     BGuardar            = (System.Windows.Forms.Button)view.getCtrl("BGuardar");
     BGuardar_cstr       = view.getCtrlStruct("BGuardar");
     PContenido          = (System.Windows.Forms.Panel)view.getCtrl("PContenido");
     PContenido_cstr     = view.getCtrlStruct("PContenido");
     Grid1               = (System.Windows.Forms.DataGridView)view.getCtrl("Grid1");
     Grid1_cstr          = view.getCtrlStruct("Grid1");
 }
Ejemplo n.º 6
0
        CView.CtrlStruct fireCtrl_str; // Controls struct who fire the event
        #endregion

        #region initialize

        /// <summary>
        /// Load all information from UI to work with
        /// </summary>
        /// <param name="viewManager"></param>
        /// <param name="eventDesc"></param>
        public CLogic(CSystem csystem, CViewsManager views_manager, CEventDesc eventDesc)
        {
            sys        = csystem;
            vm         = views_manager;
            Globals    = sys.Globals;
            errors     = sys.ProgramErrors;
            debug      = sys.ProgramDebug;
            event_desc = eventDesc;
            if (event_desc != null)
            {
                view = (event_desc.View_Guid != "") ? vm.getFirstView_byGuid(event_desc.View_Guid) : null;
                if (view != null)
                {
                    mainCtrl     = view.mainControl();
                    fireCtrl_str = view.getCtrlStruct(eventDesc.Control_Name);
                }
                fireCtrl = (Control)event_desc.fireCtrl;
                args     = event_desc.args;
            }
            MainView = ((view != null) && (Globals.get_str(dGLOBALS.MAIN_VIEW) == view.Name)) ? view : vm.getFirstView(Globals.get_str(dGLOBALS.MAIN_VIEW));
        }
Ejemplo n.º 7
0
        /// #NAME#: #DESCRIPTION#
        public void f_b13e1604_2b91_425d_9af7_336d95429aeb()
        {
            //INI CODE PRCGUID: b13e1604-2b91-425d-9af7-336d95429aeb

            ARQODE_UI.GestorProgramas.CVentanaProgramas     CVentanaProgramas     = new ARQODE_UI.GestorProgramas.CVentanaProgramas(vm);
            ARQODE_UI.GestorControles.CFormControlesEventos CFormControlesEventos = new ARQODE_UI.GestorControles.CFormControlesEventos(vm);
            if ((CFormControlesEventos.TV_Controles.SelectedNode != null) && (CFormControlesEventos.TV_Controles.SelectedNode.Nodes.Count == 0))
            {
                // Cargar ventana
                String str_parent_view = CFormControlesEventos.TV_Controles.SelectedNode.Parent.FullPath.Replace("\\", ".").Replace(".json", "");
                CView  CParentView     = new CView(App_globals, str_parent_view);

                // Cargar control struct del control seleccionado en el árbol
                CView.CtrlStruct ctrl_str =
                    (str_parent_view.EndsWith("." + CFormControlesEventos.TV_Controles.SelectedNode.Text)) ?
                    CParentView.getCtrlStruct(str_parent_view) :
                    CParentView.getCtrlStruct(CFormControlesEventos.TV_Controles.SelectedNode.Text);

                #region Add setted events
                CFormControlesEventos.DG_EventosControl.Rows.Clear();
                if (CFormControlesEventos.DG_EventosControl.Columns.Count == 0)
                {
                    CFormControlesEventos.DG_EventosControl.Columns.Add("Event_name", "Evento");
                    CFormControlesEventos.DG_EventosControl.Columns.Add("Value", "Valor");
                }
                if (ctrl_str.events != null)
                {
                    foreach (JProperty jp in ctrl_str.events)
                    {
                        CFormControlesEventos.DG_EventosControl.Rows.Add(new object[] { jp.Name, jp.Value.ToString() });
                    }
                }
                #endregion

                #region Add controls events

                if ((ctrl_str.ctrl is ContextMenuStrip) || (ctrl_str.ctrl is MenuStrip))
                {
                    CFormControlesEventos.ListaEventos.Clear();
                    CFormControlesEventos.ListaEventos.View = View.List;

                    ToolStripItemCollection menu_items = (ctrl_str.ctrl is MenuStrip) ?
                                                         ((MenuStrip)ctrl_str.ctrl).Items :
                                                         ((ContextMenuStrip)ctrl_str.ctrl).Items;

                    Stack <KeyValuePair <int, ToolStripItemCollection> > menu_stack = new Stack <KeyValuePair <int, ToolStripItemCollection> >();
                    menu_stack.Push(new KeyValuePair <int, ToolStripItemCollection>(0, menu_items));
                    while (menu_stack.Count > 0)
                    {
                        KeyValuePair <int, ToolStripItemCollection> kp_item = (KeyValuePair <int, ToolStripItemCollection>)menu_stack.Pop();
                        int pos = kp_item.Key;
                        menu_items = kp_item.Value;

                        for (int i = pos; i < menu_items.Count; i++)
                        {
                            if ((menu_items[i] is ToolStripMenuItem) && (((ToolStripMenuItem)menu_items[i]).DropDownItems.Count > 0))
                            {
                                ToolStripItemCollection menu_depp_level = ((ToolStripMenuItem)menu_items[i]).DropDownItems;
                                menu_stack.Push(new KeyValuePair <int, ToolStripItemCollection>(i + 1, menu_items));
                                menu_stack.Push(new KeyValuePair <int, ToolStripItemCollection>(0, menu_depp_level));
                                break;
                            }
                            else if (menu_items[i] is ToolStripItem)
                            {
                                ListViewItem lvi = new ListViewItem();
                                lvi.Text = menu_items[i].Text;
                                lvi.Tag  = menu_items[i].Name;
                                CFormControlesEventos.ListaEventos.Items.Add(lvi);
                            }
                        }
                    }

                    Outputs("Lista de eventos", null);
                }
                else
                {
                    Type tc = ctrl_str.ctrl.GetType();
                    CFormControlesEventos.ListaEventos.Clear();
                    CFormControlesEventos.ListaEventos.View = View.List;
                    foreach (EventInfo ei in tc.GetEvents())
                    {
                        ListViewItem lvi = new ListViewItem();
                        lvi.Text = ei.Name;
                        lvi.Tag  = ei.Name;
                        CFormControlesEventos.ListaEventos.Items.Add(lvi);
                    }

                    Outputs("Lista de eventos", tc.GetEvents());
                }
                #endregion
            }

            //END CODE PRCGUID: b13e1604-2b91-425d-9af7-336d95429aeb
        }
Ejemplo n.º 8
0
 public CMainView(CViewsManager vm)
 {
     view          = (vm.getFirstView("Main.MainView") != null)? vm.getFirstView("Main.MainView"): vm.AddView("Main.MainView");
     MainView      = (System.Windows.Forms.Form)view.getCtrl("Main.MainView");
     MainView_cstr = view.getCtrlStruct("Main.MainView");
 }
Ejemplo n.º 9
0
 public CVentanaProcesos(CViewsManager vm)
 {
     view                      = (vm.getFirstView("GestorProcesos.VentanaProcesos") != null)? vm.getFirstView("GestorProcesos.VentanaProcesos"): vm.AddView("GestorProcesos.VentanaProcesos");
     VentanaProcesos           = (System.Windows.Forms.UserControl)view.getCtrl("GestorProcesos.VentanaProcesos");
     VentanaProcesos_cstr      = view.getCtrlStruct("GestorProcesos.VentanaProcesos");
     tabProcesos               = (System.Windows.Forms.TabControl)view.getCtrl("tabProcesos");
     tabProcesos_cstr          = view.getCtrlStruct("tabProcesos");
     Pcontent                  = (System.Windows.Forms.TabPage)view.getCtrl("Pcontent");
     Pcontent_cstr             = view.getCtrlStruct("Pcontent");
     PProcessPanel             = (System.Windows.Forms.TabPage)view.getCtrl("PProcessPanel");
     PProcessPanel_cstr        = view.getCtrlStruct("PProcessPanel");
     PLeft                     = (System.Windows.Forms.Panel)view.getCtrl("PLeft");
     PLeft_cstr                = view.getCtrlStruct("PLeft");
     PProcessList              = (System.Windows.Forms.Panel)view.getCtrl("PProcessList");
     PProcessList_cstr         = view.getCtrlStruct("PProcessList");
     LProcess                  = (System.Windows.Forms.ListBox)view.getCtrl("LProcess");
     LProcess_cstr             = view.getCtrlStruct("LProcess");
     contextMenu_Proceso       = (System.Windows.Forms.ContextMenuStrip)view.getCtrl("contextMenu_Proceso");
     contextMenu_Proceso_cstr  = view.getCtrlStruct("contextMenu_Proceso");
     PProcessDir               = (System.Windows.Forms.Panel)view.getCtrl("PProcessDir");
     PProcessDir_cstr          = view.getCtrlStruct("PProcessDir");
     TV_Processes              = (System.Windows.Forms.TreeView)view.getCtrl("TV_Processes");
     TV_Processes_cstr         = view.getCtrlStruct("TV_Processes");
     contextMenu_Procesos      = (System.Windows.Forms.ContextMenuStrip)view.getCtrl("contextMenu_Procesos");
     contextMenu_Procesos_cstr = view.getCtrlStruct("contextMenu_Procesos");
 }
Ejemplo n.º 10
0
 public CFormProceso(CViewsManager vm)
 {
     view                         = (vm.getFirstView("GestorProcesos.FormProceso") != null)? vm.getFirstView("GestorProcesos.FormProceso"): vm.AddView("GestorProcesos.FormProceso");
     FormProceso                  = (System.Windows.Forms.UserControl)view.getCtrl("GestorProcesos.FormProceso");
     FormProceso_cstr             = view.getCtrlStruct("GestorProcesos.FormProceso");
     PInfo                        = (System.Windows.Forms.Panel)view.getCtrl("PInfo");
     PInfo_cstr                   = view.getCtrlStruct("PInfo");
     BGuardar                     = (System.Windows.Forms.Button)view.getCtrl("BGuardar");
     BGuardar_cstr                = view.getCtrlStruct("BGuardar");
     label8                       = (System.Windows.Forms.Label)view.getCtrl("label8");
     label8_cstr                  = view.getCtrlStruct("label8");
     TBDefault_Configuration      = (System.Windows.Forms.TextBox)view.getCtrl("TBDefault_Configuration");
     TBDefault_Configuration_cstr = view.getCtrlStruct("TBDefault_Configuration");
     TBConfiguration              = (System.Windows.Forms.TextBox)view.getCtrl("TBConfiguration");
     TBConfiguration_cstr         = view.getCtrlStruct("TBConfiguration");
     label7                       = (System.Windows.Forms.Label)view.getCtrl("label7");
     label7_cstr                  = view.getCtrlStruct("label7");
     TBOutputs                    = (System.Windows.Forms.TextBox)view.getCtrl("TBOutputs");
     TBOutputs_cstr               = view.getCtrlStruct("TBOutputs");
     TBInputs                     = (System.Windows.Forms.TextBox)view.getCtrl("TBInputs");
     TBInputs_cstr                = view.getCtrlStruct("TBInputs");
     label6                       = (System.Windows.Forms.Label)view.getCtrl("label6");
     label6_cstr                  = view.getCtrlStruct("label6");
     label5                       = (System.Windows.Forms.Label)view.getCtrl("label5");
     label5_cstr                  = view.getCtrlStruct("label5");
     LGUID                        = (System.Windows.Forms.Label)view.getCtrl("LGUID");
     LGUID_cstr                   = view.getCtrlStruct("LGUID");
     TBDescription                = (System.Windows.Forms.TextBox)view.getCtrl("TBDescription");
     TBDescription_cstr           = view.getCtrlStruct("TBDescription");
     TBName                       = (System.Windows.Forms.TextBox)view.getCtrl("TBName");
     TBName_cstr                  = view.getCtrlStruct("TBName");
     TBVersion                    = (System.Windows.Forms.TextBox)view.getCtrl("TBVersion");
     TBVersion_cstr               = view.getCtrlStruct("TBVersion");
     label4                       = (System.Windows.Forms.Label)view.getCtrl("label4");
     label4_cstr                  = view.getCtrlStruct("label4");
     label3                       = (System.Windows.Forms.Label)view.getCtrl("label3");
     label3_cstr                  = view.getCtrlStruct("label3");
     label2                       = (System.Windows.Forms.Label)view.getCtrl("label2");
     label2_cstr                  = view.getCtrlStruct("label2");
     label1                       = (System.Windows.Forms.Label)view.getCtrl("label1");
     label1_cstr                  = view.getCtrlStruct("label1");
 }
Ejemplo n.º 11
0
 public CFormControlesEventos(CViewsManager vm)
 {
     view = (vm.getFirstView("GestorControles.FormControlesEventos") != null)? vm.getFirstView("GestorControles.FormControlesEventos"): vm.AddView("GestorControles.FormControlesEventos");
     FormControlesEventos      = (System.Windows.Forms.Form)view.getCtrl("GestorControles.FormControlesEventos");
     FormControlesEventos_cstr = view.getCtrlStruct("GestorControles.FormControlesEventos");
     PRight                 = (System.Windows.Forms.Panel)view.getCtrl("PRight");
     PRight_cstr            = view.getCtrlStruct("PRight");
     PEventBottom           = (System.Windows.Forms.Panel)view.getCtrl("PEventBottom");
     PEventBottom_cstr      = view.getCtrlStruct("PEventBottom");
     PEventsGrid            = (System.Windows.Forms.Panel)view.getCtrl("PEventsGrid");
     PEventsGrid_cstr       = view.getCtrlStruct("PEventsGrid");
     DG_EventosControl      = (System.Windows.Forms.DataGridView)view.getCtrl("DG_EventosControl");
     DG_EventosControl_cstr = view.getCtrlStruct("DG_EventosControl");
     panel1                 = (System.Windows.Forms.Panel)view.getCtrl("panel1");
     panel1_cstr            = view.getCtrlStruct("panel1");
     BGuardar               = (System.Windows.Forms.Button)view.getCtrl("BGuardar");
     BGuardar_cstr          = view.getCtrlStruct("BGuardar");
     PTopEvent_Consult      = (System.Windows.Forms.Panel)view.getCtrl("PTopEvent_Consult");
     PTopEvent_Consult_cstr = view.getCtrlStruct("PTopEvent_Consult");
     toolStrip1             = (System.Windows.Forms.ToolStrip)view.getCtrl("toolStrip1");
     toolStrip1_cstr        = view.getCtrlStruct("toolStrip1");
     ListaEventos           = (System.Windows.Forms.ListView)view.getCtrl("ListaEventos");
     ListaEventos_cstr      = view.getCtrlStruct("ListaEventos");
     PLeft             = (System.Windows.Forms.Panel)view.getCtrl("PLeft");
     PLeft_cstr        = view.getCtrlStruct("PLeft");
     TV_Controles      = (System.Windows.Forms.TreeView)view.getCtrl("TV_Controles");
     TV_Controles_cstr = view.getCtrlStruct("TV_Controles");
 }
Ejemplo n.º 12
0
 public CFormProcesoActivo(CViewsManager vm)
 {
     view = (vm.getFirstView("GestorProcesos.FormProcesoActivo") != null)? vm.getFirstView("GestorProcesos.FormProcesoActivo"): vm.AddView("GestorProcesos.FormProcesoActivo");
     FormProcesoActivo       = (System.Windows.Forms.UserControl)view.getCtrl("GestorProcesos.FormProcesoActivo");
     FormProcesoActivo_cstr  = view.getCtrlStruct("GestorProcesos.FormProcesoActivo");
     PFormProcesoActivo      = (System.Windows.Forms.Panel)view.getCtrl("PFormProcesoActivo");
     PFormProcesoActivo_cstr = view.getCtrlStruct("PFormProcesoActivo");
     TBDescription           = (System.Windows.Forms.TextBox)view.getCtrl("TBDescription");
     TBDescription_cstr      = view.getCtrlStruct("TBDescription");
     LConfig                      = (System.Windows.Forms.DataGridView)view.getCtrl("LConfig");
     LConfig_cstr                 = view.getCtrlStruct("LConfig");
     LOutputs                     = (System.Windows.Forms.DataGridView)view.getCtrl("LOutputs");
     LOutputs_cstr                = view.getCtrlStruct("LOutputs");
     LInputs                      = (System.Windows.Forms.DataGridView)view.getCtrl("LInputs");
     LInputs_cstr                 = view.getCtrlStruct("LInputs");
     BSave                        = (System.Windows.Forms.Button)view.getCtrl("BSave");
     BSave_cstr                   = view.getCtrlStruct("BSave");
     label10                      = (System.Windows.Forms.Label)view.getCtrl("label10");
     label10_cstr                 = view.getCtrlStruct("label10");
     label9                       = (System.Windows.Forms.Label)view.getCtrl("label9");
     label9_cstr                  = view.getCtrlStruct("label9");
     label8                       = (System.Windows.Forms.Label)view.getCtrl("label8");
     label8_cstr                  = view.getCtrlStruct("label8");
     LName                        = (System.Windows.Forms.Label)view.getCtrl("LName");
     LName_cstr                   = view.getCtrlStruct("LName");
     label7                       = (System.Windows.Forms.Label)view.getCtrl("label7");
     label7_cstr                  = view.getCtrlStruct("label7");
     label4                       = (System.Windows.Forms.Label)view.getCtrl("label4");
     label4_cstr                  = view.getCtrlStruct("label4");
     PTop                         = (System.Windows.Forms.Panel)view.getCtrl("PTop");
     PTop_cstr                    = view.getCtrlStruct("PTop");
     PViews                       = (System.Windows.Forms.Panel)view.getCtrl("PViews");
     PViews_cstr                  = view.getCtrlStruct("PViews");
     PContentViewsVars            = (System.Windows.Forms.Panel)view.getCtrl("PContentViewsVars");
     PContentViewsVars_cstr       = view.getCtrlStruct("PContentViewsVars");
     TV_ViewsVars                 = (System.Windows.Forms.TreeView)view.getCtrl("TV_ViewsVars");
     TV_ViewsVars_cstr            = view.getCtrlStruct("TV_ViewsVars");
     contextMenu_ViewVars         = (System.Windows.Forms.ContextMenuStrip)view.getCtrl("contextMenu_ViewVars");
     contextMenu_ViewVars_cstr    = view.getCtrlStruct("contextMenu_ViewVars");
     PTopViews                    = (System.Windows.Forms.Panel)view.getCtrl("PTopViews");
     PTopViews_cstr               = view.getCtrlStruct("PTopViews");
     label1                       = (System.Windows.Forms.Label)view.getCtrl("label1");
     label1_cstr                  = view.getCtrlStruct("label1");
     PGlobals                     = (System.Windows.Forms.Panel)view.getCtrl("PGlobals");
     PGlobals_cstr                = view.getCtrlStruct("PGlobals");
     PContentGlobalVars           = (System.Windows.Forms.Panel)view.getCtrl("PContentGlobalVars");
     PContentGlobalVars_cstr      = view.getCtrlStruct("PContentGlobalVars");
     LB_ProgramVars               = (System.Windows.Forms.ListBox)view.getCtrl("LB_ProgramVars");
     LB_ProgramVars_cstr          = view.getCtrlStruct("LB_ProgramVars");
     contextMenu_ProgramVars      = (System.Windows.Forms.ContextMenuStrip)view.getCtrl("contextMenu_ProgramVars");
     contextMenu_ProgramVars_cstr = view.getCtrlStruct("contextMenu_ProgramVars");
     PTopGlobals                  = (System.Windows.Forms.Panel)view.getCtrl("PTopGlobals");
     PTopGlobals_cstr             = view.getCtrlStruct("PTopGlobals");
     label2                       = (System.Windows.Forms.Label)view.getCtrl("label2");
     label2_cstr                  = view.getCtrlStruct("label2");
     PPrograms                    = (System.Windows.Forms.Panel)view.getCtrl("PPrograms");
     PPrograms_cstr               = view.getCtrlStruct("PPrograms");
     PContentProgVars             = (System.Windows.Forms.Panel)view.getCtrl("PContentProgVars");
     PContentProgVars_cstr        = view.getCtrlStruct("PContentProgVars");
     TV_GlobalsVars               = (System.Windows.Forms.TreeView)view.getCtrl("TV_GlobalsVars");
     TV_GlobalsVars_cstr          = view.getCtrlStruct("TV_GlobalsVars");
     contextMenu_GlobalVars       = (System.Windows.Forms.ContextMenuStrip)view.getCtrl("contextMenu_GlobalVars");
     contextMenu_GlobalVars_cstr  = view.getCtrlStruct("contextMenu_GlobalVars");
     PTopProgVars                 = (System.Windows.Forms.Panel)view.getCtrl("PTopProgVars");
     PTopProgVars_cstr            = view.getCtrlStruct("PTopProgVars");
     label3                       = (System.Windows.Forms.Label)view.getCtrl("label3");
     label3_cstr                  = view.getCtrlStruct("label3");
 }
Ejemplo n.º 13
0
 public CFichaPrograma(CViewsManager vm)
 {
     view                    = (vm.getFirstView("GestorProgramas.VentanasAyuda.FichaPrograma") != null)? vm.getFirstView("GestorProgramas.VentanasAyuda.FichaPrograma"): vm.AddView("GestorProgramas.VentanasAyuda.FichaPrograma");
     FichaPrograma           = (System.Windows.Forms.Form)view.getCtrl("GestorProgramas.VentanasAyuda.FichaPrograma");
     FichaPrograma_cstr      = view.getCtrlStruct("GestorProgramas.VentanasAyuda.FichaPrograma");
     Content_panel           = (System.Windows.Forms.Panel)view.getCtrl("Content_panel");
     Content_panel_cstr      = view.getCtrlStruct("Content_panel");
     row_panel_head          = (System.Windows.Forms.Panel)view.getCtrl("row_panel_head");
     row_panel_head_cstr     = view.getCtrlStruct("row_panel_head");
     label_head              = (System.Windows.Forms.Label)view.getCtrl("label_head");
     label_head_cstr         = view.getCtrlStruct("label_head");
     row_panel_1             = (System.Windows.Forms.Panel)view.getCtrl("row_panel_1");
     row_panel_1_cstr        = view.getCtrlStruct("row_panel_1");
     l_nombre                = (System.Windows.Forms.Label)view.getCtrl("l_nombre");
     l_nombre_cstr           = view.getCtrlStruct("l_nombre");
     tb_nombre_programa      = (System.Windows.Forms.TextBox)view.getCtrl("tb_nombre_programa");
     tb_nombre_programa_cstr = view.getCtrlStruct("tb_nombre_programa");
     row_panel_2             = (System.Windows.Forms.Panel)view.getCtrl("row_panel_2");
     row_panel_2_cstr        = view.getCtrlStruct("row_panel_2");
     l_descripcion           = (System.Windows.Forms.Label)view.getCtrl("l_descripcion");
     l_descripcion_cstr      = view.getCtrlStruct("l_descripcion");
     tb_descripcion          = (System.Windows.Forms.TextBox)view.getCtrl("tb_descripcion");
     tb_descripcion_cstr     = view.getCtrlStruct("tb_descripcion");
     row_panel_3             = (System.Windows.Forms.Panel)view.getCtrl("row_panel_3");
     row_panel_3_cstr        = view.getCtrlStruct("row_panel_3");
     button_save             = (System.Windows.Forms.Button)view.getCtrl("button_save");
     button_save_cstr        = view.getCtrlStruct("button_save");
     button_cancel           = (System.Windows.Forms.Button)view.getCtrl("button_cancel");
     button_cancel_cstr      = view.getCtrlStruct("button_cancel");
 }