Exemplo n.º 1
0
  public MainWindow() : base(Gtk.WindowType.Toplevel)
  {
      int Idx;

      Build();
      dTOConfig             = new DTOConfig();
      InfoText.Buffer.Text  = "Versión :\t\t" + dTOConfig.Version;
      InfoText.Buffer.Text += "\nFecha de versión :\t\t" + dTOConfig.VersionDate;
      InfoText.Buffer.Text += "\nCadena de conexión:\t\t" + dTOConfig.ConnectionString;
      InfoText.Buffer.Text += "\nNombre dispositivo :\t\t" + dTOConfig.DeviceName;
      InfoText.Buffer.Text += "\nUsuario del dispositivo :\t\t" + dTOConfig.DeviceUser;
      InfoText.Buffer.Text += "\nNombre de host :\t\t" + dTOConfig.HostName;
      InfoText.Buffer.Text += "\nNombre de dominio :\t\t" + dTOConfig.DomainName;
      InfoText.Buffer.Text += "\nIP Num :\t\t" + dTOConfig.IpNum.ToString();
      for (Idx = 0; Idx < dTOConfig.IpNum; Idx++)
      {
          InfoText.Buffer.Text += "\nIP :\t\t" + dTOConfig.Ip[Idx];
      }
      InfoText.Buffer.Text += "\nMAC Num :\t\t" + dTOConfig.MacNum.ToString();
      for (Idx = 0; Idx < dTOConfig.MacNum; Idx++)
      {
          InfoText.Buffer.Text += "\nMAC :\t\t" + dTOConfig.Mac[Idx];
      }
  }
Exemplo n.º 2
0
 public frmInfo(DTOConfig _DTOConfig) : base(Gtk.WindowType.Toplevel)
 {
     this.Build();
     dTOConfig = _DTOConfig;
     fillForm();
 }
Exemplo n.º 3
0
 public CADConnection(DTOConfig _DTOConfig)
 {
     dTOConfig = _DTOConfig;
 }