예제 #1
0
 private void Editar()
 {
     this.Mode               = Mode.Edit;
     this._originalValue     = (PreguntaViewModel)this.MemberwiseClone();
     this.Container.Selected = this;
     this.Container.Editando = true; //Visibility.Visible;
 }
예제 #2
0
        private void Grabar()
        {
            if (Mode == Mode.Add)
            {
                Container.Items.Add(this);
            }
            else
            {
                _originalValue = (PreguntaViewModel)this.MemberwiseClone();
            }

            Container.Editando = false; //Visibility.Hidden;
        }