更新
This commit is contained in:
@@ -21,6 +21,7 @@ public partial class BricksFinishesViewModel : ObservableValidator
|
||||
{
|
||||
public BricksFinishesViewModel()
|
||||
{
|
||||
//ErrorsChanged += BricksFinishesViewModel_ErrorsChanged;
|
||||
finishesHandler = new ActionEventHandler();
|
||||
PavementLength = 600;
|
||||
PavementWidth = 600;
|
||||
@@ -29,6 +30,14 @@ public partial class BricksFinishesViewModel : ObservableValidator
|
||||
PavementThickness = 2;
|
||||
PanelName = "铺砖";
|
||||
}
|
||||
//~BricksFinishesViewModel()
|
||||
//{
|
||||
// ErrorsChanged -= BricksFinishesViewModel_ErrorsChanged;
|
||||
//}
|
||||
//private void BricksFinishesViewModel_ErrorsChanged(object sender, System.ComponentModel.DataErrorsChangedEventArgs e)
|
||||
//{
|
||||
// MessageBox.Show(GetErrors().FirstOrDefault().ErrorMessage, "错误", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
//}
|
||||
|
||||
private readonly ActionEventHandler finishesHandler;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user