/// #NAME#: #DESCRIPTION# public void f_20363399_d305_4e90_a478_dc16fb83fff6() { //INI CODE PRCGUID: 20363399-d305-4e90-a478-dc16fb83fff6 object Errores = Input("Errores reportados"); if (Errores != null) { ArrayList ar = (ArrayList)Errores; ARQODE_UI.ARQODE_UI.CVisorTexto CVisorTexto = new ARQODE_UI.ARQODE_UI.CVisorTexto(vm); CVisorTexto.VisorTexto.Text = "Chequeo de integridad de los procesos de programas"; if (ar.Count > 0) { String s = ""; foreach (String cad in ar) { s += cad + "\r\n"; } CVisorTexto.RB_Texto.Text = s; } else { CVisorTexto.RB_Texto.Text = "No se ha encontrado ningún error de integridad."; } CVisorTexto.VisorTexto.Show(); } //END CODE PRCGUID: 20363399-d305-4e90-a478-dc16fb83fff6 }
/// #NAME#: #DESCRIPTION# public void f_0fc207e4_213a_4321_a167_214072c7de6e() { //INI CODE PRCGUID: 0fc207e4-213a-4321-a167-214072c7de6e CSystem _system = null; if (App_globals.ActiveAppName == dGLOBALS.SYSTEM_APP) { _system = sys; } else if (Input("Aplicación activa") != null) { _system = ((ACORE)Input("Aplicación activa"))._system; } if (_system != null) { ARQODE_UI.GestorProgramas.CVentanaProgramas CVentanaProgramas = new ARQODE_UI.GestorProgramas.CVentanaProgramas(vm); ARQODE_UI.ARQODE_UI.CVisorTexto CVisorTexto = new ARQODE_UI.ARQODE_UI.CVisorTexto(vm); String trace_info = String.Format("Estado global: " + _system.ProgramTracer.GlobalStatus.ToString()) + "\r\n" + _system.ProgramTracer.Program_traces.ToString(); trace_info += (_system.ProgramErrors.hasErrors()) ? "\r\n\r\nErrores:\r\n\r\n" + _system.ProgramErrors.getErrors().ToString() : ""; CVisorTexto.RB_Texto.Text = trace_info; CVisorTexto.VisorTexto.Show(); } //END CODE PRCGUID: 0fc207e4-213a-4321-a167-214072c7de6e }
/// #NAME#: #DESCRIPTION# public void f_7536ce3d_08b4_4489_84ea_5a48752c7a83() { //INI CODE PRCGUID: 7536ce3d-08b4-4489-84ea-5a48752c7a83 ARQODE_UI.GestorProgramas.CVentanaProgramas CVentanaProgramas = new ARQODE_UI.GestorProgramas.CVentanaProgramas(vm); CSystem _system = null; if (App_globals.ActiveAppName == dGLOBALS.SYSTEM_APP) { _system = sys; } else if (Input("Aplicación activa") != null) { _system = ((ACORE)Input("Aplicación activa"))._system; } if (_system != null) { if (_system.errors.hasErrors()) { ARQODE_UI.ARQODE_UI.CVisorTexto CVisorTexto = new ARQODE_UI.ARQODE_UI.CVisorTexto(vm); CVisorTexto.RB_Texto.Text = _system.errors.getErrors().ToString(); CVisorTexto.VisorTexto.Show(); } else { MessageBox.Show("No hay errores en la UI"); } } //END CODE PRCGUID: 7536ce3d-08b4-4489-84ea-5a48752c7a83 }
/// #NAME#: #DESCRIPTION# public void f_4e818c04_a133_4820_805b_bf8c4ef66764() { //INI CODE PRCGUID: 4e818c04-a133-4820-805b-bf8c4ef66764 ARQODE_UI.ARQODE_UI.CVisorTexto CVisorTexto = new ARQODE_UI.ARQODE_UI.CVisorTexto(vm); String FindText = CVisorTexto.TB_Busqueda.Text; bool MatchCase = CVisorTexto.CH_CaseSensitive.Checked; bool WholeWord = CVisorTexto.CH_Palabra.Checked; CVisorTexto.RB_Texto.HideSelection = false; CVisorTexto.RB_Texto.AutoWordSelection = false; CVisorTexto.RB_Texto.SelectionProtected = true; int start_index = 0; int finded_pos = -1; do { if (MatchCase == true) { if (WholeWord == true) { finded_pos = CVisorTexto.RB_Texto.Find(FindText, start_index, RichTextBoxFinds.MatchCase | RichTextBoxFinds.WholeWord); } else { finded_pos = CVisorTexto.RB_Texto.Find(FindText, start_index, RichTextBoxFinds.MatchCase); } } else { if (WholeWord == true) { finded_pos = CVisorTexto.RB_Texto.Find(FindText, start_index, RichTextBoxFinds.WholeWord); } else { finded_pos = CVisorTexto.RB_Texto.Find(FindText, start_index, RichTextBoxFinds.None); } } CVisorTexto.RB_Texto.SelectionBackColor = System.Drawing.Color.Orange; start_index = finded_pos + CVisorTexto.RB_Texto.SelectionLength; } while (finded_pos > 0); // Aquí es donde esta condición no se cumple y me manda el mensaje if (CVisorTexto.RB_Texto.SelectionLength == 0) { MessageBox.Show("No se encuentra el texto: " + FindText); } //END CODE PRCGUID: 4e818c04-a133-4820-805b-bf8c4ef66764 }
/// #NAME#: #DESCRIPTION# public void f_722de0b2_e5e6_4f0e_b3b8_96b29a923049() { //INI CODE PRCGUID: 722de0b2-e5e6-4f0e-b3b8-96b29a923049 #region Variables // Inputs vars object I_Texto = Input("Texto", false); #endregion ARQODE_UI.ARQODE_UI.CVisorTexto CVisorTexto = new ARQODE_UI.ARQODE_UI.CVisorTexto(vm); CVisorTexto.RB_Texto.Text = (I_Texto != null) ? I_Texto.ToString() : ""; //(CVisorTexto.Texto != null) ? CVentanaTexto.Texto.ToString() : ""; //END CODE PRCGUID: 722de0b2-e5e6-4f0e-b3b8-96b29a923049 }
/// #NAME#: #DESCRIPTION# public void f_6c018c5b_070d_41ec_ade6_a3a0100b02c1() { //INI CODE PRCGUID: 6c018c5b-070d-41ec-ade6-a3a0100b02c1 CSystem _system = null; if (App_globals.ActiveAppName == dGLOBALS.SYSTEM_APP) { _system = sys; } else if (Input("Aplicación activa") != null) { _system = ((ACORE)Input("Aplicación activa"))._system; } if (_system != null) { ARQODE_UI.GestorProgramas.CVentanaProgramas CVentanaProgramas = new ARQODE_UI.GestorProgramas.CVentanaProgramas(vm); ARQODE_UI.ARQODE_UI.CVisorTexto CVisorTexto = new ARQODE_UI.ARQODE_UI.CVisorTexto(vm); CVisorTexto.RB_Texto.Text = _system.debug.getDebug().ToString(); CVisorTexto.VisorTexto.Show(); } //END CODE PRCGUID: 6c018c5b-070d-41ec-ade6-a3a0100b02c1 }