AsistenteConfigProceso.cs
1 using System;
2 using System.Collections.Generic;
3 using System.ComponentModel;
4 using System.Data;
5 using System.Drawing;
6 using System.Linq;
7 using System.Text;
8 using System.Windows.Forms;
9 
10 namespace sage.addons.portalcli.Visual.UserControls
11 {
15  public partial class AsistenteConfigProceso : UserControl
16  {
20  public string _TituloDetalle
21  {
22  set
23  {
24  if (!String.IsNullOrEmpty(value) && value != _Titulo)
25  {
26  _Titulo = value;
27  lblTituloDetalle.Invoke((MethodInvoker)(() => lblTituloDetalle.Text = _Titulo));
28  }
29  }
30  }
31  private string _Titulo = "";
32 
36  public string _TextoDetalle
37  {
38  set
39  {
40  if (!String.IsNullOrEmpty(value) && value != _Texto)
41  {
42  _Texto = value;
43  _Texto = DateTime.Now.ToString("dd/MM/yyyy HH:mm:ss") + " " + _Texto + Environment.NewLine;
44 
45  if (!this.txtDetalle.Visible)
46  txtDetalle.Invoke((MethodInvoker)(() => txtDetalle.Visible = true));
47 
48  txtDetalle.Invoke((MethodInvoker)(() => txtDetalle.Text += _Texto));
49  txtDetalle.Invoke((MethodInvoker)(() => txtDetalle.SelectionStart = txtDetalle.Text.Length));
50  txtDetalle.Invoke((MethodInvoker)(() => txtDetalle.ScrollToCaret()));
51  }
52  }
53  }
54  private string _Texto = "";
55 
56 
61  {
62  InitializeComponent();
63  }
64 
65  }
66 }
Usercontrol para la última página del asistente donde de finaliza la configuración del despacho ...