private void ShowWindowForDetail(ApplyAssessCondition applyAssessCondition) { Operation.Value = "detail"; applyAssessConditionDetailPresenter.InitView(applyAssessCondition, false); UpdatePanelWork.Update(); mpeAssessCondition.Show(); }
private void ShowWindowForModify(ApplyAssessCondition applyAssessCondition) { Operation.Value = "update"; applyAssessConditionUpdatePresenter.InitView(applyAssessCondition, false); UpdatePanelWork.Update(); mpeAssessCondition.Show(); }
private void UpdateWindow() { if (string.IsNullOrEmpty(ApplyAssessConditionView1.Message) && string.IsNullOrEmpty(ApplyAssessConditionView1.ApplyDateMsg) && string.IsNullOrEmpty(ApplyAssessConditionView1.ScopeMsg)) { UpdatePanelWork.Update(); mpeAssessCondition.Hide(); } else { mpeAssessCondition.Show(); } }