Пример #1
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            pictureBox1.Image = FontAwesome.GetFontAwesomeImage(FontAwesomeType.FA_KEY, 200, Color.SkyBlue);

            vm.Model.IsPersistent = false;
            vm.LabelFor(label1, m => m.UserName);
            vm.EditorFor(tbUserName, m => m.UserName, c => c.Text);
            vm.LabelFor(label2, m => m.Password);
            vm.EditorFor(tbPassword, m => m.Password, c => c.Text);
        }