示例#1
0
        private void ShowEditXinFaDialog(object parameter)
        {
            var xinFaInfo       = parameter as XinFa;
            var editXinFaWindow = new EditXinFaWindow(_mainWindowViewModel, xinFaInfo)
            {
                Owner = _editRoleWindow
            };

            editXinFaWindow.ShowDialog();
        }
 public void InitData(MainWindowViewModel mainWindowViewModel, XinFa xinFaInfo,
                      EditXinFaWindow editXinFaWindow)
 {
     _mainWindowViewModel = mainWindowViewModel;
     _xinFaInfo           = xinFaInfo;
     _editXinFaWindow     = editXinFaWindow;
     //初始化属性
     Aid      = xinFaInfo.Aid;
     Charguid = xinFaInfo.Charguid;
     Xinfaid  = xinFaInfo.Xinfaid;
     Xinfalvl = xinFaInfo.Xinfalvl;
 }