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]; } }
public frmInfo(DTOConfig _DTOConfig) : base(Gtk.WindowType.Toplevel) { this.Build(); dTOConfig = _DTOConfig; fillForm(); }
public CADConnection(DTOConfig _DTOConfig) { dTOConfig = _DTOConfig; }