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

            if (_noteIndex != -1)
            {
                BindingContext = NoteManager.Instance.MyNotes[_noteIndex];
            }
            else
            {
                BindingContext = new MyNote();
            }
        }
Пример #2
0
 public MyNote(MyNote copy)
 {
     this.NoteTitle = copy.NoteTitle;
     this.NoteText  = copy.NoteText;
     this.TimeStamp = copy.TimeStamp;
 }