/// <summary> /// 编辑协调器 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void BtnUpdateCoor_OnClick(object sender, RoutedEventArgs e) { _coordinator = GetListboxSelected(); WindowCoorInfo windowCoorInfo = new WindowCoorInfo(_coordinator, false); if (windowCoorInfo.ShowDialog() == true) { SetListCoor(); } }
/// <summary> /// 新增协调器 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void BtnInsertCoor_OnClick(object sender, RoutedEventArgs e) { ES.Domain.Coordinator coor = new ES.Domain.Coordinator(); WindowCoorInfo windowCoorInfo = new WindowCoorInfo(coor, true); if (windowCoorInfo.ShowDialog() == true) { SetListCoor(); } }