public static HardcodeModel ToModel(this HardCode hardCode)
        {
            var model = new HardcodeModel()
            {
                Name  = hardCode.Name,
                Value = hardCode.Value
            };

            return(model);
        }
示例#2
0
        private void Login_Load(object sender, EventArgs e)
        {
            pb_Logo.Image = Image.FromFile(@"C:\Users\Bitter\Desktop\1erParcial.Villegas.Alvaro\Comercio\Resources\Imagenes\logo.png");

            this.Text = Establecimiento.NombreEstablecimiento;
            HardCode.HardCodeLogin();
            HardCode.HardCodeProductos();
            HardCode.HardCodeClientes();
            HardCode.HardCodeCompras();
        }