Exemplo n.º 1
0
        public void SetSolid(ConfigSolid con)
        {
            TbCallSign.Text     = con.CallSign;
            TbZipCode.Text      = con.ZipCode;
            TbAddress.Text      = con.Address;
            TbPhone.Text        = con.PhoneNumber;
            TbName.Text         = con.Name;
            TbMail.Text         = con.MailAddress;
            TbLicenserName.Text = con.LicenserName;

            TbGestOp.Text  = con.GestOp;
            TbPlace.Text   = con.Place;
            TbSupply.Text  = con.Supply;
            TbUseType.Text = con.UsedLogType;
            TbComment.Text = con.Comment;
            TbOath.Text    = con.Oath;
        }
Exemplo n.º 2
0
        public ConfigSolid GetSolid()
        {
            var con = new ConfigSolid {
                CallSign     = TbCallSign.Text,
                ZipCode      = TbZipCode.Text,
                Address      = TbAddress.Text,
                PhoneNumber  = TbPhone.Text,
                Name         = TbName.Text,
                MailAddress  = TbMail.Text,
                LicenserName = TbLicenserName.Text,

                GestOp      = TbGestOp.Text,
                Place       = TbPlace.Text,
                Supply      = TbSupply.Text,
                UsedLogType = TbUseType.Text,
                Comment     = TbComment.Text,
                Oath        = TbOath.Text
            };

            return(con);
        }