private void CmdUpdateExecute() { AddOrUpdateSkuEncode winUpdate = new AddOrUpdateSkuEncode(this.SelectedItem); winUpdate.Owner = Application.Current.MainWindow; winUpdate.HandleCompleted += AddOrUpdate_HandleCompleted; winUpdate.ShowDialog(); }
private void CmdAddExecute() { SKUEncodeDetail detail = new SKUEncodeDetail() { One = this.SelectedSKUCGY.Parent, Two = this.SelectedSKUCGY, ATT3 = this.SeletedATT3, ATT4 = this.SeletedATT4, ATT5 = this.SeletedATT5, ATT6 = this.SeletedATT6, ATT7 = this.SeletedATT7 }; AddOrUpdateSkuEncode winAdd = new AddOrUpdateSkuEncode(detail); winAdd.Owner = Application.Current.MainWindow; winAdd.HandleCompleted += AddOrUpdate_HandleCompleted; winAdd.Show(); }