public partial class OperatorListUI : Window
{
public bool IsInsert { get; set; }
public Guid EditingId { get; set; }
}
public partial class OperatorEditUI : Window
{
private void Add_Click(object sender, RoutedEventArgs e)
{
OperatorEditUI operatoreditui = new OperatorEditUI();
operatoreditui.IsInsert = true;//问题出在这里了,operatoreditui点应该可以点出来IsInsert 吧? 为何我这里不行了呢?
if (operatoreditui.ShowDialog() == true)
{
LoadData();
}
}
|