public static int SaveItem(SignoItem item)
 {
     return DatabaseGeneric.Instance.SaveObject<SignoItem> (item);
 }
示例#2
0
        void ShowCardMessage(object sender, EventArgs e, SignoItem signo)
        {
            if (_blackMirror.IsVisible) {
                HideCardMessage (sender, e);
                return;
            }

            _message.Text = signo.message;
            _titleCardHeader.Text = signo.name.Split ("".ToCharArray ()) [0];
            _cardHeader.BackgroundColor = Color.FromHex ("#" + signo.color);
            _frameHeaderCard.Source =  new FileImageSource () { File = "card_title_"+signo.color+".png" };
            _blackMirror.IsVisible = true;
        }