private void btnAdd_Click(object sender, RoutedEventArgs e) { _judgementMatrixGroup = new JudgementMatrixsGroup(HealthEvaluationGlobals.MyAHPIndexHierarchys[0]); JudgementMatrixWnd addJudgementMatrixWnd = new JudgementMatrixWnd(_judgementMatrixGroup); addJudgementMatrixWnd.Show(); addJudgementMatrixWnd.Closed += AddAndRefresh_Closed; }
private void btnView_Click(object sender, RoutedEventArgs e) { var selectedIndex=this.lvJudgeMatrixDetailList.SelectedIndex; if(selectedIndex<0) { MessageBox.Show("未选择!"); return; } _judgementMatrixGroup = _allExpertJudgementMatrix.JudgementMatrixInfosList[selectedIndex]; JudgementMatrixWnd viewWnd = new JudgementMatrixWnd(_judgementMatrixGroup); viewWnd.Show(); viewWnd.Closed += SaveAndRefresh_Closed; }