【发布时间】:2017-12-13 08:54:18
【问题描述】:
此人正在从组合框中选择 smth,我必须保存此值并将其传输到另一个页面?
public string ToAnotherWin() {
k = comboboxPrices.SelectedItem.ToString();
return k;
}
【问题讨论】:
-
你能展示你写的代码吗?
-
嗯,这是什么类型的应用程序?网络/Windows?
-
wpf 应用程序
-
公共字符串 ToAnotherWin() { k = comboboxPrices.SelectedItem.ToString();返回 k;我想将此方法传递给另一个页面,但它失败了
-
公共字符串 ToAnotherWin() { k = comboboxPrices.SelectedItem.ToString();返回 k;我想将此方法传递给另一个页面,但它失败了@RobAnthony
标签: c# wpf combobox navigationservice getvalue