private void CmdUpdateExecute() { AddOrUpdateOne winUpdate = new AddOrUpdateOne(this.SelectedItem); winUpdate.Owner = Application.Current.MainWindow; winUpdate.HandleCompleted += AddOrUpdate_HandleCompleted; winUpdate.ShowDialog(); }
/// <summary> /// 添加一级目录 /// </summary> private void CmdAddExecute() { AddOrUpdateOne winOne = new AddOrUpdateOne(null); winOne.HandleCompleted += AddOrUpdate_HandleCompleted; winOne.Show(); }