Ejemplo n.º 1
0
        private void ShowDelWindow(object sender)
        {
            string s = sender.ToString();

            ControllerCenter.Model.ParityCheckBitModel obj = _parityCheckBitModelService.GetById(int.Parse(s));
            _parityCheckBitModelService.Delete(obj);
            BindDate();
        }
 public void Show()
 {
     _model       = _parityCheckBitModelService.GetById(_model.Id);
     this.Closed += ChildWindow_Closed;
     ChildWindowManager.Instance.ShowChildWindow(new Edit()
     {
         DataContext = this
     });
 }